Skip to content

Commit 9e7c00c

Browse files
committed
Bump version to 0.13.1, update CHANGELOG.md
1 parent c900ff0 commit 9e7c00c

File tree

4 files changed

+31
-11
lines changed

4 files changed

+31
-11
lines changed

CHANGELOG.md

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,34 @@
1+
# 0.13.1 (7 November 2021)
2+
3+
This is a bugfix release that fixes an edge with the use of `trimValueWhitespaces` configuration on
4+
`XMLDecoder`, and officially supports Windows for users of Swift 5.5. Many thanks to
5+
[@MartinP7r](https://github.com/MartinP7r) for multiple contributions in this release!
6+
7+
**Closed issues:**
8+
9+
- Encoding an Attribute doesn't work anymore ([#231](https://github.com/MaxDesiatov/XMLCoder/issues/231))
10+
- How to "skip" certain XML tags / element in a TCX file ([#227](https://github.com/MaxDesiatov/XMLCoder/issues/227))
11+
- Encode element with empty key, no elements, and attributes ([#224](https://github.com/MaxDesiatov/XMLCoder/issues/224))
12+
13+
**Merged pull requests:**
14+
15+
- Add Windows to GitHub Actions CI build matrix ([#233](https://github.com/MaxDesiatov/XMLCoder/pull/233)) via [@MaxDesiatov](https://github.com/MaxDesiatov)
16+
- Add test for preserved spaces with XML entities ([#234](https://github.com/MaxDesiatov/XMLCoder/pull/234)) via [@MartinP7r](https://github.com/MartinP7r)
17+
- Fix `trimValueWhitespaces` removing needed white-spaces ([#226](https://github.com/MaxDesiatov/XMLCoder/pull/226)) via [@MartinP7r](https://github.com/MartinP7r)
18+
- Remove some of the SwiftLint generated warnings ([#229](https://github.com/MaxDesiatov/XMLCoder/pull/229)) via [@MartinP7r](https://github.com/MartinP7r)
19+
- Remove unneeded parameter `key` ([#225](https://github.com/MaxDesiatov/XMLCoder/pull/225)) via [@MartinP7r](https://github.com/MartinP7r)
20+
121
# 0.13.0 (6 August 2021)
222

323
This release adds two new features and a bugfix.
424

525
Namely:
626

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.
27+
- `removeWhitespaceElements` boolean flag on `XMLDecoder` allows removing elements that have
28+
purely whitespace content.
29+
- `convertFromUppercase` case on `KeyDecodingStrategy` allows converting `ALL_CAPS_SNAKE_CASE` to
30+
`camelCase`.
31+
- an edge case in intrinsic key value decoding has been fixed.
1232

1333
Many thanks to [@huwr](https://github.com/huwr), [@kneekey23](https://github.com/kneekey23), and
1434
[@wooj2](https://github.com/wooj2) for their contributions!

README.md

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

388388
```swift
389389
dependencies: [
390-
.package(url: "https://github.com/MaxDesiatov/XMLCoder.git", from: "0.13.0")
390+
.package(url: "https://github.com/MaxDesiatov/XMLCoder.git", from: "0.13.1")
391391
]
392392
```
393393

@@ -422,7 +422,7 @@ target 'YourApp' do
422422
use_frameworks!
423423

424424
# Pods for YourApp
425-
pod 'XMLCoder', '~> 0.13.0'
425+
pod 'XMLCoder', '~> 0.13.1'
426426
end
427427
```
428428

@@ -451,7 +451,7 @@ $ brew install carthage
451451
Inside of your `Cartfile`, add GitHub path to `XMLCoder`:
452452

453453
```ogdl
454-
github "MaxDesiatov/XMLCoder" ~> 0.13.0
454+
github "MaxDesiatov/XMLCoder" ~> 0.13.1
455455
```
456456

457457
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.13.0"
3+
s.version = "0.13.1"
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
@@ -1002,7 +1002,7 @@
10021002
CLANG_ENABLE_OBJC_ARC = YES;
10031003
COMBINE_HIDPI_IMAGES = YES;
10041004
COPY_PHASE_STRIP = NO;
1005-
CURRENT_PROJECT_VERSION = 0.13.0;
1005+
CURRENT_PROJECT_VERSION = 0.13.1;
10061006
DEBUG_INFORMATION_FORMAT = dwarf;
10071007
DYLIB_INSTALL_NAME_BASE = "@rpath";
10081008
ENABLE_NS_ASSERTIONS = YES;
@@ -1030,7 +1030,7 @@
10301030
CLANG_ENABLE_OBJC_ARC = YES;
10311031
COMBINE_HIDPI_IMAGES = YES;
10321032
COPY_PHASE_STRIP = YES;
1033-
CURRENT_PROJECT_VERSION = 0.13.0;
1033+
CURRENT_PROJECT_VERSION = 0.13.1;
10341034
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
10351035
DYLIB_INSTALL_NAME_BASE = "@rpath";
10361036
GCC_OPTIMIZATION_LEVEL = s;

0 commit comments

Comments
 (0)