GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Upgrade Scala to 3.7.1 and use Scala 3 code format style by xerial · Pull Request #899 · msgpack/msgpack-java

Conversation

@xerial

@xerial xerial commented Jul 19, 2025

Copy link
Copy Markdown
Member

Summary

  • Upgrades Scala version from 2.13.12 to 3.7.1
  • Updates scalafmt configuration to use Scala 3 dialect and modern formatting rules
  • Fixes all Scala 3 compatibility issues in test files

Changes

  • build.sbt: Updated scalaVersion to "3.7.1"
  • .scalafmt.conf: Updated to use scala3 dialect with modern formatting options including:
    • Scala 3 syntax conversion and optional brace removal
    • Shorter line length (100 characters)
    • Enhanced formatting for docstrings and top-level statements
  • Test files: Fixed lambda syntax and removed deprecated function reference syntax

Test plan

  • Code compiles successfully with Scala 3.7.1
  • All existing tests pass
  • Scalafmt formatting applied to all Scala files
  • No functional changes to library behavior

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
xerial and others added 3 commits July 19, 2025 10:26
@xerial @claude
Upgrade Scala to 3.7.1 and update code format style
7bbea6b
- Upgrade Scala version from 2.13.12 to 3.7.1 in build.sbt
- Update scalafmt.conf to use Scala 3 dialect and modern formatting rules
- Fix Scala 3 compatibility issues in test files:
  - Update lambda syntax to use parentheses around parameters
  - Remove deprecated underscore suffix from function references
  - Apply Scala 3 formatting with scalafmt

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@xerial
Resolve merge conflict and update scalafmt to 3.9.8
965bd97
- Resolve merge conflict in MessagePackTest.scala by using Scala 3 compatible syntax
- Update scalafmt version from 3.9.4 to 3.9.8
- Apply formatting with updated scalafmt version
@xerial
Update CLAUDE.md for Scala 3.7.1 and modern sbt syntax
d35bcd5
- Fix build command to use modern sbt syntax: Test / compile instead of test:compile
- Update Scala version reference to 3.7.1 in testing structure
- Update scalafmt configuration notes to reflect Scala 3 dialect and 100 char limit
@github-actions github-actions Bot added the doc label Jul 19, 2025
xerial added 3 commits July 19, 2025 10:32
@xerial
Update CLAUDE.md to recommend latest Scala 3 version
91baa8d
- Change specific version reference to 'always use the latest Scala 3 version'
- This ensures the documentation remains current as new Scala 3 versions are released
@xerial
Update README.md for modern sbt syntax and Scala 3
157bd01
- Fix sbt command syntax: change test:compile to 'Test / compile'
- Add note about Scala 3 dialect and latest version recommendation
- Ensure developer documentation matches current project configuration
@xerial
Update scalafmtAll command description
0da04b4
- Change comment from 'Format Scala test code' to 'Format all Scala and sbt code'
- More accurately reflects what scalafmtAll does (formats all Scala files, not just tests)
- Apply change to both README.md and CLAUDE.md for consistency
@xerial
xerial enabled auto-merge (squash) July 19, 2025 17:34
@xerial
xerial merged commit 2bb4834 into main Jul 19, 2025
@xerial
xerial deleted the upgrade-scala-3.7.1 branch July 19, 2025 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

doc

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@xerial
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.