Repository navigation
[scala-sttp4-jsoniter] bump Scala to 3.3.9, sttp to 4.0.27, jsoniter-scala to 2.42.0 - #25447
Merged
wing328 merged 1 commit intoOct 28, 2026
Conversation
…scala to 2.42.0 - Scala 3.3.8 -> 3.3.9 in the generated build.sbt - sttp client 4.0.26 -> 4.0.27 (sttpClientVersion option default) - jsoniter-scala 2.40.1 -> 2.42.0 (jsoniterVersion option default, applied to the generated build.sbt's core/macros/circe artifacts) - sbt 1.13.0 -> 1.13.1 in the generated project's build.properties - sbt-scalafmt 2.5.6 -> 2.6.2 and scalafmt 3.10.6 -> 3.11.5 - scalafmt runner.dialect scala213 -> scala3, since the generated code is Scala 3 and the scala213 dialect could not parse it - use the Scala 3 vararg splice `xs*` instead of `xs: _*` in api.mustache sttp stays on the 4.0.x line: 4.1.0 is built with Scala 3.9 and cannot be consumed from Scala 3.3 LTS. Docs and the petstore sample updated to match.
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[scala-sttp4-jsoniter] bump Scala to 3.3.9, sttp to 4.0.27, jsoniter-scala to 2.42.0
xs*instead ofxs: _*in api.mustachesttp stays on the 4.0.x line: 4.1.0 is built with Scala 3.9 and cannot be consumed from Scala 3.3 LTS. Docs and the petstore sample updated to match.
PR checklist
Commit all changed files.
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*.IMPORTANT: Do NOT purge/delete any folders/files (e.g. tests) when regenerating the samples as manually written tests may be removed.
Summary by cubic
Bumps the dependency defaults and generated project versions for the
scala-sttp4-jsoniterclient, and updates generated code to Scala 3 vararg syntax.scala213toscala3; the old dialect could not parse the generated Scala 3 code.xs*instead of the removed Scala 2 syntaxxs: _*.Written for commit eb2459e. Summary will update on new commits.