Skip to content

Releases: nixzhu/Ananda

Version 0.12.0

25 Dec 05:19
Compare
Choose a tag to compare

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

24 Dec 09:37
Compare
Choose a tag to compare

Overview

  • New decoding API for creating an AnandaModel using its own AnandaValueExtractor .

AnandaModel

❇️ Added

public static func decode(from json: AnandaJSON) -> Self

Version 0.10.1

30 Sep 02:10
Compare
Choose a tag to compare

Update for Swift 6.

Version 0.10.0

19 Aug 02:36
Compare
Choose a tag to compare

AnandaJSON withValueExtractor for parsing.

Version 0.9.5

12 Jul 13:36
Compare
Choose a tag to compare

Use yyjson 0.10.0

Version 0.9.4

22 Jun 02:04
Compare
Choose a tag to compare

Swift 5.8+

Version 0.9.3

21 Jun 02:14
Compare
Choose a tag to compare

Support Linux.

Version 0.9.2

20 Jun 01:40
Compare
Choose a tag to compare

Better AnandaValueExtractor.

Version 0.9.1

18 Jun 07:33
Compare
Choose a tag to compare

No platform specified.

Version 0.9.0

14 Jun 05:46
4e99086
Compare
Choose a tag to compare

Moved all macros to AnandaMacros.