|
59 | 59 | # (*) https://github.com/sbt/sbt/blob/0.13.8/util/cross/src/main/input_sources/CrossVersionUtil.scala#L39
|
60 | 60 |
|
61 | 61 |
|
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. |
71 | 73 |
|
72 | 74 |
|
73 | 75 | # Requirements
|
|
0 commit comments