Skip to content

chore(deps): update rust crate icu_casemap to v2.3.0 - #347

Merged
tinovyatkin merged 2 commits into
mainfrom
renovate/icu_casemap-2.x-lockfile
Aug 17, 2026
Merged

chore(deps): update rust crate icu_casemap to v2.3.0#347
tinovyatkin merged 2 commits into
mainfrom
renovate/icu_casemap-2.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • update icu_casemap and its ICU4X dependency graph from 2.2.0 to 2.3.0
  • retain ANTLR's ICU-only Unicode properties despite their new ICU4X deprecations
  • isolate the deprecated compatibility APIs so strict clippy remains effective elsewhere
  • preserve source compatibility with ICU4X 2.2, where the newer CCC field access is unavailable

Why

ICU4X 2.3 deprecated six non-UCD binary-property marker types and the
canonical combining class numeric accessor. ANTLR's Java Unicode data surface
still exposes those properties, and the Rust generator verifies parity against
that surface, so removing them would be a behavior regression.

Verification

  • cargo clippy --locked --workspace --all-targets --all-features -- -D warnings
  • cargo test --locked --workspace --all-features
  • cargo test --locked -p antlr-rust-codegen every_unicode_property_and_alias_matches_java -- --nocapture

@codspeed-hq

codspeed-hq Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 17 untouched benchmarks


Comparing renovate/icu_casemap-2.x-lockfile (d4592de) with main (0506775)

Open in CodSpeed

@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

ICU4X 2.3 deprecates six non-UCD property markers and the canonical combining class numeric accessor. ANTLR's Java UnicodeData surface still exposes those properties, while the manifest remains compatible with ICU4X 2.2. Isolate the required compatibility uses behind narrow deprecation allowances so the dependency update passes strict clippy without dropping Unicode-property parity or raising the minimum dependency version.
@github-actions

Copy link
Copy Markdown

Copy/Paste Detection

No duplications found in 1 changed non-generated Rust file(s) (threshold: 100 tokens).

@github-actions

Copy link
Copy Markdown

📊 Source Code Metrics (this PR vs main)

File Cyclomatic Cognitive Functions LLOC MI
crates/antlr-rust-codegen/src/grammar/unicode.rs 237 (main: 234) 🔴 92 (main: 91) 🔴 63 (main: 61) 🔴 353 (main: 350) 🔴 0 ⚪

Generated by mehen v1.8.1 — the code quality watcher.

@tinovyatkin

Copy link
Copy Markdown
Contributor

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@tinovyatkin
tinovyatkin merged commit 8b768a6 into main Aug 17, 2026
13 checks passed
@tinovyatkin
tinovyatkin deleted the renovate/icu_casemap-2.x-lockfile branch August 17, 2026 12:49
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