Skip to content

Commit

Permalink
Bump version to 0.10.0 (#161)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
MaxDesiatov authored Apr 4, 2020
1 parent 3fe6b65 commit eae6266
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 9 deletions.
1 change: 1 addition & 0 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
brew "pre-commit"
brew "swiftformat"
brew "swiftlint"
brew "danger/tap/danger-swift"
84 changes: 81 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,81 @@
# 0.10.0 (4 April 2020)

This is a bugfix release, which improves encoding and decoding of enums with associated values
(also known as "choice coding") with the `XMLChoiceCodingKey` protocol. This release is also
tested on Xcode 11.4 and Swift 5.2.1 on Linux. A few breaking changes were introduced, which were
needed to simplify and improve internals of the library. Please refer to the corresponding section
below for more details. Thanks to [@bwetherfield](https://github.com/bwetherfield) and
[@ultramiraculous](https://github.com/ultramiraculous) for their contributions!

**Breaking changes:**

- Fix Decoding of Arrays of Empty Elements
([#152](https://github.com/MaxDesiatov/XMLCoder/pull/152))
([@bwetherfield](https://github.com/bwetherfield))

This change was needed to accommodate for multiple edges cases with how arrays of empty elements
and empty strings are decoded.

- Replace value intrinsic with empty string key
([#149](https://github.com/MaxDesiatov/XMLCoder/pull/149))
([@bwetherfield](https://github.com/bwetherfield))

The value intrinsic now only accepts the empty string key `""`, as the previous `"value"` key
caused naming collisions with attributes and elemenents that had the same name.

**Closed issues:**

- Bundle identifier in wrong format
([#164](https://github.com/MaxDesiatov/XMLCoder/issues/164))
- Can inheritance be implemented?
([#159](https://github.com/MaxDesiatov/XMLCoder/issues/159))
- EXC_BAD_ACCESS when running tests
([#153](https://github.com/MaxDesiatov/XMLCoder/issues/153))
- EXC_BAD_ACCESS on XCode 11.2 and iOS13.2
([#150](https://github.com/MaxDesiatov/XMLCoder/issues/150))
- Date formatting on 24h region with display set to 12h
([#148](https://github.com/MaxDesiatov/XMLCoder/issues/148))
- Decoding containers with (potentially)-empty elements
([#123](https://github.com/MaxDesiatov/XMLCoder/issues/123))

**Merged pull requests:**
- Run GitHub Actions on a push to the master branch
([#167](https://github.com/MaxDesiatov/XMLCoder/pull/167))
([@MaxDesiatov](https://github.com/MaxDesiatov))
- Test w/ Xcode 11.4 on macOS, Swift 5.2.1 on Linux
([#166](https://github.com/MaxDesiatov/XMLCoder/pull/166))
([@MaxDesiatov](https://github.com/MaxDesiatov))
- Use reverse-DNS notation for the bundle identifier
([#165](https://github.com/MaxDesiatov/XMLCoder/pull/165))
([@MaxDesiatov](https://github.com/MaxDesiatov))
- Trigger Azure Pipelines run on PRs to master
([#162](https://github.com/MaxDesiatov/XMLCoder/pull/162))
([@MaxDesiatov](https://github.com/MaxDesiatov))
- Run Danger with GitHub Actions
([#163](https://github.com/MaxDesiatov/XMLCoder/pull/163))
([@MaxDesiatov](https://github.com/MaxDesiatov))
- Trigger Azure Pipelines run on PRs to master
([#162](https://github.com/MaxDesiatov/XMLCoder/pull/162))
([@MaxDesiatov](https://github.com/MaxDesiatov))
- Add Xcode 11.3 to azure-pipelines.yml
([#158](https://github.com/MaxDesiatov/XMLCoder/pull/158))
([@MaxDesiatov](https://github.com/MaxDesiatov))
- Support for mixed-content nodes
([#157](https://github.com/MaxDesiatov/XMLCoder/pull/157))
([@ultramiraculous](https://github.com/ultramiraculous))
- Mixed choice/non-choice decoding
([#155](https://github.com/MaxDesiatov/XMLCoder/pull/155))
([@bwetherfield](https://github.com/bwetherfield))
- Mixed choice/non-choice encoding
([#154](https://github.com/MaxDesiatov/XMLCoder/pull/154))
([@bwetherfield](https://github.com/bwetherfield))
- Add Xcode 11.2 and 10.3 to azure-pipelines.yml
([#151](https://github.com/MaxDesiatov/XMLCoder/pull/151))
([@MaxDesiatov](https://github.com/MaxDesiatov))
- Fix Decoding of Empty String
([#145](https://github.com/MaxDesiatov/XMLCoder/pull/145))
([@bwetherfield](https://github.com/bwetherfield))

# 0.9.0 (19 October 2019)

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

A small improvement release tagged early to resolve blocking issues in
[CoreXLSX](https://github.com/MaxDesiatov/CoreXLSX).
[CoreXLSX](https://github.com/MaxDesiatov/CoreXLSX).

**Notable changes:**

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

# 0.3.1 (6 February 2019)

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

**Changes:**
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,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.9.0")
.package(url: "https://github.com/MaxDesiatov/XMLCoder.git", from: "0.10.0")
]
```

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

# Pods for YourApp
pod 'XMLCoder', '~> 0.9.0'
pod 'XMLCoder', '~> 0.10.0'
end
```

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

```ogdl
github "MaxDesiatov/XMLCoder" ~> 0.9.0
github "MaxDesiatov/XMLCoder" ~> 0.10.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.9.0"
s.version = "0.10.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 @@ -958,7 +958,7 @@
CLANG_ENABLE_OBJC_ARC = YES;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 0.9.0;
CURRENT_PROJECT_VERSION = 0.10.0;
DEBUG_INFORMATION_FORMAT = dwarf;
DYLIB_INSTALL_NAME_BASE = "@rpath";
ENABLE_NS_ASSERTIONS = YES;
Expand Down Expand Up @@ -986,7 +986,7 @@
CLANG_ENABLE_OBJC_ARC = YES;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES;
CURRENT_PROJECT_VERSION = 0.9.0;
CURRENT_PROJECT_VERSION = 0.10.0;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DYLIB_INSTALL_NAME_BASE = "@rpath";
GCC_OPTIMIZATION_LEVEL = s;
Expand Down

0 comments on commit eae6266

Please sign in to comment.