Skip to content

Commit 2e7a6b7

Browse files
committed
Add CHANGELOG file for 2.0.0-M1
1 parent fb3e64e commit 2e7a6b7

File tree

2 files changed

+65
-0
lines changed

2 files changed

+65
-0
lines changed

Diff for: CHANGELOG.md

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Scala XML Changes
2+
3+
## 2.0.0-M1 (2019-10-21)
4+
5+
Not binary compatible with Scala XML 1.2.0.
6+
7+
Published for Scala 2.12, 2.13 and Scala.js 0.6, 1.0.0-M8.
8+
Artifacts are no longer published for Scala 2.11.
9+
10+
There have been a number of deprecated elements that have been
11+
removed, see the "[Removed](#Removed)" section below.
12+
13+
### Added
14+
15+
- The `apiURL` is now published in ivy metadata so that hyperlinks
16+
exist in downstream projects that reference Scala XML in their
17+
Scaladocs.
18+
19+
### Changed
20+
21+
- Changed use of `scala.collection.mutable.Stack` in `FactoryAdapter` to a
22+
`scala.collection.immutable.List`. These members were affected.
23+
- `attribStack`
24+
- `hStack`
25+
- `tagStack`
26+
- `scopeStack`
27+
- The abstract class `FactoryAdapter`, see above, is used elsewhere
28+
within the library, as well, so the previous changes are also
29+
inherited by:
30+
- `scala.xml.parsing.NoBindingFactoryAdapter` implemented class
31+
- `scala.xml.factory.XMLLoader.adapter` static member
32+
33+
### Fixed
34+
35+
- Attribute order is preserved for XML elements, not reversed.
36+
- Don't escape quotes in `scala.xml.PCData` and `CDATA` as an XML `"`
37+
38+
### Removed
39+
40+
Most of these deletions are of vestigial code that is either unused,
41+
of poor quality or both. Very few users of Scala XML will even notice
42+
the removed parts. Most users will not be affected.
43+
44+
The deletions represent about one thousand lines of code (sloc). By
45+
comparison Scala XML is 10,000 sloc, so this is about 10% reduction in
46+
sloc. The code that supports XML literals is maintained upstream in
47+
the Scala compiler, not in the Scala XML library.
48+
49+
- Remove deprecated `scala.xml.pull.XMLEventReader`
50+
- Remove deprecated versions of `scala.xml.Elem` constructors
51+
- Remove deprecated `scala.xml.Elem.xmlToProcess` and
52+
`scala.xml.Elem.processXml`
53+
- Remove deprecated definitions under `scala.xml.persistent`
54+
- `CachedFileStorage`
55+
- `Index`
56+
- `SetStorage`
57+
- Remove `scala.xml.dtd.impl.PointedHedgeExp`
58+
- Remove `scala.xml.dtd.Scanner`
59+
- Remove `scala.xml.dtd.ContentModelParser`
60+
- Remove `scala.xml.factory.Binder`
61+
- Remove `scala.xml.parsing.ValidatingMarkupHandler`

Diff for: README.md

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ API documentation is available [here](https://scala.github.io/scala-xml/api/1.2.
1414

1515
How to documentation is available in the [wiki](https://github.com/scala/scala-xml/wiki)
1616

17+
The latest stable release of Scala XML is 1.2.0.
18+
19+
Milestone releases of Scala XML version 2.0 are available, starting with 2.0.0-M1. See the changes for 2.0 in `CHANGELOG.md`.
20+
1721
## Maintenance status
1822

1923
This library is community-maintained. The lead maintainer is [@aaron_s_hawley](https://github.com/ashawley).

0 commit comments

Comments
 (0)