Skip to content

Releases: twinh/wei

v0.17.9

01 Nov 02:28
Compare
Choose a tag to compare

0.17.9 (2024-11-01)

Features

  • Record, deprecated: deprecate Record class, should use Model instead (9b55e4c)
  • Req: 增加 isPatchisPutisDelete 方法 (6aaefe0)

v0.17.8

01 Sep 13:07
Compare
Choose a tag to compare

0.17.8 (2024-09-01)

Bug Fixes

  • ClassMap: 根目录生成类名错误 (85a8dcb)

Features

  • Wei 增加 getAliases 方法 (69e66df)
  • Snowflake: 增加机器编号到序列的缓存键名中,减少冲突 (e6c4757)

v0.17.7

03 Aug 14:57
Compare
Choose a tag to compare

0.17.7 (2024-08-03)

v0.17.6

31 Jul 16:30
Compare
Choose a tag to compare

0.17.6 (2024-07-31)

v0.17.5

30 May 16:30
Compare
Choose a tag to compare

0.17.5 (2024-05-30)

Features

  • Str: 增加 goods 单数转为 goods (45a8b6b)

v0.17.4

31 Mar 09:10
Compare
Choose a tag to compare

0.17.4 (2024-03-31)

Bug Fixes

  • Model: Coll 获取服务时出错 (1e6f8f0), closes #2

Features

  • Req: getHeader 支持键名包含 -,如 Access-Control-Request-Method (6436091)
  • Time: 增加 setTimestamp 方法 (49c709f)

v0.17.3

20 Feb 13:17
Compare
Choose a tag to compare

0.17.3 (2024-02-20)

Features

  • Money: 增加 Money 服务,用于计算金额 (1391fcb)
  • 增加 sucerr 函数,方便外部使用 (475d121)

v0.17.2

08 Jan 16:11
Compare
Choose a tag to compare

0.17.2 (2024-01-08)

v0.17.1

31 Dec 04:16
Compare
Choose a tag to compare

0.17.1 (2023-12-31)

Bug Fixes

  • ClassMap: 类重复时,记录类名错误 (4e5c3a7)

Features

  • Db: delete 允许删除所有数据 (ba82c2d)
  • Model, experimental: 增加模型序列化 (d7a7246)

v0.17.0

30 Nov 14:36
Compare
Choose a tag to compare

0.17.0 (2023-11-30)

Bug Fixes

  • App: PHP 8.1 控制 namespace 和 controller 为字符串 (868942d)
  • Base: PHP 8.2 允许动态创建属性 (6c22ec7)
  • IsAnyDateTime: PHP 8.2 date_get_last_errors return false when no errors (5ac8cf0)
  • IsEqualTo: PHP 8.0 '' not equal to 0 (e698dea)
  • Logger: PHP 8.1 Deprecated: Implicit conversion from float to int loses precision (0cdfc16)
  • Memcache: PHP 8.0 Unknown named parameter $port (5d18ebf)
  • PHP 8.1 ctype_digit(): Argument of type will be interpreted as string in the future (88cbfb4)
  • PHP 8.1 Passing null to parameter of type string is deprecated (f1376e1)
  • PHP 8.1 Passing null to parameter of type string is deprecated (2b75121)
  • PHP 8.3 array_sum(): Addition is not supported on type string (67881e5)
  • QueryBuilder: PHP 8.1 table 设置为字符串,以避免 Passing null to parameter of type string is deprecated 错误 (0eb223f)
  • Record: createCollection should only accept Record object (6029f5f)
  • Redis: foreach() argument must be of type array|object, bool given when get empty keys (f2fbf50)
  • Req: PHP 8.1 Passing null to parameter of type string is deprecated (37b5f3e)
  • Ret: PHP 8.0 BadMethodCallException: Property or method "329$139" not found (87ff581)

Features

  • 更改 offsetXxx, count, getIterator 方法返回值以兼容 PHP 8.1 (c32c90e)

BREAKING CHANGES

  • 更改 offsetXxx, count, getIterator 方法返回值以兼容 PHP 8.1