Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.3.0 #401

Closed
ashawley opened this issue Jan 31, 2020 · 19 comments
Closed

Release 1.3.0 #401

ashawley opened this issue Jan 31, 2020 · 19 comments
Milestone

Comments

@ashawley
Copy link
Member

ashawley commented Jan 31, 2020

There was a significant fix in #392 that seems worth making a release for.

There are also some small deprecations we should publicize.

Changes since 1.2.0:

v1.2.0...1.x

Draft release notes:

  • Fixes regression on Scala 2.13, issue NodeSeq ++ results in List[Node] in 2.13 #392, concerning the collections implementation for NodeSeq
  • Publish for Scala.js 1.0.0
  • Update Scala.js to 0.6.32
  • Update Scala to 2.12.10 and 2.13.1
  • Various unused public classes and methods are deprecated
    • Deprecate definitions under scala.xml.persistent
      • CachedFileStorage
      • Index
      • SetStorage
    • Deprecate scala.xml.dtd.impl.PointedHedgeExp
    • Deprecate scala.xml.dtd.Scanner
    • Deprecate scala.xml.dtd.ContentModelParser
    • Deprecate scala.xml.dtd.ElementValidator
    • Deprecate scala.xml.factory.Binder
    • Deprecate scala.xml.parsing.ValidatingMarkupHandler

The items deprecated above are already deleted in the 2.0.0-M1 milestone release, which see https://github.com/scala/scala-xml/blob/v2.0.0-M1/CHANGELOG.md

@ashawley ashawley added this to the 1.3.0 milestone Jan 31, 2020
@ashawley
Copy link
Member Author

I wonder if we should just wait for Scala.js 1.0? It should be coming out in a few days.

@SethTisue
Copy link
Member

SethTisue commented Feb 5, 2020

(as we were just discussing at #408 , I'd be content just doing a scala-xml 2.0.0 and at least provisionally just abandoning the scala-xml 1.x series)

@ashawley
Copy link
Member Author

ashawley commented Feb 6, 2020

Unfortunately, I predict the Lift framework will more likely benefit from a 1.3.0 release than a 2.0 milestone: 1) Their build looks like it still supports Scala 2.11 and 2) They likely depend on parts of scala-xml that were deprecated and removed in 2.0 milestone.

@ashawley
Copy link
Member Author

ashawley commented Feb 6, 2020

I'll try to do my part to make a 1.3.0 release. If I hit a wall, I probably won't spin my wheels on it for long.

@ashawley
Copy link
Member Author

ashawley commented Feb 6, 2020

Various updates to the build in #411

@ashawley
Copy link
Member Author

ashawley commented Feb 6, 2020

I've added draft release notes to this issue's description.

@SethTisue
Copy link
Member

s/Publish Scala.js for/Publish for Scala.js/, otherwise LGTM

@ashawley
Copy link
Member Author

ashawley commented Feb 6, 2020

I've pushed a v1.3.0 tag to Travis

https://travis-ci.org/scala/scala-xml/builds/646903177

@ashawley
Copy link
Member Author

ashawley commented Feb 6, 2020

As predicted in #411, publishing from this old branch didn't work

$ admin/build.sh
Releasing 1.3.0 with Scala 2.13.1 on Java version 8.
iv undefined
The command "admin/build.sh" exited with 1.

I deleted the tag and will need to revisit.

@ashawley
Copy link
Member Author

Looks like it is the openssl command in the build script:

K=$encrypted_6b8d67feaab7_key
IV=$encrypted_6b8d67feaab7_iv
openssl aes-256-cbc -K $K -iv $IV -in admin/secring.asc.enc -out admin/secring.asc -d

The $IV is empty.

@lrytz
Copy link
Member

lrytz commented Feb 20, 2020

So the relevant changes to back-port seem to be

I'm happy to do it, as I also want to push the simplification discussed in #406 (comment) through all the module repos, but I won't have time within the next few days...

@lrytz
Copy link
Member

lrytz commented Feb 24, 2020

#418 backports the build changes to 1.x

@andreak
Copy link

andreak commented Mar 12, 2020

Any progress on the 1.3.0 release?
This is blocking us from using Lift with Scala-2.13...

@ashawley
Copy link
Member Author

Lukas did the heavy lifting of fixing the build on the 1.x branch.

I've pushed a tag for 1.3.0:

https://travis-ci.org/github/scala/scala-xml/builds/663175069

Someone on the Scala team will have to publish.

@andreak
Copy link

andreak commented Mar 16, 2020

Great!

@SethTisue
Copy link
Member

artifacts are on their way to Maven Central

@ashawley
Copy link
Member Author

Thanks, looks like they made it.

I'll work on pasting the release notes.

@ashawley
Copy link
Member Author

ashawley commented Mar 17, 2020

@ashawley
Copy link
Member Author

Tweeted:
https://twitter.com/aaron_s_hawley/status/1239726990862802945

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

No branches or pull requests

4 participants