Skip to content

Commit

Permalink
Refine CHANGELOG, bump versions in README
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxDesiatov committed Jan 22, 2019
1 parent 39fd04d commit 6495dcb
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# 0.3.0 (January 22, 2019)

A maintenance release focused on fixing bugs, improving error reporting
and overall internal architecture of the library. For this release we've started
tracking test coverage and were able to increase it from 11.8% to 75.6%. 🎉

## Additions

You can now set `errorContextLength: UInt` property on `XMLDecoder` instance,
which will make it add a snippet of XML of at most this length from parser state
when a parsing error occurs. This can greatly help with attempts to parse
invalid XML, where previously only a line and column number were reported.

## Deprecations

`NodeEncodingStrategies` was renamed to `NodeEncodingStrategy` for consistency.
`NodeEncodingStrategies` is still available as a deprecated typealias, which
will be removed in future versions.

* Add SwiftLint and fix linter errors ([#35](https://github.com/MaxDesiatov/XMLCoder/pull/35), [@MaxDesiatov](https://github.com/MaxDesiatov))
* Add single array element example to tests ([#66](https://github.com/MaxDesiatov/XMLCoder/pull/66), [@MaxDesiatov](https://github.com/MaxDesiatov))
* Remove generic encode/decode functions ([#64](https://github.com/MaxDesiatov/XMLCoder/pull/64), [@hodovani](https://github.com/hodovani))
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ target 'YourApp' do
use_frameworks!

# Pods for Test
pod 'XMLCoder', '~> 0.2.1'
pod 'XMLCoder', '~> 0.3.0'

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

```ogdl
github "MaxDesiatov/XMLCoder" ~> 0.2.1
github "MaxDesiatov/XMLCoder" ~> 0.3.0
```

Then, run the following command to build the framework:
Expand All @@ -118,7 +118,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.2.1")
.package(url: "https://github.com/MaxDesiatov/XMLCoder.git", from: "0.3.0")
]
```

Expand Down

0 comments on commit 6495dcb

Please sign in to comment.