Skip to content

Commit 0bcd0a4

Browse files
committed
Merge pull request scala#4489 from lrytz/versions
Update versions.properties after 2.12.0-M1
2 parents 3953433 + 48328cc commit 0bcd0a4

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

scripts/jobs/integrate/bootstrap

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,17 @@
5959
# (*) https://github.com/sbt/sbt/blob/0.13.8/util/cross/src/main/input_sources/CrossVersionUtil.scala#L39
6060

6161

62-
# Binary incompatible changes in Modules: example with Scala 2.11 / 2.12 and scala-xml
63-
# - Simple case: Scala 2.11 and 2.12 use the same scala-xml version, for example v1.0.3
64-
# - Only one branch in the module repostiory. This branch is cross-built against 2.11 and 2.12.
65-
# - This set-up does not allow incompatible changes in scala-xml for Scala 2.12.
66-
# - General case: The scala-xml authors want to introduce incompatible changes for 2.12
67-
# - The scala-xml minor version needs to be increased, so 2.12 would depend on scala-xml v1.1.x (or maybe v2.0.x)
68-
# - The repostiory for scala-xml would have separate branches for each minor version (1.0.x, 1.1.x)
69-
# - This allows building new (binary compatible) versions that target Scala 2.11
70-
# - The Scala release script would require some work, it is currently not prepared to handle branches in module repositories
62+
# Binary incompatible changes in Modules: example with Scala 2.11 / 2.12 and scala-parser-combinators
63+
# - The 1.0.x branch on scala-parser-combinators remains binary compatible with 1.0.0
64+
# - Scala 2.11 will always use 1.0.x releases: we ship scala-parser-combinators with the distribution,
65+
# so we cannot introduce incompatible changes in a minor release.
66+
# - The master branch of scala-parser-combinators contains binary incompatible changes, versioned 1.1.x
67+
# - Scala 2.12 will use 1.1.x releases
68+
# - No changes to the build script required: just put the 1.1.x version number into versions.properties
69+
#
70+
# Note: It's still OK for a module to release a binary incompatible version to maven, for example
71+
# scala-parser-combinators_2.11 % 1.1.0. Users can depend on this in their sbt build. But for the
72+
# distribution (tar/zip archives, scala-library-all) we have to stay on the binary compatible version.
7173

7274

7375
# Requirements

versions.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Tue, 20 May 2014 10:01:37 +0200
1+
#Fri, 01 May 2015 16:27:16 +0000
22
# NOTE: this file determines the content of the scala-distribution
33
# via scala-dist-pom.xml and scala-library-all-pom.xml
44
# when adding new properties that influence a release,
@@ -8,7 +8,7 @@
88
# The scala version used for boostrapping. This has no impact on the final classfiles:
99
# there are two stages (locker and quick), so compiler and library are always built
1010
# with themselves. Stability is ensured by building a third stage (strap).
11-
starr.version=2.11.6
11+
starr.version=2.12.0-M1
1212

1313
# These are the versions of the modules that go with this release.
1414
# These properties are used during PR validation and in dbuild builds.
@@ -19,7 +19,7 @@ starr.version=2.11.6
1919
# - After 2.x.0 is released, the binary version is 2.x.
2020
# - During milestones and RCs, modules are cross-built against the full version.
2121
# So the value is the full version (e.g. 2.12.0-M1).
22-
scala.binary.version=2.11
22+
scala.binary.version=2.12.0-M1
2323

2424
# external modules shipped with distribution, as specified by scala-library-all's pom
2525
scala-xml.version.number=1.0.4

0 commit comments

Comments
 (0)