Releases: nixzhu/Ananda
Releases · nixzhu/Ananda
Version 0.12.0
Overview
- New APIs for updating
AnandaValueExtractor
.
AnandaValueExtractor
❇️ Added
public func updatingBool(_ bool: @escaping @Sendable (AnandaJSON) -> Bool?) -> Self
public func updatingInt(_ int: @escaping @Sendable (AnandaJSON) -> Int?) -> Self
public func updatingDouble(_ double: @escaping @Sendable (AnandaJSON) -> Double?) -> Self
public func updatingString(_ string: @escaping @Sendable (AnandaJSON) -> String?) -> Self
public func updatingDate(_ date: @escaping @Sendable (AnandaJSON) -> Date?) -> Self
public func updatingURL(_ url: @escaping @Sendable (AnandaJSON) -> URL?) -> Self
Version 0.11.0
Overview
- New decoding API for creating an
AnandaModel
using its ownAnandaValueExtractor
.
AnandaModel
❇️ Added
public static func decode(from json: AnandaJSON) -> Self
Version 0.10.1
Update for Swift 6.
Version 0.10.0
AnandaJSON withValueExtractor
for parsing.
Version 0.9.5
Use yyjson 0.10.0
Version 0.9.4
Swift 5.8+
Version 0.9.3
Support Linux.
Version 0.9.2
Better AnandaValueExtractor.
Version 0.9.1
No platform specified.
Version 0.9.0
Moved all macros to AnandaMacros.