Skip to content

Latest commit

 

History

History
559 lines (334 loc) · 10.7 KB

CHANGELOG.md

File metadata and controls

559 lines (334 loc) · 10.7 KB

Main

Breaking
  • Swift 5.7 or later is now required to build Yams.
    JP Simard
Enhancements
  • None.
Bug Fixes
  • None.

5.1.3

Breaking
  • None.
Enhancements
Bug Fixes

5.1.2

Breaking
  • None.
Enhancements
  • None.
Bug Fixes

5.1.1

Breaking
  • None.
Enhancements
  • Allow specifying a newLineScalarStyle for encoding string scalars with newlines when using YAMLEncoder.
    Tejas Sharma #405

  • Improve support for Bazel 7.x.
    JP Simard

Bug Fixes
  • None.

5.1.0

Breaking
  • None.
Enhancements
  • None.
Bug Fixes
  • Change how empty strings are decoded into nullable properties. key: "" previously decoded into struct Value: Codable { let key: String? } as Value(key: nil) whereas after this change it decodes as Value(key: ""). This could be a breaking change if you were relying on the previous semantics.
    Liam Nichols #301

  • Fix parsing of unquoted URLs into Strings.
    Honza Dvorsky #337

5.0.6

Breaking
  • None.
Enhancements
  • Allow decoding from an existing Node.
    Rob Napier
Bug Fixes
  • Empty dictionaries can be now represented, regardless of its key or element type information.
    JP Simard #393

5.0.5

Breaking
  • None.
Enhancements
  • None.
Bug Fixes

5.0.4

Breaking
  • None.
Enhancements
Bug Fixes
  • None.

5.0.3

Breaking
  • None.
Enhancements
Bug Fixes
  • None.

5.0.1

Breaking
  • None.
Enhancements
  • None.
Bug Fixes
  • Build CYaml as PIC (Position Independent Code) when building with CMake.
    Yuta Saito

5.0.0

Breaking
  • Swift 5.4 or later is now required to build Yams.
    JP Simard
Enhancements
  • Adding sequenceStyle and mappingStyle to Emitter.Options Terence Grant
Bug Fixes
  • None.

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