Yams

A Sweet and Swifty YAML parser.

MIT License

Stars
1.1K
Committers
34

Bot releases are visible (Hide)

Yams - 5.1.2 Latest Release

Published by jpsim 6 months ago

Breaking
  • None.
Enhancements
  • None.
Bug Fixes
Yams - 5.1.1

Published by jpsim 6 months ago

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.
Yams - 5.1.0

Published by jpsim 7 months ago

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

Yams - 5.0.6

Published by jpsim over 1 year ago

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
Yams - 5.0.5

Published by jpsim over 1 year ago

Breaking
  • None.
Enhancements
  • None.
Bug Fixes
Yams - 5.0.4

Published by jpsim over 1 year ago

Breaking
  • None.
Enhancements
Bug Fixes
  • None.
Yams - 5.0.3

Published by jpsim almost 2 years ago

Breaking
  • None.
Enhancements
Bug Fixes
  • None.
Yams - 5.0.2

Published by jpsim almost 2 years ago

Breaking
  • None.
Enhancements
Bug Fixes
  • None.
Yams - 5.0.1

Published by jpsim over 2 years ago

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

Published by jpsim over 2 years ago

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.

Swift Package Manager

.package(url: "https://github.com/jpsim/Yams.git", from: "5.0.0")

Bazel

http_archive(
    name = "com_github_jpsim_yams",
    sha256 = "b31b6df500d6191368c93f605690ca9857fff7c6fd1c8897e9765fb624535c63",
    strip_prefix = "Yams-5.0.0",
    url = "https://github.com/jpsim/Yams/archive/refs/tags/5.0.0.tar.gz",
)
Yams - 4.0.6

Published by jpsim over 3 years ago

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

Published by jpsim over 3 years ago

Breaking
  • None.
Enhancements
Bug Fixes
  • None.
Yams - 4.0.4

Published by jpsim over 3 years ago

Breaking
  • None.
Enhancements
Bug Fixes
Yams - 4.0.3

Published by jpsim almost 4 years ago

Breaking
  • None.
Enhancements
Bug Fixes
  • None.
Yams - 4.0.2

Published by jpsim almost 4 years ago

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

Published by jpsim almost 4 years ago

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

Yams - 4.0.0

Published by jpsim about 4 years ago

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
Yams - 3.0.1

Published by jpsim over 4 years ago

Breaking
  • None.
Enhancements
  • None.
Bug Fixes
Yams - 3.0.0

Published by jpsim over 4 years ago

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

Yams - 2.0.0

Published by norio-nomura over 5 years ago

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.