FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Migrate to Scala 3.9.0 LTS by pierscin · Pull Request #525 · softwaremill/ox · GitHub

Repository navigation

Migrate to Scala 3.9.0 LTS - #525

Draft
pierscin wants to merge 2 commits into
masterfrom
scala-3-9-migration
Draft

pierscin wants to merge 2 commits into
masterfrom
scala-3-9-migration

Conversation

pierscin commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Needs scala 3.9+ - probably needs new minor version

pierscin and others added 2 commits October 6, 2026 10:13
- scalaVersion 3.3.8 -> 3.9.0; Scala Steward pin 3.3. -> 3.9.
- drop -Yfuture-lazy-vals: rejected by 3.9 ("bad option"), VarHandle-based
  lazy vals are the default since 3.8
- KafkaStage: pass the SortedSet ordering with `using` (3.9 no longer
  accepts an explicit argument list for the implicit parameter there)
- resource.scala: with 3.9, the NoEnclosingConcurrencyScope given is emitted
  returning void, so the BoxedUnit version (linked by code compiled with
  3.3) is now provided explicitly via @TargetNAME; keeps MiMa green
  (scala/scala3#24653)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- `_` type wildcards -> `?`, `xs: _*` -> `xs*`, `= _` -> `= uninitialized`
- remove unused imports/params/pattern vars reported by the new unused checker
  (`@unused` where the parameter is part of the public API)
- remove a written-but-never-read `successCalls` counter in CircuitBreakerStateMachine
- `@unchecked` type tests for local classes in flattenPar / groupBy (TODO(scala-3.9))

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL