- None.
-
Rename Package@swift-6.swift to Package@swift-6.0.swift to work around Swift Registry idiosyncrasies.
Andrew Watt -
Add Support for DecodableWithConfiguration protocol Vitalii Budnik
- None
- None.
- Adds support for NS[Mutable]Dictionary, NS[Mutable]Array, and NSString Tomek Popis
- None
- None.
YAMLDecodercan decodeDecodableWithConfigurationobjects. Vitalii Budnik
- Fix bug where anchors were not properly set in decoded types in some circumstances. Adora Lynch
- None.
- Add support for rules_swift 3.0.
Luis Padron
- None.
- YamlError.duplicatedKeysInMapping changed the types of its associated values to conform to Sendable. Adora Lynch
- Yams conforms to Swift 6 language mode with full concurrency checking Adora Lynch
- None.
- None.
- Abandon support for Swift 5.7 on Windows Adora Lynch
- Yams is able to coalesce references to objects decoded with YAML anchors. Adora Lynch
- Don't decode explicit strings as bools, regardless of content Honza Dvorsky
- Use
internal importwhen possible Matt Pennig - Validate swift 6.1 compatibility with CI jobs Adora Lynch
- Meta-keys used for Anchor and Tag parsing are not exposed to allKeys property Adora Lynch #442
- None.
- Add Android Support Marc Prud'hommeaux #437
- Resolves an issue where Yams would sometimes produce an invalid Anchor/alias pair when encoding single-value types.
- None.
-
Yams is able to encode and decode Anchors via YamlAnchorProviding, and YamlAnchorCoding. Adora Lynch #125
-
Yams is able to encode and decode Tags via YamlTagProviding and YamlTagCoding. Adora Lynch #265
-
Yams is able to detect redundant structs and automatically alias them during encoding via RedundancyAliasingStrategy Adora Lynch
- None.
- Swift 5.7 or later is now required to build Yams.
JP Simard
- Removes dependency on libc and the platform-specific pow function.
Bradley Mackey #429
- Yams will now correctly error when it tries to decode a mapping with duplicate keys.
Tejas Sharma #415
- None.
-
Add support for visionOS.
ruralharry -
Add support for Android.
finagolfin -
Add support for Bazel's
rules_swift2.x versions.
Luis Padron
- Fix CI workflows.
Tony Arnold
- None.
- None.
- Fix support for Bazel 7.x.
JP Simard
- None.
-
Allow specifying a
newLineScalarStylefor encoding string scalars with newlines when usingYAMLEncoder.
Tejas Sharma #405 -
Improve support for Bazel 7.x.
JP Simard
- None.
- None.
- None.
-
Change how empty strings are decoded into nullable properties.
key: ""previously decoded intostruct Value: Codable { let key: String? }asValue(key: nil)whereas after this change it decodes asValue(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
- None.
- Allow decoding from an existing Node.
Rob Napier
- Empty dictionaries can be now represented, regardless of its key or element
type information.
JP Simard #393
- None.
- None.
- Fix using Yams from bazel without bzlmod.
Keith Smiley
- None.
- Statically link
CYamlwhen building with SwiftPM.
Saleem Abdulrasool
- None.
- None.
- Added support for bzlmod.
Keith Smiley
- None.
- None.
- None.
- Build CYaml as PIC (Position Independent Code) when building with
CMake.
Yuta Saito
- Swift 5.4 or later is now required to build Yams.
JP Simard
- Adding
sequenceStyleandmappingStyletoEmitter.OptionsTerence Grant
- None.
- None.
-
Update Bazel config to allow targets to be directly consumed.
Maxwell Elliott -
Fix some Bazel integration issues Keith Smiley
- Fix build error when integrating Yams using CocoaPods.
JP Simard
- None.
-
Adds the ability to build Yams for Linux and MacOS via Bazel.
Maxwell Elliott -
Updated libYAML. See changes here: https://github.com/yaml/libyaml/compare/53f5b86...acd6f6f
JP Simard
- None.
- None.
- Expose the underlying
Node'sMarkonDecoder.
Brentley Jones
- Fix mark for sequences and mappings.
Brentley Jones
- None.
-
Update Xcode project from Swift 4.2 to 5.0.
Brennan Stehling -
Enable
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER.
Brennan Stehling
- None.
- None.
- Add support for Apple Silicon in
SwiftSupport.cmake.
Max Desiatov
- None.
- None.
- None.
-
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
- Swift 5.1 or later is now required to build Yams.
JP Simard
-
YAMLDecodernow conforms to theTopLevelDecoderprotocol when Apple's Combine framework is available.
JP Simard #261 -
Add
YAMLDecoder.decode(...)overload tha takes a YAML string encoded asDatausing UTF8 or UTF16.
JP Simard
- Fix CMake installation issues.
Saleem Abdulrasool
- None.
- None.
- Fix CMake support.
JP Simard
- Swift 4.1 or later is now required to build Yams.
Norio Nomura
-
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.strby defaultResolver.
Norio Nomura #197 -
Support
UUIDscalars.
Ondrej Rafaj -
Get Yams building for Windows.
Saleem Abdulrasool -
Add support for CMake based builds.
Saleem Abdulrasool -
Merge anchors in
YAMLDecoderby default.
Brentley Jones #238
-
Fix
Yams.dumpwhen object contains a keyed null value.
JP Simard #232 -
Fix a bug where
YAMLEncoderwould delayDates by 1 second when encoding values with ananosecondcomponent greater than 999499997.
Norio Nomura #192 -
Fix dangling pointer warning with Swift 5.2.
JP Simard
- Change
byteOffsettooffsetinYamlError.reader.
Norio Nomura
- Add
encodingoption toParserasParser.Encodingtype to specify which encoding to pass to libYAML. Along with that change, addencodingoptions toload(),load_all(),compose(),compose_all()andYAMLDecoder. The default encoding will be determined at run time based on the String type's native encoding.
Norio Nomura
- None.
- None.
- Update LibYAML sources to latest versions as of January 6 2018.
JP Simard
-
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
- None.
- Improve support for compiling with Swift 4.2 or later.
Norio Nomura
- Fix issues with unset
DYLIB_COMPATIBILITY_VERSIONandDYLIB_CURRENT_VERSION. Now both values are set to1.
Norio Nomura #131
- Rename
ScalarRepresentableCustomizedForCodabletoYAMLEncodable.
Norio Nomura
- API documentation now available at jpsim.com/Yams.
JP Simard
- None.
- Drop support for building with
-swift-version 3.
Norio Nomura
- None.
- Always parse quoted values as strings.
Norio Nomura #116
-
Some APIs have changed related to
ScalarConstructible.- Change parameter type of
ScalarConstructible.construct(from:)fromNodetoNode.Scalar - Change
Constructor:- Split
MapintoScalarMap,MappingMapandSequenceMap - Split
defaultMapintodefaultScalarMap,defaultMappingMapanddefaultSequenceMap - Change
init(_:)toinit(_:_:_:)
- Split
- Change parameter type of
- Improve test of "tag:yaml.org,2002:value".
Norio Nomura #97
-
subscript(string:)fails to lookup value ifNodehas non defaultResolver.
Norio Nomura #100 -
Removed asserts in Constructor that were stopping the YAMLDecoder from returning correct errors.
David Hart #94
- Swift 3.2 or later is now required to build Yams.
Norio Nomura JP Simard
- None.
- None.