Skip to content

Commit 887de88

Browse files
committed
Bump version to 0.12.0, update CHANGELOG.md
1 parent 2b1253e commit 887de88

File tree

4 files changed

+32
-6
lines changed

4 files changed

+32
-6
lines changed

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
# 0.13.0 (6 August 2021)
2+
3+
This release adds two new features and a bugfix.
4+
5+
Namely:
6+
7+
* `removeWhitespaceElements` boolean flag on `XMLDecoder` allows removing elements that have
8+
purely whitespace content.
9+
* `convertFromUppercase` case on `KeyDecodingStrategy` allows converting `ALL_CAPS_SNAKE_CASE` to
10+
`camelCase`.
11+
* an edge case in intrinsic key value decoding has been fixed.
12+
13+
Many thanks to [@huwr](https://github.com/huwr), [@kneekey23](https://github.com/kneekey23), and
14+
[@wooj2](https://github.com/wooj2) for their contributions!
15+
16+
**Closed issues:**
17+
18+
- Decoding special whitespace characters ([#219](https://github.com/MaxDesiatov/XMLCoder/issues/219))
19+
- Help with mix of attributes and elements ([#212](https://github.com/MaxDesiatov/XMLCoder/issues/212))
20+
21+
**Merged pull requests:**
22+
23+
- Encode element with empty key, empty element, and attributes ([#223](https://github.com/MaxDesiatov/XMLCoder/pull/223)) via [@wooj2](https://github.com/wooj2)
24+
- Implement `removeWhitespaceElements ` on `XMLDecoder` ([#222](https://github.com/MaxDesiatov/XMLCoder/pull/222)) via [@wooj2](https://github.com/wooj2)
25+
- Add convert from UPPERCASE decoding key strategy ([#214](https://github.com/MaxDesiatov/XMLCoder/pull/214)) via [@huwr](https://github.com/huwr)
26+
127
# 0.12.0 (26 January 2021)
228

329
This release adds a few new features. Namely:

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ easy as adding it to the `dependencies` value of your `Package.swift`.
383383

384384
```swift
385385
dependencies: [
386-
.package(url: "https://github.com/MaxDesiatov/XMLCoder.git", from: "0.12.0")
386+
.package(url: "https://github.com/MaxDesiatov/XMLCoder.git", from: "0.13.0")
387387
]
388388
```
389389

@@ -418,7 +418,7 @@ target 'YourApp' do
418418
use_frameworks!
419419

420420
# Pods for YourApp
421-
pod 'XMLCoder', '~> 0.12.0'
421+
pod 'XMLCoder', '~> 0.13.0'
422422
end
423423
```
424424

@@ -447,7 +447,7 @@ $ brew install carthage
447447
Inside of your `Cartfile`, add GitHub path to `XMLCoder`:
448448

449449
```ogdl
450-
github "MaxDesiatov/XMLCoder" ~> 0.12.0
450+
github "MaxDesiatov/XMLCoder" ~> 0.13.0
451451
```
452452

453453
Then, run the following command to build the framework:

XMLCoder.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "XMLCoder"
3-
s.version = "0.12.0"
3+
s.version = "0.13.0"
44
s.summary = "XMLEncoder & XMLDecoder using the Codable protocol in Swift"
55
s.description = "XMLCoder allows Swift Codable-conforming objects to be translated to and from XML"
66
s.homepage = "https://github.com/MaxDesiatov/XMLCoder"

XMLCoder.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@
10041004
CLANG_ENABLE_OBJC_ARC = YES;
10051005
COMBINE_HIDPI_IMAGES = YES;
10061006
COPY_PHASE_STRIP = NO;
1007-
CURRENT_PROJECT_VERSION = 0.12.0;
1007+
CURRENT_PROJECT_VERSION = 0.13.0;
10081008
DEBUG_INFORMATION_FORMAT = dwarf;
10091009
DYLIB_INSTALL_NAME_BASE = "@rpath";
10101010
ENABLE_NS_ASSERTIONS = YES;
@@ -1032,7 +1032,7 @@
10321032
CLANG_ENABLE_OBJC_ARC = YES;
10331033
COMBINE_HIDPI_IMAGES = YES;
10341034
COPY_PHASE_STRIP = YES;
1035-
CURRENT_PROJECT_VERSION = 0.12.0;
1035+
CURRENT_PROJECT_VERSION = 0.13.0;
10361036
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
10371037
DYLIB_INSTALL_NAME_BASE = "@rpath";
10381038
GCC_OPTIMIZATION_LEVEL = s;

0 commit comments

Comments
 (0)