Skip to content

Commit 6495dcb

Browse files
committed
Refine CHANGELOG, bump versions in README
1 parent 39fd04d commit 6495dcb

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# 0.3.0 (January 22, 2019)
22

3+
A maintenance release focused on fixing bugs, improving error reporting
4+
and overall internal architecture of the library. For this release we've started
5+
tracking test coverage and were able to increase it from 11.8% to 75.6%. 🎉
6+
7+
## Additions
8+
9+
You can now set `errorContextLength: UInt` property on `XMLDecoder` instance,
10+
which will make it add a snippet of XML of at most this length from parser state
11+
when a parsing error occurs. This can greatly help with attempts to parse
12+
invalid XML, where previously only a line and column number were reported.
13+
14+
## Deprecations
15+
16+
`NodeEncodingStrategies` was renamed to `NodeEncodingStrategy` for consistency.
17+
`NodeEncodingStrategies` is still available as a deprecated typealias, which
18+
will be removed in future versions.
19+
320
* Add SwiftLint and fix linter errors ([#35](https://github.com/MaxDesiatov/XMLCoder/pull/35), [@MaxDesiatov](https://github.com/MaxDesiatov))
421
* Add single array element example to tests ([#66](https://github.com/MaxDesiatov/XMLCoder/pull/66), [@MaxDesiatov](https://github.com/MaxDesiatov))
522
* Remove generic encode/decode functions ([#64](https://github.com/MaxDesiatov/XMLCoder/pull/64), [@hodovani](https://github.com/hodovani))

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ target 'YourApp' do
6666
use_frameworks!
6767

6868
# Pods for Test
69-
pod 'XMLCoder', '~> 0.2.1'
69+
pod 'XMLCoder', '~> 0.3.0'
7070

7171
end
7272
```
@@ -95,7 +95,7 @@ $ brew install carthage
9595
Inside of your `Cartfile`, add GitHub path to `XMLCoder`:
9696

9797
```ogdl
98-
github "MaxDesiatov/XMLCoder" ~> 0.2.1
98+
github "MaxDesiatov/XMLCoder" ~> 0.3.0
9999
```
100100

101101
Then, run the following command to build the framework:
@@ -118,7 +118,7 @@ easy as adding it to the `dependencies` value of your `Package.swift`.
118118

119119
```swift
120120
dependencies: [
121-
.package(url: "https://github.com/MaxDesiatov/XMLCoder.git", from: "0.2.1")
121+
.package(url: "https://github.com/MaxDesiatov/XMLCoder.git", from: "0.3.0")
122122
]
123123
```
124124

0 commit comments

Comments
 (0)