Skip to content

Commit

Permalink
Bump version to 0.12.0, update CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxDesiatov committed Aug 5, 2021
1 parent 2b1253e commit 887de88
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 6 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
]
```

Expand Down Expand Up @@ -418,7 +418,7 @@ target 'YourApp' do
use_frameworks!

# Pods for YourApp
pod 'XMLCoder', '~> 0.12.0'
pod 'XMLCoder', '~> 0.13.0'
end
```

Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion XMLCoder.podspec
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions XMLCoder.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 887de88

Please sign in to comment.