summaryrefslogtreecommitdiffstats
path: root/third_party/rust/xml-rs/Changelog.md
blob: 3cca8b8f55a77601efa60a99bb77427759ff3eae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
## Version 0.8.4

* Fixed recognition of `?>`, `]]>` and `/>` tokens as characters.
* Fixed writer output operations to use `write_all` to ensure that the data
  is written fully.
* The document declaration is now written before any characters automatically.

## Version 0.8.3

* Added a new parser option, `ignore_root_level_whitespace`, which makes the parser
  skip emitting whitespace events outside of the root element when set to `true`.
  This helps with certain tasks like canonicalization.

## Version 0.8.2

* Added a new parser option, `replace_unknown_entity_references`, which allows to ignore
  invalid Unicode code points and replace them with a Unicode "replacement character"
  during parsing. This can be helpful to deal with e.g. UTF-16 surrogate pairs.
* Added a new emitter option, `pad_self_closing`, which determines the style of the self-closing
  elements when they are emitted: `<a />` (`true`) vs `<a/>` (`false`).

## Version 0.8.1

* Fixed various issues with tests introduced by updates in Rust.
* Adjusted the lexer to ignore contents of the `<!DOCTYPE>` tag.
* Removed unnecessary unsafety in tests.
* Added tests for doc comments in the readme file.
* Switched to GitHub Actions from Travis CI.

## Version 0.8.0

* Same as 0.7.1, with 0.7.1 being yanked because of the incorrect semver bump.

## Version 0.7.1

* Removed dependency on bitflags.
* Added the `XmlWriter::inner_mut()` method.
* Fixed some rustdoc warnings.

## Version 0.7.0

* Same as 0.6.2, with 0.6.2 being yanked because of the incompatible bump of minimum required version of rustc.

## Version 0.6.2

* Bumped `bitflags` to 1.0.

## Version 0.6.1

* Fixed the writer to escape some special characters when writing attribute values.

## Version 0.6.0

* Changed the target type of extra entities from `char` to `String`. This is an incompatible
  change.

## Version 0.5.0

* Added support for ignoring EOF errors in order to read documents from streams incrementally.
* Bumped `bitflags` to 0.9.

## Version 0.4.1

* Added missing `Debug` implementation to `xml::writer::XmlEvent`.

## Version 0.4.0

* Bumped version number, since changes introduced in 0.3.7 break backwards compatibility.

## Version 0.3.8

* Fixed a problem introduced in 0.3.7 with entities in attributes causing parsing errors.

## Version 0.3.7

* Fixed the problem with parsing non-whitespace character entities as whitespace (issue #140).
* Added support for configuring custom entities in the parser configuration.

## Version 0.3.6

* Added an `Error` implementation for `EmitterError`.
* Fixed escaping of strings with multi-byte code points.

## Version 0.3.5

* Added `Debug` implementation for `XmlVersion`.
* Fixed some failing tests.

## Version 0.3.3

* Updated `bitflags` to 0.7.

## Version 0.3.2

* Added `From<io::Error>` for `xml::reader::Error`, which improves usability of working with parsing errors.

## Version 0.3.1

* Bumped `bitflags` dependency to 0.4, some internal warning fixes.

## Version 0.3.0

* Changed error handling in `EventReader` - now I/O errors are properly bubbled up from the lexer.

## Version 0.2.4

* Fixed #112 - incorrect handling of namespace redefinitions when writing a document.

## Version 0.2.3

* Added `into_inner()` methods to `EventReader` and `EventWriter`.

## Version 0.2.2

* Using `join` instead of the deprecated `connect`.
* Added a simple XML analyzer program which demonstrates library usage and can be used to check XML documents for well-formedness.
* Fixed incorrect handling of unqualified attribute names (#107).
* Added this changelog.

## Version 0.2.1

* Fixed #105 - incorrect handling of double dashes.

## Version 0.2.0

* Major update, includes proper document writing support and significant architecture changes.