Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 1, 2025

  • Analyze the breaking changes from ICU4X 2.0/2.1
  • Update all ICU dependencies in Cargo.toml to stable 2.1.1 versions
    • icu_calendar: 1.5.2 → 2.1.1
    • icu_datetime: 1.5.1 → 2.1.1
    • icu_experimental: 0.2.0 → 0.4.0
    • icu_plurals: 1.5.0 → 2.1.1
    • icu_provider: 1.5.0 → 2.1.1
    • icu_provider_adapters: 1.5.0 → 2.1.1
    • icu_normalizer: 1.5.0 → 2.1.1
    • writeable: 0.5.5 → 0.6.2
    • Replace deprecated icu_locid and icu_locid_transform with icu_locale and icu_locale_core
  • Update code in crates/i18n/src/translator.rs to match new API
    • Replace LocaleFallbackerWithConfig with LocaleFallbacker
    • Replace DataKey with DataMarkerInfo (removed data key usage)
    • Update PluralRules to use new try_new_cardinal API
    • Update RelativeTimeFormatter to use new preferences API
    • Extract data_locale_to_locale helper function to reduce duplication
    • Replace is_und() with is_unknown()
  • Update code in crates/i18n/src/lib.rs to use new exports
  • Update code in crates/axum-utils/src/language_detection.rs
    • Replace try_from_bytes with try_from_utf8
  • Update code in crates/templates/src/functions.rs
    • Replace IsoTimeInput trait adapter with direct Time struct usage
  • Update code in crates/handlers/src/passwords.rs
    • Fix normalize() return type (Cow to String)
  • Update code in crates/handlers/src/oauth2/token.rs
    • Fix locale parsing error handling with logging
  • Build and test the changes
  • Run code review and address feedback

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 1, 2025

Deploying matrix-authentication-service-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2fd4caa
Status: ✅  Deploy successful!
Preview URL: https://2eceab66.matrix-authentication-service-docs.pages.dev
Branch Preview URL: https://copilot-sub-pr-5168.matrix-authentication-service-docs.pages.dev

View logs

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.

2 participants