Skip to content

3.1 release blogpost #1284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
Oct 21, 2021
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
17437a4
Draft of 3.1 release blogpost
Kordyjan Oct 15, 2021
a5477d9
Apply some suggestions from code review
Kordyjan Oct 18, 2021
f021a91
Grammar fixes
Kordyjan Oct 18, 2021
a335e6b
Some clarifications in the 3.1 blogpost
Kordyjan Oct 18, 2021
1b430cf
Add compatibility notice
Kordyjan Oct 19, 2021
638f70f
Add point about unreductible match types raising error
Kordyjan Oct 19, 2021
c1ec919
Add contributors list
Kordyjan Oct 19, 2021
31f3083
Update other files related to the 3.1.0 release
Kordyjan Oct 19, 2021
30982b1
Add a paragraph about Mirrors for hierarchical sum types
Kordyjan Oct 20, 2021
2509e8a
Update blog/_posts/2021-10-19-scala-3.1.0-released.md
Kordyjan Oct 20, 2021
7ebcf45
Update blog/_posts/2021-10-19-scala-3.1.0-released.md
Kordyjan Oct 20, 2021
37b52cc
Update blog/_posts/2021-10-19-scala-3.1.0-released.md
Kordyjan Oct 20, 2021
5af7242
New Compatibility Notice
Kordyjan Oct 20, 2021
4410b30
Update the publication date
Kordyjan Oct 20, 2021
76d68d4
Two small clarifications
Kordyjan Oct 20, 2021
e0cdb31
Add stronger statement of our commitment
Kordyjan Oct 20, 2021
f20da70
Update blog/_posts/2021-10-21-scala-3.1.0-released.md
Kordyjan Oct 20, 2021
ba28464
Update blog/_posts/2021-10-21-scala-3.1.0-released.md
Kordyjan Oct 20, 2021
ec42953
Last clarifications
Kordyjan Oct 21, 2021
8bc74a5
Apply suggestions from code review
Kordyjan Oct 21, 2021
c59eb20
Update blog/_posts/2021-10-21-scala-3.1.0-released.md
Kordyjan Oct 21, 2021
0a7655f
Add note about versioning scheme
Kordyjan Oct 21, 2021
48b9ece
Change `canThrow` to `throws`
Kordyjan Oct 21, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion blog/_posts/2021-10-19-scala-3.1.0-released.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ Hello from the Scala 3 team! It has already been six weeks since we have announc

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

- Scala 3.1 is backward source compatible: any code that was working in 3.0 will also work in 3.1.
- Scala 3.1 is backward binary compatible: you can use dependencies compiled with Scala 3.0 in 3.1 projects.
- Scala 3.1 is _not_ forward binary compatible: you _cannot_ use dependencies compiled with Scala 3.1 in Scala 3.0 projects.
- 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.

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.

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.

## What's new in 3.1

### New experimental feature: safer exceptions
Expand Down