Skip to content

Update libraries to modern ones#599

Open
dwoot-verily wants to merge 7 commits intotwitter:developfrom
dwoot-verily:update-libaries
Open

Update libraries to modern ones#599
dwoot-verily wants to merge 7 commits intotwitter:developfrom
dwoot-verily:update-libaries

Conversation

@dwoot-verily
Copy link
Copy Markdown

No description provided.

dwoot-verily and others added 7 commits March 25, 2026 20:16
- Update release version to 24.8.0-SNAPSHOT for util, finagle, scrooge, twitter-server
- Add CLAUDE.md with codebase documentation for Claude Code
- Fix missing info import in EmbeddedThriftServer
- Simplify StatsReceiver scope calls to use single scope() with multiple args
- All 1,390 tests passing with Java 21 and Scala 2.13.18
Revert to using hierarchicalScope and dimensionalScope APIs now that
we have the latest finagle 24.8.0-SNAPSHOT build which includes proper
dimensional metrics support.

This provides both hierarchical (backward compatible) and dimensional
(modern) metrics with labels for better observability.

Changes:
- ExceptionManager: Use hierarchicalScope/dimensionalScope/label for exception metrics
- StatsFilter: Use hierarchicalScope/dimensionalScope/label for route metrics

All 1,390 tests passing.
- Upgrade Guice from 5.1.0 to 7.0.0 (latest)
- Upgrade scala-guice from 5.1.0 to 7.0.0
- Migrate from javax.inject to jakarta.inject namespace (201 occurrences across all files)
- Replace javax.inject dependency with jakarta.inject-api 2.0.1
- Upgrade Jackson from 2.18.6 to 2.21.2 with annotations 2.21
- Upgrade Logback from previous version to 1.5.32 (security fixes)
- Upgrade SLF4J to 2.0.17 (security fixes)
- Upgrade Mustache to 0.9.14
- Fix ScalaObjectHandler for mustache.java 0.9.14 API changes (Array[AnyRef] -> java.util.List[Object])

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Update release version from 24.8.0-SNAPSHOT to 24.9.0-SNAPSHOT with comprehensive CHANGELOG entries covering all library upgrades: Thrift 0.22.0, Jackson 2.21.2, Guice 7.0.0, SLF4J 2.0.17, and other dependencies. Include upgrade documentation and test results.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants