Skip to content

internal: Update examples to airframe 2026.2.2 on sbt 2#4189

Merged
xerial merged 1 commit into
mainfrom
internal/sbt2-docs-and-examples
Jul 2, 2026
Merged

internal: Update examples to airframe 2026.2.2 on sbt 2#4189
xerial merged 1 commit into
mainfrom
internal/sbt2-docs-and-examples

Conversation

@xerial

@xerial xerial commented Jul 2, 2026

Copy link
Copy Markdown
Member

Summary

Finishes the sbt 2.0.1 migration for the example projects (not covered by CI) now that airframe 2026.2.2 is on Maven Central.

  • Bump the examples' airframe library dependency 2026.1.12026.2.2, matching their sbt-airframe 2026.2.2 plugin.
  • Move the Scala 3 examples (rpc-scalajs, hello-rpc) to Scala 3.3.7: the 2026.2.2 _3 artifacts are built with 3.3.7, whose TASTy a 3.2.2 consumer can't read.
  • Move gallery to Scala 3.3.7 as well (its source already uses Scala 3 import ...all.*), drop the Scala-2-only -Yrangepos, and parenthesize one single-arg lambda for Scala 3.

Verified

All three examples compile against the published 2026.2.2 artifacts. hello-rpc and rpc-scalajs also exercise the AirframeHttpPlugin RPC client codegen end-to-end (generated GreeterRPC.scala / ServiceRPC.scala, downloading airframe-http-codegen 2026.2.2).

Docs

No changes needed: docs/mdoc compiles cleanly under sbt 2.0.1 (30 files, 0 errors — the one warning is a pre-existing broken link). The docusaurusPublishGhpages step is node-side tooling, unaffected by the sbt migration.

🤖 Generated with Claude Code

Bump the example projects' airframe library dependency 2026.1.1 ->
2026.2.2 (now released) to match their sbt-airframe 2026.2.2 plugin.

Move the Scala 3 examples (rpc-scalajs, hello-rpc) to Scala 3.3.7:
airframe 2026.2.2 _3 artifacts are built with 3.3.7, whose TASTy a
3.2.2 consumer cannot read. Move gallery to Scala 3.3.7 too (its source
already uses Scala 3 `import ...all.*` syntax), drop the Scala-2-only
-Yrangepos flag, and parenthesize a single-arg lambda for Scala 3.

Verified all three examples compile (hello-rpc and rpc-scalajs also
exercise the AirframeHttpPlugin RPC client codegen end-to-end against
the 2026.2.2 plugin + libraries on Maven Central).

The docs build needs no changes: docs/mdoc compiles cleanly under
sbt 2.0.1 (the docusaurus publish is node-side tooling, unaffected).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the AIRFRAME_VERSION to 2026.2.2 and upgrades the Scala version to 3.3.7 across several example projects. It also removes the -Yrangepos compiler option from the gallery demo and applies a minor syntax adjustment to a lambda parameter in Gallery.scala. There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@mergify

mergify Bot commented Jul 2, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@xerial xerial merged commit fe85d55 into main Jul 2, 2026
24 checks passed
@xerial xerial deleted the internal/sbt2-docs-and-examples branch July 2, 2026 21:29
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