Skip to content

Latest commit

 

History

History
367 lines (223 loc) · 7.69 KB

CHANGELOG.md

File metadata and controls

367 lines (223 loc) · 7.69 KB

4.0.6

Breaking
  • None.
Enhancements
Bug Fixes
  • Fix build error when integrating Yams using CocoaPods.
    JP Simard

4.0.5

Breaking
  • None.
Enhancements
Bug Fixes
  • None.

4.0.4

Breaking
  • None.
Enhancements
Bug Fixes

4.0.3

Breaking
  • None.
Enhancements
Bug Fixes
  • None.

4.0.2

Breaking
  • None.
Enhancements
  • Add support for Apple Silicon in SwiftSupport.cmake.
    Max Desiatov
Bug Fixes
  • None.

4.0.1

Breaking
  • None.
Enhancements
  • None.
Bug Fixes
  • String scalars containing numbers are no longer decoded as numbers.
    Matt Polzin #263

  • Fix compilation errors when compiling using Swift For TensorFlow or Windows.
    Saleem Abdulrasool

4.0.0

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

Breaking
  • None.
Enhancements
  • None.
Bug Fixes

3.0.0

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

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