Skip to content

Releases: intsig171/SmartCodable

V4.1.12 发布公告

27 Sep 08:53
Compare
Choose a tag to compare
  1. 【新功能】支持Combine,允许 @ Published修饰的属性解析。
  2. 【新功能】支持@igonreKey修饰的属性在encode时,不出现在json中(屏蔽这个属性key)
  3. 【新功能】支持encode时候的options,同decode的options使用。
  4. 【优化】Data类型在decode和encode时,只能使用base64解析.

4.1.7 - BugFix

27 Aug 09:30
Compare
Choose a tag to compare

"Fixed the crash issue when entering compatibility logic due to parsing failure, and added handling for cases where the data is NaN or exceeds the Int type range."
修复了解析失败时进入兼容逻辑导致的crash问题,针对数据为NaN或超出Int类型长度的情况进行了处理。

4.1.3 - SmartUpdater

29 Jul 06:56
Compare
Choose a tag to compare

Optimize implementation of SmartUpdater.

Optimize the precision of floating-point numbers

05 Jul 10:22
Compare
Choose a tag to compare

When the json data is not 4.99 and the attribute is String, it is internally compatible and returns "4.99" instead of "4.899999999 ".

new decoder, new encoder, new feature.

13 Jun 07:31
Compare
Choose a tag to compare

V4.0.0 Release Notes
New Feature: Support for watchOS usage
New Feature: Support for visionOS usage
New Feature: Support for tvOS usage
New Feature: Custom encoder support, allowing for custom encoding, i.e., mappingForValue.
New Feature: Support for custom strategies for any type of Value, including Int, Bool, etc.
Optimization: Optimized decoder, synchronized with the master branch of Codable.
Optimization: Improved enum parsing, no longer requiring defaultCase.
Optimization: Enhanced README with detailed Chinese instructions.
Bugfix: Fixed a memory issue in concurrent logging.

SmartAny使用优化

15 May 12:32
Compare
Choose a tag to compare

包含SmartAny的model转json失败的优化