XMLCoder v0.10.0 Release Notes
Release Date: 2020-04-04 // about 4 years ago-
๐ This is a bugfix release, which improves encoding and decoding of enums with associated values ๐ (also known as "choice coding") with the
XMLChoiceCodingKey
protocol. This release is also ๐ง tested on Xcode 11.4 and Swift 5.2.1 on Linux. A few breaking changes were introduced, which were needed to simplify and improve internals of the library. Please refer to the corresponding section below for more details. Thanks to @bwetherfield and @ultramiraculous for their contributions!๐ฅ Breaking changes:
- ๐ Fix Decoding of Arrays of Empty Elements (#152) (@bwetherfield)
This change was needed to accommodate for multiple edges cases with how arrays of empty elements and empty strings are decoded.
- Replace value intrinsic with empty string key (#149) (@bwetherfield)
The value intrinsic now only accepts the empty string key
""
, as the previous"value"
key caused naming collisions with attributes and elemenents that had the same name.Closed issues:
- Bundle identifier in wrong format (#164)
- Can inheritance be implemented? (#159)
- EXC_BAD_ACCESS when running tests (#153)
- EXC_BAD_ACCESS on XCode 11.2 and iOS13.2 (#150)
- Date formatting on 24h region with display set to 12h (#148)
- Decoding containers with (potentially)-empty elements (#123)
๐ Merged pull requests:
- โ Run GitHub Actions on a push to the master branch (#167) (@MaxDesiatov)
- ๐ Test w/ Xcode 11.4 on macOS, Swift 5.2.1 on Linux (#166) (@MaxDesiatov)
- ๐ Use reverse-DNS notation for the bundle identifier (#165) (@MaxDesiatov)
- Trigger Azure Pipelines run on PRs to master (#162) (@MaxDesiatov)
- โ Run Danger with GitHub Actions (#163) (@MaxDesiatov)
- Trigger Azure Pipelines run on PRs to master (#162) (@MaxDesiatov)
- โ Add Xcode 11.3 to azure-pipelines.yml (#158) (@MaxDesiatov)
- ๐ Support for mixed-content nodes (#157) (@ultramiraculous)
- Mixed choice/non-choice decoding (#155) (@bwetherfield)
- Mixed choice/non-choice encoding (#154) (@bwetherfield)
- โ Add Xcode 11.2 and 10.3 to azure-pipelines.yml (#151) (@MaxDesiatov)
- ๐ Fix Decoding of Empty String (#145) (@bwetherfield)