Yams/CHANGELOG.md

4.6 KiB

Master

Breaking
  • Swift 4.1 or later is now required to build Yams.
    Norio Nomura
Enhancements
  • Accurately represent Dates with nanosecond components in Swift 4.x.
    Norio Nomura

  • Change to apply single quoted style to YAML representation of String, if that contents will be resolved to other than .str by default Resolver.
    Norio Nomura #197

  • Support UUID scalars.
    Ondrej Rafaj

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

2.0.0

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

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

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

Breaking
  • Rename ScalarRepresentableCustomizedForCodable to YAMLEncodable.
    Norio Nomura
Enhancements
Bug Fixes
  • None.

0.7.0

Breaking
  • Drop support for building with -swift-version 3.
    Norio Nomura
Enhancements
  • None.
Bug Fixes

0.6.0

Breaking
  • Some APIs have changed related to ScalarConstructible.

    • Change parameter type of ScalarConstructible.construct(from:) from Node to Node.Scalar
    • Change Constructor:
      • Split Map into ScalarMap, MappingMap and SequenceMap
      • Split defaultMap into defaultScalarMap, defaultMappingMap and defaultSequenceMap
      • Change init(_:) to init(_:_:_:)

    Norio Nomura #105

Enhancements
Bug Fixes
  • subscript(string:) fails to lookup value if Node has non default Resolver.
    Norio Nomura #100

  • Removed asserts in Constructor that were stopping the YAMLDecoder from returning correct errors.
    David Hart #94

0.5.0

Breaking
Enhancements
  • None.
Bug Fixes
  • None.

0.4.1

0.4.0

0.3.7

0.3.6

0.3.5

0.3.4

0.3.3

0.3.2

0.3.1

0.3.0

0.2.0

0.1.5

0.1.4

0.1.3

0.1.2

0.1.1

0.1.0