diff --git a/CHANGELOG.md b/CHANGELOG.md index ed0233ab..fadcae6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,29 @@ +# 0.13.0 (6 August 2021) + +This release adds two new features and a bugfix. + +Namely: + +* `removeWhitespaceElements` boolean flag on `XMLDecoder` allows removing elements that have +purely whitespace content. +* `convertFromUppercase` case on `KeyDecodingStrategy` allows converting `ALL_CAPS_SNAKE_CASE` to +`camelCase`. +* an edge case in intrinsic key value decoding has been fixed. + +Many thanks to [@huwr](https://github.com/huwr), [@kneekey23](https://github.com/kneekey23), and +[@wooj2](https://github.com/wooj2) for their contributions! + +**Closed issues:** + +- Decoding special whitespace characters ([#219](https://github.com/MaxDesiatov/XMLCoder/issues/219)) +- Help with mix of attributes and elements ([#212](https://github.com/MaxDesiatov/XMLCoder/issues/212)) + +**Merged pull requests:** + +- Encode element with empty key, empty element, and attributes ([#223](https://github.com/MaxDesiatov/XMLCoder/pull/223)) via [@wooj2](https://github.com/wooj2) +- Implement `removeWhitespaceElements ` on `XMLDecoder` ([#222](https://github.com/MaxDesiatov/XMLCoder/pull/222)) via [@wooj2](https://github.com/wooj2) +- Add convert from UPPERCASE decoding key strategy ([#214](https://github.com/MaxDesiatov/XMLCoder/pull/214)) via [@huwr](https://github.com/huwr) + # 0.12.0 (26 January 2021) This release adds a few new features. Namely: diff --git a/README.md b/README.md index 4a341946..35aca10f 100644 --- a/README.md +++ b/README.md @@ -383,7 +383,7 @@ easy as adding it to the `dependencies` value of your `Package.swift`. ```swift dependencies: [ - .package(url: "https://github.com/MaxDesiatov/XMLCoder.git", from: "0.12.0") + .package(url: "https://github.com/MaxDesiatov/XMLCoder.git", from: "0.13.0") ] ``` @@ -418,7 +418,7 @@ target 'YourApp' do use_frameworks! # Pods for YourApp - pod 'XMLCoder', '~> 0.12.0' + pod 'XMLCoder', '~> 0.13.0' end ``` @@ -447,7 +447,7 @@ $ brew install carthage Inside of your `Cartfile`, add GitHub path to `XMLCoder`: ```ogdl -github "MaxDesiatov/XMLCoder" ~> 0.12.0 +github "MaxDesiatov/XMLCoder" ~> 0.13.0 ``` Then, run the following command to build the framework: diff --git a/XMLCoder.podspec b/XMLCoder.podspec index 89cf3719..8a40c084 100644 --- a/XMLCoder.podspec +++ b/XMLCoder.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "XMLCoder" - s.version = "0.12.0" + s.version = "0.13.0" s.summary = "XMLEncoder & XMLDecoder using the Codable protocol in Swift" s.description = "XMLCoder allows Swift Codable-conforming objects to be translated to and from XML" s.homepage = "https://github.com/MaxDesiatov/XMLCoder" diff --git a/XMLCoder.xcodeproj/project.pbxproj b/XMLCoder.xcodeproj/project.pbxproj index 485e754f..f02c8d7e 100644 --- a/XMLCoder.xcodeproj/project.pbxproj +++ b/XMLCoder.xcodeproj/project.pbxproj @@ -1004,7 +1004,7 @@ CLANG_ENABLE_OBJC_ARC = YES; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 0.12.0; + CURRENT_PROJECT_VERSION = 0.13.0; DEBUG_INFORMATION_FORMAT = dwarf; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_NS_ASSERTIONS = YES; @@ -1032,7 +1032,7 @@ CLANG_ENABLE_OBJC_ARC = YES; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = YES; - CURRENT_PROJECT_VERSION = 0.12.0; + CURRENT_PROJECT_VERSION = 0.13.0; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DYLIB_INSTALL_NAME_BASE = "@rpath"; GCC_OPTIMIZATION_LEVEL = s;