5.9 KiB
4.0.0
Breaking
- Swift 5.1 or later is now required to build Yams.
JP Simard
Enhancements
-
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
Bug Fixes
- Fix CMake installation issues.
Saleem Abdulrasool
3.0.1
Breaking
- None.
Enhancements
- None.
Bug Fixes
- Fix CMake support.
JP Simard
3.0.0
Breaking
- Swift 4.1 or later is now required to build Yams.
Norio Nomura
Enhancements
-
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
Bug Fixes
-
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
2.0.0
Breaking
- Change
byteOffset
tooffset
inYamlError.reader
.
Norio Nomura
Enhancements
- 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
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
andDYLIB_CURRENT_VERSION
. Now both values are set to1
.
Norio Nomura #131
1.0.0
Breaking
- Rename
ScalarRepresentableCustomizedForCodable
toYAMLEncodable
.
Norio Nomura
Enhancements
- API documentation now available at jpsim.com/Yams.
JP Simard
Bug Fixes
- None.
0.7.0
Breaking
- Drop support for building with
-swift-version 3
.
Norio Nomura
Enhancements
- None.
Bug Fixes
- Always parse quoted values as strings.
Norio Nomura #116
0.6.0
Breaking
-
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
Enhancements
- Improve test of "tag:yaml.org,2002:value".
Norio Nomura #97
Bug Fixes
-
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
0.5.0
Breaking
- Swift 3.2 or later is now required to build Yams.
Norio Nomura JP Simard
Enhancements
- None.
Bug Fixes
- None.