Skip to content

Releases: jpsim/Yams

4.0.0

21 Aug 16:45
88caa2e
Compare
Choose a tag to compare
Breaking
  • Swift 5.1 or later is now required to build Yams.
    JP Simard
Enhancements
  • YAMLDecoder now conforms to the TopLevelDecoder protocol when
    Apple's Combine framework is available.
    JP Simard
    #261

  • Add YAMLDecoder.decode(...) overload tha takes a YAML string encoded
    as Data using UTF8 or UTF16.
    JP Simard

Bug Fixes

3.0.1

10 May 08:04
81a65c4
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
  • None.
Bug Fixes

3.0.0

18 Apr 04:05
53741ba
Compare
Choose a tag to compare
Breaking
  • Swift 4.1 or later is now required to build Yams.
    Norio Nomura
Enhancements
Bug Fixes
  • Fix Yams.dump when object contains a keyed null value.
    JP Simard
    #232

  • Fix a bug where YAMLEncoder would delay Dates by 1 second when encoding
    values with a nanosecond component greater than 999499997.
    Norio Nomura
    #192

  • Fix dangling pointer warning with Swift 5.2.
    JP Simard

2.0.0

06 Apr 23:48
c947a30
Compare
Choose a tag to compare
Breaking
  • Change byteOffset to offset in YamlError.reader.
    Norio Nomura
Enhancements
  • Add encoding option to Parser as Parser.Encoding type to specify
    which encoding to pass to libYAML. Along with that change, add encoding
    options to load(), load_all(), compose(), compose_all() and
    YAMLDecoder. The default encoding will be determined at run time based on
    the String type's native encoding.
    Norio Nomura
Bug Fixes
  • None.

1.0.2

01 Apr 17:53
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
  • Update LibYAML sources to latest versions as of January 6 2018.
    JP Simard
Bug Fixes
  • Fix some test failures with the latest Swift 5 snapshot on Apple platforms.
    Norio Nomura
    #143

  • Preserve nanoseconds in dates when using swift-corelibs-foundation with
    Swift 5.
    Norio Nomura
    #146

  • Fix null/~/NULL/Null were parsed as strings, not nil by YAMLDecoder.
    Norio Nomura
    #157

1.0.1

30 Aug 20:29
26ab35f
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
  • Improve support for compiling with Swift 4.2 or later.
    Norio Nomura
Bug Fixes
  • Fix issues with unset DYLIB_COMPATIBILITY_VERSION and
    DYLIB_CURRENT_VERSION. Now both values are set to 1.
    Norio Nomura
    #131

1.0.0

19 May 01:42
618582e
Compare
Choose a tag to compare
Breaking
  • Rename ScalarRepresentableCustomizedForCodable to YAMLEncodable.
    Norio Nomura
Enhancements
Bug Fixes
  • None.