Skip to content

Commit eae6266

Browse files
authored
Bump version to 0.10.0 (#161)
* Bump version to 0.10.0 * Trigger builds in PRs * Add Brewfile * Add CHANGELOG.md draft * Update CHANGELOG.md * Fix wording in CHANGELOG.md * Refine wording in CHANGELOG.md
1 parent 3fe6b65 commit eae6266

File tree

5 files changed

+88
-9
lines changed

5 files changed

+88
-9
lines changed

Brewfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
brew "pre-commit"
22
brew "swiftformat"
33
brew "swiftlint"
4+
brew "danger/tap/danger-swift"

CHANGELOG.md

Lines changed: 81 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,81 @@
1+
# 0.10.0 (4 April 2020)
2+
3+
This is a bugfix release, which improves encoding and decoding of enums with associated values
4+
(also known as "choice coding") with the `XMLChoiceCodingKey` protocol. This release is also
5+
tested on Xcode 11.4 and Swift 5.2.1 on Linux. A few breaking changes were introduced, which were
6+
needed to simplify and improve internals of the library. Please refer to the corresponding section
7+
below for more details. Thanks to [@bwetherfield](https://github.com/bwetherfield) and
8+
[@ultramiraculous](https://github.com/ultramiraculous) for their contributions!
9+
10+
**Breaking changes:**
11+
12+
- Fix Decoding of Arrays of Empty Elements
13+
([#152](https://github.com/MaxDesiatov/XMLCoder/pull/152))
14+
([@bwetherfield](https://github.com/bwetherfield))
15+
16+
This change was needed to accommodate for multiple edges cases with how arrays of empty elements
17+
and empty strings are decoded.
18+
19+
- Replace value intrinsic with empty string key
20+
([#149](https://github.com/MaxDesiatov/XMLCoder/pull/149))
21+
([@bwetherfield](https://github.com/bwetherfield))
22+
23+
The value intrinsic now only accepts the empty string key `""`, as the previous `"value"` key
24+
caused naming collisions with attributes and elemenents that had the same name.
25+
26+
**Closed issues:**
27+
28+
- Bundle identifier in wrong format
29+
([#164](https://github.com/MaxDesiatov/XMLCoder/issues/164))
30+
- Can inheritance be implemented?
31+
([#159](https://github.com/MaxDesiatov/XMLCoder/issues/159))
32+
- EXC_BAD_ACCESS when running tests
33+
([#153](https://github.com/MaxDesiatov/XMLCoder/issues/153))
34+
- EXC_BAD_ACCESS on XCode 11.2 and iOS13.2
35+
([#150](https://github.com/MaxDesiatov/XMLCoder/issues/150))
36+
- Date formatting on 24h region with display set to 12h
37+
([#148](https://github.com/MaxDesiatov/XMLCoder/issues/148))
38+
- Decoding containers with (potentially)-empty elements
39+
([#123](https://github.com/MaxDesiatov/XMLCoder/issues/123))
40+
41+
**Merged pull requests:**
42+
- Run GitHub Actions on a push to the master branch
43+
([#167](https://github.com/MaxDesiatov/XMLCoder/pull/167))
44+
([@MaxDesiatov](https://github.com/MaxDesiatov))
45+
- Test w/ Xcode 11.4 on macOS, Swift 5.2.1 on Linux
46+
([#166](https://github.com/MaxDesiatov/XMLCoder/pull/166))
47+
([@MaxDesiatov](https://github.com/MaxDesiatov))
48+
- Use reverse-DNS notation for the bundle identifier
49+
([#165](https://github.com/MaxDesiatov/XMLCoder/pull/165))
50+
([@MaxDesiatov](https://github.com/MaxDesiatov))
51+
- Trigger Azure Pipelines run on PRs to master
52+
([#162](https://github.com/MaxDesiatov/XMLCoder/pull/162))
53+
([@MaxDesiatov](https://github.com/MaxDesiatov))
54+
- Run Danger with GitHub Actions
55+
([#163](https://github.com/MaxDesiatov/XMLCoder/pull/163))
56+
([@MaxDesiatov](https://github.com/MaxDesiatov))
57+
- Trigger Azure Pipelines run on PRs to master
58+
([#162](https://github.com/MaxDesiatov/XMLCoder/pull/162))
59+
([@MaxDesiatov](https://github.com/MaxDesiatov))
60+
- Add Xcode 11.3 to azure-pipelines.yml
61+
([#158](https://github.com/MaxDesiatov/XMLCoder/pull/158))
62+
([@MaxDesiatov](https://github.com/MaxDesiatov))
63+
- Support for mixed-content nodes
64+
([#157](https://github.com/MaxDesiatov/XMLCoder/pull/157))
65+
([@ultramiraculous](https://github.com/ultramiraculous))
66+
- Mixed choice/non-choice decoding
67+
([#155](https://github.com/MaxDesiatov/XMLCoder/pull/155))
68+
([@bwetherfield](https://github.com/bwetherfield))
69+
- Mixed choice/non-choice encoding
70+
([#154](https://github.com/MaxDesiatov/XMLCoder/pull/154))
71+
([@bwetherfield](https://github.com/bwetherfield))
72+
- Add Xcode 11.2 and 10.3 to azure-pipelines.yml
73+
([#151](https://github.com/MaxDesiatov/XMLCoder/pull/151))
74+
([@MaxDesiatov](https://github.com/MaxDesiatov))
75+
- Fix Decoding of Empty String
76+
([#145](https://github.com/MaxDesiatov/XMLCoder/pull/145))
77+
([@bwetherfield](https://github.com/bwetherfield))
78+
179
# 0.9.0 (19 October 2019)
280

381
This release fixes a few bugs with `Float` type parsing and Swift 5.1 support on
@@ -149,7 +227,7 @@ Bugfix release that restores decoding of empty sequences, which became broken in
149227
# 0.5.0 (2 May 2019)
150228

151229
A small improvement release tagged early to resolve blocking issues in
152-
[CoreXLSX](https://github.com/MaxDesiatov/CoreXLSX).
230+
[CoreXLSX](https://github.com/MaxDesiatov/CoreXLSX).
153231

154232
**Notable changes:**
155233

@@ -280,8 +358,8 @@ also improved. A huge thank you to [@JoeMatt](https://github.com/JoeMatt) and
280358

281359
# 0.3.1 (6 February 2019)
282360

283-
A bugfix release that adds missing `CFBundleVersion` in generated framework's
284-
`Info.plist` ([#72](https://github.com/MaxDesiatov/XMLCoder/issues/72) reported by
361+
A bugfix release that adds missing `CFBundleVersion` in generated framework's
362+
`Info.plist` ([#72](https://github.com/MaxDesiatov/XMLCoder/issues/72) reported by
285363
[@stonedauwg](https://github.com/stonedauwg)).
286364

287365
**Changes:**

README.md

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

318318
```swift
319319
dependencies: [
320-
.package(url: "https://github.com/MaxDesiatov/XMLCoder.git", from: "0.9.0")
320+
.package(url: "https://github.com/MaxDesiatov/XMLCoder.git", from: "0.10.0")
321321
]
322322
```
323323

@@ -348,7 +348,7 @@ target 'YourApp' do
348348
use_frameworks!
349349

350350
# Pods for YourApp
351-
pod 'XMLCoder', '~> 0.9.0'
351+
pod 'XMLCoder', '~> 0.10.0'
352352
end
353353
```
354354

@@ -377,7 +377,7 @@ $ brew install carthage
377377
Inside of your `Cartfile`, add GitHub path to `XMLCoder`:
378378

379379
```ogdl
380-
github "MaxDesiatov/XMLCoder" ~> 0.9.0
380+
github "MaxDesiatov/XMLCoder" ~> 0.10.0
381381
```
382382

383383
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.9.0"
3+
s.version = "0.10.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
@@ -958,7 +958,7 @@
958958
CLANG_ENABLE_OBJC_ARC = YES;
959959
COMBINE_HIDPI_IMAGES = YES;
960960
COPY_PHASE_STRIP = NO;
961-
CURRENT_PROJECT_VERSION = 0.9.0;
961+
CURRENT_PROJECT_VERSION = 0.10.0;
962962
DEBUG_INFORMATION_FORMAT = dwarf;
963963
DYLIB_INSTALL_NAME_BASE = "@rpath";
964964
ENABLE_NS_ASSERTIONS = YES;
@@ -986,7 +986,7 @@
986986
CLANG_ENABLE_OBJC_ARC = YES;
987987
COMBINE_HIDPI_IMAGES = YES;
988988
COPY_PHASE_STRIP = YES;
989-
CURRENT_PROJECT_VERSION = 0.9.0;
989+
CURRENT_PROJECT_VERSION = 0.10.0;
990990
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
991991
DYLIB_INSTALL_NAME_BASE = "@rpath";
992992
GCC_OPTIMIZATION_LEVEL = s;

0 commit comments

Comments
 (0)