Yams/CHANGELOG.md

3.5 KiB

Master

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

  • 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

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