Skip to content

Releases: noear/weed3

Weed 3.4.25

06 May 08:50
Compare
Choose a tag to compare
  • 优化 trim 指令:当为空时不添加前后缀
  • 执行异常时,仍可以触发 onExecuteAft
  • 修复 param 和 declare 失效的问题
  • 增加 MgTableQuery::selectCursor 接口

Weed 3.4.22

17 Apr 06:52
Compare
Choose a tag to compare
  • 修复 cmd.toSqlString() 在批处理时,会出错的问题
  • 修复 cmd.toSqlString(),当最后为 ? 时,会差一个值的问题
  • 增加 tb.updateBy() 接口
  • 增加 实体接收时,支持 数字型转 LocalDataTime
  • 增加对 kotlin data class 和 jdk14+ record 的支持
  • 增加 IPage page = db.table("user").selectPage("*", User.class); 接口
  • 修复 call("@xxx", args) 参数不生效的问题
  • 调整 数据模型,排除 transient 字段
  • 调整 缓存 当时间为0时,增加默认时间的处理
  • 升级 redisx 1.4.1

Weed 3.4.10

10 Dec 03:05
Compare
Choose a tag to compare
  • 增加批量jdbc执行的能力
  • 增加批量jdbc更新的能力
  • 去掉 StringBuilder 的缓存
  • 为 selectCount 自动加上 count(?)
  • 独立 DbContextMetaData,并调整相关接口
  • 将批量插入改为 jdbc 模式(之前为拼sql模式)
  • xmlsql 不再对 " 做转码
  • 增加 clickhouse 数据库支持
  • 增加 SqlTypeDesc 类型,做为类型描述
  • 增加 IPage 分页查询
  • 修复 cmd.toSqlString() 在批处理时,会出错的问题

v3.3.21

27 Aug 03:11
Compare
Choose a tag to compare
  • 增加 WeedConfig.isSelectItemEmptyAsNull 配置项
  • 修复 MapperBase update(item, bool, wq) 数据没进去的 bug
  • 条件器的 Iterable 改为 Iterable 类型
  • 增加新接口 db.mapperBase(clz,tableName);

v3.3.9

18 May 23:53
Compare
Choose a tag to compare

3.3.8

  • 增加统一的 Trans 事务管理器
  • 添加 db.table().where().limit().delete() //delete 的 limit 支持

3.2.39

  • 修改 xml sql [if test(xxx?! and yyy?!)](多个?!会出错的问题)

3.2.29

  • 添加 HBase sql(Phoenix)方言支持

3.2.27

  • 改造事务机制;原事务方法标为弃用(之前已将事务,改造为数据源无关)

3.2.24

  • 完成maven插件的,entity生成器

3.2.18

  • 取消模板引擎支持,专做xml sql

3.2.16

  • WeedConfig 增加命名策略配置支持
  • WeedConfig 增加字段类型转换器配置支持
    • 增加数字类型的自由转换;
    • 增加字符串转Date的自动转换;
  • Command::test2() 更名为 Command::toSqlString();

3.2.12

  • 优化 call("select * from a where id=@{a}") 性能
  • 将 limit 1,2 转译为 limit ?,?
  • DataItem 支持乎略大小写

3.2.10

  • 优化返射能力,可以填充继承字段
  • 修改事务的外抛异常为SQLException

3.2.8.6

  • Command 增加 text2() ,用于sql 格式化输出

3.2.8.5

  • 二级缓存添加缓冲时间支持

3.2.8.1

  • 添加 whereMapIf(), whereEntity(), whereEntityIf()
  • 统一 whereMap(),whereEntity(), setMap(), setEntity() 内部逻辑;将null排除
  • 原weed3.reader包,更名为;weed3.teamplate
  • 调整项目目录结构,将非核心框架移到 _extend

3.2.6.3

  • cmd.paramMap() 添加var name 输出(如果有)

3.2.6.1

  • 添加 db.call(process, args) 并支持模板SQL

3.2.6

  • 添加模板SQL功能;添加4个引擎支持

3.2.5.x

  • 取消table() lambda 表达式支持(多表不好控制)

3.2.4.2

  • 添加分页组件
  • 添加数据库兼容测试
  • 取消JSON和序列化处理(交给专业工具处理)

v3.2.3

23 Nov 14:46
83c437a
Compare
Choose a tag to compare
Update README.md

for java/.net4/mono

19 Sep 08:21
Compare
Choose a tag to compare

3.0.4.52::
1.DbTableQueryBase::修改.添加 count(...);

3.0.4.51::
1.WeedConfig::修改.添加 onExecuteAft
2.WeedConfig::修改.添加 onExecuteBef
3.SQLer::修改.添加 监听的支持(通过:onExecuteAft,onExecuteBef)
4.DbAccess::修改.添加 onCommandBuilt(...); //可再次为cmd做处理
5.DbTableQueryBase::修改.添加 count();
6.DbTableQueryBase::修改.添加 from();
7.DbTableQueryBase::修改.添加 log(...);
1.DbTableQueryBase::修改.添加 updateList(); //测试

3.0.4.50::
1.DataItem::修改.取消 intValue2(); //同上
2.DataItem::修改.取消 longValue2(); //同上
*.由 DataItem.getVariate(name) 解决问题

3.Variate::修改.添加 doubleValue(def); //同上

for java

28 Aug 06:54
Compare
Choose a tag to compare

3.0.4.49::
1.使用getColumnLabel替代getColumnName获取列名

for java/.net4/mono/.net standard2

26 Aug 12:00
Compare
Choose a tag to compare

3.0.4.48::
1.IQuery::修改.取消 getValue(def,cacheCondition)
2.IQuery::修改.添加 getVariate();
3.IQuery::修改.添加 getVariate(cacheCondition);
4.Variate::修改.添加 intValue(def); //支持自动将 int,long,BigDecimal 转为 int
5.Variate::修改.添加 longValue(def); //同上
6.DataItem::修改.添加 intValue2(); //同上
7.DataItem::修改.添加 longValue2(); //同上

3.0.4.47:: 1.DbTableQueryBase::修改.添加 insertList();

3.0.4.45::
1.DbTran::修改.添加 isSucceed();
2.DbTranQueue::修改.添加 isSucceed();

3.0.4.44::
1.+exists(expr)

3.0.4.42::
1.SQLBuilder::修改.添加 removeLast() (去除最后一个字符)
2.DbContext::修改.添加 allowMultiQueries //是否支持多语句查询