Debian Codegraph @

third_party/rust/xml-rs/Changelog.md

raw
1 ## Version 0.8.4
2
3 * Fixed recognition of `?>`, `]]>` and `/>` tokens as characters.
4 * Fixed writer output operations to use `write_all` to ensure that the data
5 is written fully.
6 * The document declaration is now written before any characters automatically.
7
8 ## Version 0.8.3
9
10 * Added a new parser option, `ignore_root_level_whitespace`, which makes the parser
11 skip emitting whitespace events outside of the root element when set to `true`.
12 This helps with certain tasks like canonicalization.
13
14 ## Version 0.8.2
15
16 * Added a new parser option, `replace_unknown_entity_references`, which allows to ignore
17 invalid Unicode code points and replace them with a Unicode "replacement character"
18 during parsing. This can be helpful to deal with e.g. UTF-16 surrogate pairs.
19 * Added a new emitter option, `pad_self_closing`, which determines the style of the self-closing
20 elements when they are emitted: `<a />` (`true`) vs `<a/>` (`false`).
21
22 ## Version 0.8.1
23
24 * Fixed various issues with tests introduced by updates in Rust.
25 * Adjusted the lexer to ignore contents of the `<!DOCTYPE>` tag.
26 * Removed unnecessary unsafety in tests.
27 * Added tests for doc comments in the readme file.
28 * Switched to GitHub Actions from Travis CI.
29
30 ## Version 0.8.0
31
32 * Same as 0.7.1, with 0.7.1 being yanked because of the incorrect semver bump.
33
34 ## Version 0.7.1
35
36 * Removed dependency on bitflags.
37 * Added the `XmlWriter::inner_mut()` method.
38 * Fixed some rustdoc warnings.
39
40 ## Version 0.7.0
41
42 * Same as 0.6.2, with 0.6.2 being yanked because of the incompatible bump of minimum required version of rustc.
43
44 ## Version 0.6.2
45
46 * Bumped `bitflags` to 1.0.
47
48 ## Version 0.6.1
49
50 * Fixed the writer to escape some special characters when writing attribute values.
51
52 ## Version 0.6.0
53
54 * Changed the target type of extra entities from `char` to `String`. This is an incompatible
55 change.
56
57 ## Version 0.5.0
58
59 * Added support for ignoring EOF errors in order to read documents from streams incrementally.
60 * Bumped `bitflags` to 0.9.
61
62 ## Version 0.4.1
63
64 * Added missing `Debug` implementation to `xml::writer::XmlEvent`.
65
66 ## Version 0.4.0
67
68 * Bumped version number, since changes introduced in 0.3.7 break backwards compatibility.
69
70 ## Version 0.3.8
71
72 * Fixed a problem introduced in 0.3.7 with entities in attributes causing parsing errors.
73
74 ## Version 0.3.7
75
76 * Fixed the problem with parsing non-whitespace character entities as whitespace (issue #140).
77 * Added support for configuring custom entities in the parser configuration.
78
79 ## Version 0.3.6
80
81 * Added an `Error` implementation for `EmitterError`.
82 * Fixed escaping of strings with multi-byte code points.
83
84 ## Version 0.3.5
85
86 * Added `Debug` implementation for `XmlVersion`.
87 * Fixed some failing tests.
88
89 ## Version 0.3.3
90
91 * Updated `bitflags` to 0.7.
92
93 ## Version 0.3.2
94
95 * Added `From<io::Error>` for `xml::reader::Error`, which improves usability of working with parsing errors.
96
97 ## Version 0.3.1
98
99 * Bumped `bitflags` dependency to 0.4, some internal warning fixes.
100
101 ## Version 0.3.0
102
103 * Changed error handling in `EventReader` - now I/O errors are properly bubbled up from the lexer.
104
105 ## Version 0.2.4
106
107 * Fixed #112 - incorrect handling of namespace redefinitions when writing a document.
108
109 ## Version 0.2.3
110
111 * Added `into_inner()` methods to `EventReader` and `EventWriter`.
112
113 ## Version 0.2.2
114
115 * Using `join` instead of the deprecated `connect`.
116 * Added a simple XML analyzer program which demonstrates library usage and can be used to check XML documents for well-formedness.
117 * Fixed incorrect handling of unqualified attribute names (#107).
118 * Added this changelog.
119
120 ## Version 0.2.1
121
122 * Fixed #105 - incorrect handling of double dashes.
123
124 ## Version 0.2.0
125
126 * Major update, includes proper document writing support and significant architecture changes.