Scala-dev: Release 2.12.2

Created on 8 Mar 2017  路  38Comments  路  Source: scala/scala-dev

we'll document the steps taken in releasing 2.12.2 here (taken from our currently internal release checklist)

Most helpful comment

Macro paradise 2.1.0 for Scala 2.12.2 has been released as well: https://oss.sonatype.org/content/repositories/releases/org/scalamacros/paradise_2.12.2/. Scala.meta / scala.meta paradise releases are pending on a new release of Scala.js /cc @sjrd

All 38 comments

there is a checklist now at https://github.com/scala/scala-dev/issues/332 that I can copy here when the time comes.

some additional notes:

  • 2.11.9 2.11.10 is a prerequisite. (in general, but also specifically: case class apply/unapply, SCP-009 direct-dependency work)
  • draft release notes ahead of time, not at the end of the process
  • triage open JIRA tickets listed as 2.12.2
  • triage open scala-dev tickets listed as 2.12.2
  • update LICENSE in root dir
  • check in with @dwijnand about trailing commas stuff (#299); we want to make sure that all rolls out smoothly
  • before releasing, tell the community which nightly we intend to rebrand as 2.12.2, and invite them to test it

status update: 2.11.9 is on Maven Central but not announced (while Adriaan looks into a possible regression). we're still expecting/hoping to release 2.12.2 next week after merging a few additional PRs. the shape of the release can be seen from the 2.12.2 milestone, especially the PRs with the release-notes tag

Thank you @xuwei-k. Glad you caught this before 2.12.2! I will revert the incompatible change.

we should probably also merge 2.11.x to 2.12.x once 2.11.10 is tagged

@adriaanm I'm hoping you could do the 2.11->2.12 merge, since you're already spun up on what the changes are

  • [X] I'll double check the bytecode. (for the record, scala/scala#5673, scala/scala#5663, scala/scala#5579 added bytecode-public methods)

    • [x] could someone else (@szeiger?) check the PRs I listed above and make sure we're still cool shipping them, knowing what we learned from 2.11.9?

Here's the full bytecode diff of the library from 2.12.1 to 2.12.2: https://gist.github.com/adriaanm/dccef51d7ef9aa2bb1c0688945d4c8cd

https://github.com/scala/scala/pull/5402 is merged. I pushed some community build tweaks and started a trial release-main job. current release candidate is scala/scala@15e2759f49a3ef0f71290f4bbd9839cbf2346b0e

pcplod failed in a strange way (https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-community-build/1414/consoleFull)

[pcplod:error] scala.MatchError: fef15bff+20170411-0503-SNAPSHOT (of class java.lang.String)
[pcplod:error]  at com.typesafe.dbuild.project.build.LocalBuildRunner$.prepareDepsArtifacts(LocalBuildRunner.scala:110)

maybe the switch to a new branch in https://github.com/scala/community-builds/commit/7032ae82a21c6055f479010d08cc0dca4efe2b08 caused the version number to change?

No the problem is the fork didn't retrain the tags which the version depends upon (via my sbt-dynver plugin).

ach so! thanks :)

@SethTisue Has the trial build been published somewhere?

@dwijnand glad you figured that out because I had been baffled

@lrytz the new build failed in the same way. perhaps it wasn't a truly fresh build? I pushed an empty commit to the pcplod fork, trying again at https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-community-build/1416/consoleFull

UPDATE: yup, green now

I need to fix my breaking scalameta in https://github.com/scala/scala/pull/5816. PR forthcoming asap

@adriaanm Please let me know when you're done. I'll see whether your changes are compatible with paradise.

@xeno-by The revert in scala/scala#5844 hopefully makes 2.12.2 fully compatible with 2.12.1 for scala.meta. Let me know if I missed something!

I hit "merge" on 5844 and kicked off a new release-main job at https://scala-ci.typesafe.com/job/scala-2.12.x-release-main/756/consoleFull

The breakage discovered by akkasse is tracked as https://github.com/scala/bug/issues/10261

I took another look at https://github.com/scala/scala/pull/5673, https://github.com/scala/scala/pull/5663 and https://github.com/scala/scala/pull/5579. They look OK to me from a binary compatibility PoV.

馃巿 Scala 2.12.2 is now staged at https://oss.sonatype.org/content/repositories/staging/. We intend to tag & promote to Maven Central next Tuesday, unless we hear of any regressions. 馃檹

FYI: I will be on vacation in New York from tomorrow until Sunday April 23. I should be able to release Scala.js for 2.12.2 at some point, but I might not be as reactive as usual.

Thanks for the heads up. Have a great time!

I created a v2.12.2 branch to address scala/bug#10263

Macro paradise 2.1.0 for Scala 2.12.2 is now available at: https://oss.sonatype.org/content/repositories/orgscalamacros-1073/. Will release that staging repo once Scala 2.12.2 is released.

Thanks for the report, @xuwei-k. As discussed in the ticket, the change was intentional.

馃帀 Tags pushed and staging repo promoted!

Macro paradise 2.1.0 for Scala 2.12.2 has been released as well: https://oss.sonatype.org/content/repositories/releases/org/scalamacros/paradise_2.12.2/. Scala.meta / scala.meta paradise releases are pending on a new release of Scala.js /cc @sjrd

2.12.2 is on Maven Central and fully announced. version bump PR to follow

Scala.js 0.6.15 released for Scala 2.12.2.

Meta & meta paradise 1.7.0 released for 2.12.2.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

retronym picture retronym  路  7Comments

KieranPringle picture KieranPringle  路  7Comments

adriaanm picture adriaanm  路  3Comments

lrytz picture lrytz  路  4Comments

lrytz picture lrytz  路  7Comments