3.5 KiB
Master
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 -
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
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.