Skip to content

Commit 5af7242

Browse files
committed
New Compatibility Notice
1 parent 37b52cc commit 5af7242

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

blog/_posts/2021-10-19-scala-3.1.0-released.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@ Hello from the Scala 3 team! It has already been six weeks since we have announc
1010

1111
This is a first *minor* release after the initial release of Scala 3.0. This has following consequences:
1212

13-
- Scala 3.1 is backward source compatible: any code that was working in 3.0 will also work in 3.1.
1413
- Scala 3.1 is backward binary compatible: you can use dependencies compiled with Scala 3.0 in 3.1 projects.
1514
- Scala 3.1 is _not_ forward binary compatible: you _cannot_ use dependencies compiled with Scala 3.1 in Scala 3.0 projects.
1615
- Updating Scala to 3.1 is not a forward compatible change. If you are a library maintainer and are following SemVer you may want to update in your next minor release.
1716

17+
Although we cannot guarantee full source compatibility between minor versions, we have put a lot of effort into assuring that all code that was working in 3.0.2, except some rare cases, will also work in 3.1.0. This means that if you are an application developer, you can confidently update the compiler version to take advantage of the newest improvements.
18+
19+
If you are a library maintainer, updating to 3.1.0 will force all of your users to need to update as well. You may consider still publishing your library using 3.0.2 to ensure that users who are reluctant to update a compiler can still use it. On the other hand, we still encourage you to test your library using 3.1.0. We understand that the current state of binary compatibility may be unsatisfactory for library maintainers. We are actively working on improvements in this area in future releases on scala.
20+
1821
## What's new in 3.1
1922

2023
### New experimental feature: safer exceptions

0 commit comments

Comments
 (0)