Scala 3 Migration guide

Scala 3 Migration guide

  • User Guide
  • Contribute
  • GitHub
Project Logo

Scala 3 Migration guideAn evolving guide to support the migration to Scala 3

Get started
Icon made by Nikita Kozin from the Noun Project

Compatibility Reference

Scala 3 has been carefully designed to improve the backward and forward compatibility of the Scala programming language.

In the Compatibility Reference you will learn about the compatibility between Scala 2.13 and Scala 3.0 in the context of the migration.

Scala 3 Migration Mode

The Scala 3 compiler is, in itself, a migration tool that can assist you while doing the migration.

No installation required, everything is in the compiler. Discover the Scala 3 Migration Mode.

Icon made by Maxime Kulikov from the Noun Project.
Icon made by Eucalyp from the Noun Project.

Porting Macros

Scala 3 provides a toolbox full of metaprogramming features, which are safer, more robust, and much more stable than their counterparts in Scala 2. Implementing macro libraries in Scala 3 is simpler and the resulting libraries are easier to maintain across future versions of Scala. The improvements come at a price: the metaprogramming facilities have been re-designed from the ground up. In consequence, existing macro libraries need to be ported to the new interfaces.

In the Macros section, you will find helpful content to port your macros code to Scala 3.

Scala 3 Migration guide
Docs
User GuideContribute
Community
Chat on GitterDiscuss on Scala Users
More
GitHub
Copyright © 2021 Scala Center