Skip to content

Latest commit

 

History

History
156 lines (87 loc) · 9.93 KB

File metadata and controls

156 lines (87 loc) · 9.93 KB

Changelog

1.1.2 (2025-11-17)

Bug Fixes

  • add optimizeLocaleBundles option to plugin configuration (a5a8de5)
  • server: make localeMiddleware generic to support all call signatures (46b90e7)
  • support <rootDir> in lingui config under windows (afa4076)
  • test: add createLocaleRoutesStub for handling multiple test routes (65b4ecd)
  • test: use localeMiddleware in createLocaleRouteStub (6c03cf6)

1.1.1 (2025-11-08)

Bug Fixes

  • don't force the client to join multiple catalogs (6dd7044)
  • don't generate chunks for server (0ea6858)

1.1.0 (2025-11-07)

Features

  • add changeLocale function to handle locale changes and redirects (9234ef7)
  • add changeLocale to RouteLocale object (1693905), closes #85
  • expose userLocales property (4e80d14)
  • rename usePathLocale to useRouteLocale, deprecate usePathLocale (978dc70)

Bug Fixes

  • add support for custom useLingui module configuration (8c66dcc)
  • correct locale normalization in URL redirect (c5626c3)
  • enhance i18n handling in I18nApp and usePathLocale (6a362c6)
  • fix minified code build and backticks in locales (036f465)
  • further optimize usePathLocale, main logic now moved to I18nApp component (4815ff0)
  • remove I18nApp dependency on usePathLocale (d9a6fd9)
  • remove identity mappings from localeMapping (6c9ce2e)

1.0.1 (2025-11-04)

Bug Fixes

  • move cldr-core dependency to direct dependencies (b8f504d)

1.0.0 (2025-11-04)

⚠ BREAKING CHANGES

  • removed localeRoutes from lingui-react-router

Features

  • add defaultLocaleMapping plugin config (d0664a3)
  • add defineLinguiRouterConfig function (400a802)
  • add locale mapping configuration for improved locale detection (d2c7527)
  • add locale normalization and parent locale mapping (9037056)
  • add locale parameter name configuration for improved locale handling (5cf9615)
  • add support for custom catalog extensions in locale module (2837a6e)
  • add support for custom runtimeConfigModule i18n config (9db65c0)
  • enhance locale handling and configuration (edece57)
  • enhance localization support and configuration (b19722a), closes #22
  • enhance testing support with createLocaleRouteStub function (7655d0e)
  • removed localeRoutes from lingui-react-router (828313c)
  • support fallback locales (96ca054)

Bug Fixes

  • add cycle detection to localeMapping resolution (b252432)
  • don't add user defined locales to fallbackLocales (6d70822)
  • fix unknown locale handling (cb7c3a8)
  • loadInitialLocale should respect lingui runtimeConfigModule config (3d80aaf)
  • resolve catalog path properly (ff114aa)

0.3.2 (2025-10-24)

⚠ BREAKING CHANGES

  • useLinguiServer() now requires router context explicitly

Bug Fixes

  • remove dependency on vite, don't leak vite Plugin (110e773)
  • publish: update npm before publish to fix OIDC publishing (d397095)
  • moved server context to explicit RouterContextProvider, which useLinguiServer now requires (09a2d89)

0.2.3 (2025-10-10)

Bug Fixes

  • plugin: added missing recursive flag to mkdir (6b6d27b)

0.2.2 (2025-10-10)

Bug Fixes

  • support for locale preloading (c4fd719), closes #18

0.2.1 (2025-10-03)

Bug Fixes

  • add automatically lingui-react-router to ssr.noExternal (51107f6)

0.2.0 (2025-10-03)

Features

  • introducing linguiRouterPlugin (3a97551)
  • introducing linguiRouterPlugin (f394f9f)

0.1.9 (2025-09-29)

Bug Fixes

  • reorganize package.json metadata and add repository link (17c60ba)

0.1.8 (2025-09-29)

Bug Fixes

  • improve route ID generation with locale prefix handling (346dad1)

0.1.7 (2025-09-29)

Bug Fixes

  • fixed root layout lingui usage, added docs for I18nApp component (5ccec96)

0.1.6 (2025-09-29)

Bug Fixes

  • ci: use custom token for release-please (f98927f)

0.1.5 (2025-09-29)

Bug Fixes

  • extract localized routing into separate module and simplify config (612596b)
  • set global i18n in middleware only (0095332)