You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,22 @@
1
1
# 0.3.0 (January 22, 2019)
2
2
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
+
3
20
* Add SwiftLint and fix linter errors ([#35](https://github.com/MaxDesiatov/XMLCoder/pull/35), [@MaxDesiatov](https://github.com/MaxDesiatov))
4
21
* Add single array element example to tests ([#66](https://github.com/MaxDesiatov/XMLCoder/pull/66), [@MaxDesiatov](https://github.com/MaxDesiatov))
0 commit comments