Releases: jpsim/Yams
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
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()
and
YAMLDecoder
. 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
and
DYLIB_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.