- Swift 5.7 or later is now required to build Yams.
JP Simard
- None.
- None.
- None.
-
Add support for visionOS.
ruralharry -
Add support for Android.
finagolfin -
Add support for Bazel's
rules_swift
2.x versions.
Luis Padron
- Fix CI workflows.
Tony Arnold
- None.
- None.
- Fix support for Bazel 7.x.
JP Simard
- None.
-
Allow specifying a
newLineScalarStyle
for 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
CYaml
when 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
sequenceStyle
andmappingStyle
toEmitter.Options
Terence 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
'sMark
onDecoder
.
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
-
YAMLDecoder
now conforms to theTopLevelDecoder
protocol when Apple's Combine framework is available.
JP Simard #261 -
Add
YAMLDecoder.decode(...)
overload tha takes a YAML string encoded asData
using 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
Date
s 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.str
by defaultResolver
.
Norio Nomura #197 -
Support
UUID
scalars.
Ondrej Rafaj -
Get Yams building for Windows.
Saleem Abdulrasool -
Add support for CMake based builds.
Saleem Abdulrasool -
Merge anchors in
YAMLDecoder
by default.
Brentley Jones #238
-
Fix
Yams.dump
when object contains a keyed null value.
JP Simard #232 -
Fix a bug where
YAMLEncoder
would delayDate
s by 1 second when encoding values with ananosecond
component greater than 999499997.
Norio Nomura #192 -
Fix dangling pointer warning with Swift 5.2.
JP Simard
- Change
byteOffset
tooffset
inYamlError.reader
.
Norio Nomura
- Add
encoding
option toParser
asParser.Encoding
type to specify which encoding to pass to libYAML. Along with that change, addencoding
options 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_VERSION
andDYLIB_CURRENT_VERSION
. Now both values are set to1
.
Norio Nomura #131
- Rename
ScalarRepresentableCustomizedForCodable
toYAMLEncodable
.
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:)
fromNode
toNode.Scalar
- Change
Constructor
:- Split
Map
intoScalarMap
,MappingMap
andSequenceMap
- Split
defaultMap
intodefaultScalarMap
,defaultMappingMap
anddefaultSequenceMap
- 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 ifNode
has 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.