Migrating to Scala 2.13
summary
Scala 2.13 ships a full collection redesign (M4 released on Maven Central) that makes Seq immutable by default, removes legacy compiler flags and replaces CanBuildFrom with BuiltFrom / Factory semantics, moves parallel collections to a separate module and drops scala-xml as a transitive dependency. Migration uses SBT and the scalafix-based migration rule newcollections plus the scala-collection-compat library for cross-building; recommended steps are enable deprecation warnings, fix deprecations on 2.12, run the scalafix rule, add explicit imports or to/unsafeWrapArray where needed.
AI-written summary · about
chapters (12)
- 0:00Start
- 3:39Compiler Flags
- 5:18Disable Automatic Ada Expansion of Zero Arc Methods
- 5:49Modules
- 6:05Parallel Collections
- 6:36Scala Xml
- 11:30Recap of the Goals of the Collection Redesign
- 14:45Scala Collection Immutable Array Seek
- 18:12Factory
- 20:33Future Dot Sequence
- 24:17Custom Collection Types
- 31:42Custom Corrections








