Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 25, 2022

Mend Renovate

This PR contains the following updates:

Package Update Change
org.scala-lang.modules:scala-xml (source) major 1.3.0 -> 2.2.0

Release Notes

scala/scala-xml (org.scala-lang.modules:scala-xml)

v2.2.0: 2.2.0

Compare Source

What's Changed

New Contributors

Full Changelog: scala/scala-xml@v2.1.0...v2.2.0

v2.1.0: 2.1.0

Compare Source

What's Changed

Version Bumps

Internal

New Contributors

According to git shortlog -sn --no-merges v2.0.1.., 7 people contributed. Thank you Scala Steward, Aaron S. Hawley, Leonid Dubinsky, Seth Tisue, Julien Richard-Foy, Kenji Yoshida, Lorenzo Gabriele.

Full Changelog: scala/scala-xml@v2.0.1...v2.1.0

v2.0.1

Compare Source

Binary compatible with Scala XML 2.0.0.

Published for Scala 2.12 and 2.13, Scala 3, Scala.js 1.6, and Scala
Native 0.4.

Added
  • No new functionality.
Fixed
  • Fixed runtime error for MarkupParser on Scala 3 by changing the
    access modifier of internal class, WithLookAhead (#​542)

v2.0.0

Compare Source

Not binary compatible with Scala XML 1.3.0.

Published for Scala 2.12, 2.13, and 3.0, Scala.js 1.5,
and Scala Native 0.4.

Artifacts are no longer published for Scala 2.11 and Scala.js 0.6.

A number of deprecated elements have been removed from the library;
see the "Removed" section below. The library's JAR byte
size is about 15% smaller.

Added
  • Add scala.xml.transform.NestingTransformer, to apply a single rule
    recursively, to give the original behavior of RuleTransformer, see
    below.
  • The apiURL is now published in ivy metadata so that hyperlinks
    exist in downstream projects that reference Scala XML in their
    Scaladocs.
  • Declare version policy of with early-semver in Mima with
    sbt-version-policy plugin
Changed
  • Changes to the default parser settings for the JDK SAXParser, see
    Safe parser defaults
    page on the wiki.
  • The parser used by the load methods from scala.xml.XML and from
    scala.xml.factory.XMLLoader is now a ThreadLocal instance of
    SAXParser to reuse the parser instance and avoid repeatedly
    allocating one on every file load.
  • Improve scala.xml.transform.RuleTransformer to apply all rules recursively.
  • Reject invalid comment text that ends in a dash (-) in scala.xml.Comment.
  • Changed use of scala.collection.mutable.Stack in FactoryAdapter to a
    scala.collection.immutable.List. These members were affected.
    • attribStack
    • hStack
    • tagStack
    • scopeStack
  • The abstract class FactoryAdapter, see above, is used elsewhere
    within the library, as well, so the previous changes are also
    inherited by:
    • scala.xml.parsing.NoBindingFactoryAdapter implemented class
    • scala.xml.factory.XMLLoader.adapter static member
Fixed
  • Attribute order is preserved for XML elements, not reversed.
  • Don't escape quotes in scala.xml.PCData and CDATA as an XML "
Removed

Most of these deletions are of vestigial code that is either unused,
of poor quality or both. Very few users of Scala XML will even notice
the removed parts. Most users will not be affected.

The deletions represent about 1500 lines of code (sloc). By
comparison Scala XML is 10,000 sloc, so this is about 15% reduction in
sloc. The code that supports XML literals is maintained upstream in
the Scala compiler, not in the Scala XML library.

  • Remove deprecated scala.xml.pull.XMLEventReader
  • Remove deprecated versions of scala.xml.Elem constructors
  • Remove deprecated scala.xml.Elem.xmlToProcess and
    scala.xml.Elem.processXml
  • Remove deprecated definitions under scala.xml.persistent
    • CachedFileStorage
    • Index
    • SetStorage
  • Remove scala.xml.dtd.impl.PointedHedgeExp
  • Remove scala.xml.dtd.Scanner
  • Remove scala.xml.dtd.ContentModelParser
  • Remove scala.xml.dtd.ElementValidator
  • Remove scala.xml.factory.Binder
  • Remove scala.xml.parsing.ValidatingMarkupHandler
  • Remove scala.xml.Properties
  • Remove scala.xml.factory.LoggedNodeFactory
  • Remove scala.xml.parsing.MarkupHandler.log

v1.3.1: 1.3.1

Compare Source

Make Node.toString stack safe (https://github.com/scala/scala-xml/pull/684).

Released for

  • JVM: Scala 2.11, 2.12, 2.13
  • Scala.js 1.0: Scala 2.12 and 2.13

No releases for Scala.js 0.6.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/org.scala-lang.modules-scala-xml-2.x branch from 0b4a35c to 1fbffa9 Compare July 11, 2023 01:06
@infomofo infomofo merged commit 9a4af5c into master Apr 7, 2024
@infomofo infomofo deleted the renovate/org.scala-lang.modules-scala-xml-2.x branch April 7, 2024 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants