we'll document the steps taken in releasing 2.12.2 here (taken from our currently internal release checklist)
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:
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
There is a same issue as Scala 2.11.9 (broken forward binary compatibility)
Thank you @xuwei-k. Glad you caught this before 2.12.2! I will revert the incompatible change.
most 2.12.2 JIRA tickets have now been assigned to "Backlog" or 2.12.3. four open tickets left at https://issues.scala-lang.org/issues/?jql=project%20%3D%20SI%20AND%20status%20%3D%20Open%20AND%20fixVersion%20%3D%20%22Scala%202.12.2%22%20ORDER%20BY%20status%20ASC , the relevant PRs are https://github.com/scala/scala/pull/5762 and https://github.com/scala/scala/pull/5402
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
Merge PR: https://github.com/scala/scala/pull/5837
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?
@xeno-by 2.12.2-bin-15e2759 on https://scala-ci.typesafe.com/artifactory/scala-integration
@SethTisue I pushed the tags from https://github.com/ensime/pcplod to https://github.com/scalacommunitybuild/pcplod and re-started the build at https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-community-build/1415/console
@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!
https://scala-ci.typesafe.com/job/scala-2.12.x-release-main/760/
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!
Release announcement: https://github.com/scala/scala-lang/pull/636
Release notes: https://github.com/scala/scala/releases/tag/v2.12.2
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.
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