File tree Expand file tree Collapse file tree 2 files changed +20
-3
lines changed
Expand file tree Collapse file tree 2 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 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 ) )
Original file line number Diff line number Diff 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
7171end
7272```
@@ -95,7 +95,7 @@ $ brew install carthage
9595Inside 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
101101Then, 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
120120dependencies: [
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
You can’t perform that action at this time.
0 commit comments