fix(deps): update dependency next-intl to v4 [security]#342
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
fix(deps): update dependency next-intl to v4 [security]#342renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR contains the following updates:
^3.14.1→^4.0.0GitHub Vulnerability Alerts
GHSA-8f24-v5vv-gm5j
Impact
Applications using the
next-intlmiddleware withlocalePrefix: 'as-needed'could construct URLs where path handling and the WHATWG URL parser resolved a relative redirect target to another host (e.g. scheme-relative//or control characters stripped by the URL parser), so the middleware could redirect the browser off-site while the user still started from a trusted app URL.Patches
The problem has been patched, please update to
next-intl@4.9.1.Credits
Many thanks to Joni Liljeblad from Oura for responsibly disclosing the vulnerability and for suggesting the fix.
Release Notes
amannn/next-intl (next-intl)
v4.9.1Compare Source
Bug Fixes
v4.9.0Compare Source
Features
transitionTypesonLink(#2302) (02811f5) – by @amannnv4.8.4Compare Source
Bug Fixes
v4.8.3Compare Source
Bug Fixes
@formatjs/intl-localematcher(#2265) (196f1f3) – by @amannnv4.8.2Compare Source
Bug Fixes
next.config.ts(#2245) (f57800e) – by @amannnv4.8.1Compare Source
Bug Fixes
precompilealias on Windows (#2237) (8e7151a) – by @amannnv4.8.0Compare Source
Features
v4.7.0Compare Source
Features
useExtracted(#2200) (ebc5e43) – by @amannnv4.6.1Compare Source
Bug Fixes
useExtracted(#2176) (3937e44) – by @amannnv4.6.0Compare Source
Features
useExtracted, consistency fixes for file references, pruning of messages and sorting of keys (#2155) (c02818e) – by @amannnv4.5.8Compare Source
Bug Fixes
useExtracted(#2152) (9b7c9fe) – by @amannnv4.5.7Compare Source
Bug Fixes
accept-languageparsing when locale cookie is already present (#2143) (0d1331b), closes #2116 – by @lxupv4.5.6Compare Source
Bug Fixes
useExtracted(#2133) (5397c49) – by @amannnv4.5.5Compare Source
Bug Fixes
node_modules(#2120) (0ba9105) – by @amannnv4.5.4Compare Source
Bug Fixes
useExtractedto SWC plugin & handle source maps (#2114) (e63fbc5) – by @amannnv4.5.3Compare Source
Bug Fixes
useExtractedpt. 2 (#2103) (5cbd5da) – by @amannnv4.5.2Compare Source
Bug Fixes
useExtracted(#2099) (b1ff1fa) – by @amannnv4.5.1Compare Source
Bug Fixes
v4.5.0Compare Source
Features
useExtracted(experimental) (#2080) (7a85644) – by @amannnv4.4.0Compare Source
Features
v4.3.12Compare Source
Bug Fixes
getTimeZone(#2053) (bdc2af4), closes #2052 – by @amannnv4.3.11Compare Source
Bug Fixes
NextResponse.rewriteif really necessary (#2051) (43ed4aa) – by @amannnv4.3.10Compare Source
Bug Fixes
@types/reactversion (#2050) (c1e997e), closes #2044 #2044 – by @amannnv4.3.9Compare Source
Bug Fixes
useRouterto another locale (#2021) (c82d0af), closes #2020 – by @amannnv4.3.8Compare Source
Bug Fixes
v4.3.7Compare Source
Bug Fixes
usePathnameinconsistency in Next.js leading to a hydration error with custom prefixes,localePrefix: 'always'and static rendering (#2012) (bc9cb62), closes #2011 vercel/next.js#73085 #1571 – by @hugotigerv4.3.6Compare Source
Bug Fixes
next devfor upcomingnext@15.5.1(#2008) (2bf09ec) – by @amannnv4.3.5Compare Source
Bug Fixes
next {start,info,telemetry}(#1992) (fd0722a) – by @amannnv4.3.4Compare Source
Bug Fixes
'{name'}) (#1950) (4d418f4), closes #1948 – by @amannnv4.3.3Compare Source
Bug Fixes
v4.3.2Compare Source
Bug Fixes
useRouter(#1947) (3ee9c4d) – by @amannnv4.3.1Compare Source
Bug Fixes
getTimeZone(#2053) (bdc2af4), closes #2052 – by @amannnv4.3.0Compare Source
Features
numberinterpolation withuseTranslations(#1929) (a893330), closes #1928 – by @sgleisnerv4.2.0Compare Source
Features
v4.1.0Compare Source
Features
forcePrefixoption forredirectandgetPathname(#1865) (5905976) – by @amannnv4.0.3Compare Source
Features
--turbo(requiresnext@^14.0.3) (#641) (46c6ec7), closes #2503.0.3 (2023-11-15)
Bug Fixes
locale,nowandtimeZoneif these options have been provided toNextIntlClientProvider(#633) (824363a), closes #6313.0.2 (2023-11-15)
Bug Fixes
getTranslations({namespace})without TypeScript integration for messages (#630) (62cf29c), closes #6253.0.1 (2023-11-14)
Add provenance statement to published packages.
v4.0.2Compare Source
Bug Fixes
IntlErrorCodein user code (#1788) (913d307), closes #1787 – by @amannnv4.0.1Compare Source
Bug Fixes
moduleResolution: 'node'(#1785) (b7a4a83), closes /github.com/amannn/next-intl/discussions/1631#discussioncomment-12477848 – by @amannnv4.0.0Compare Source
See the announcement.
(#1412) (172656f) – by @amannn
v3.26.5Compare Source
Bug Fixes
queryin<Link />correctly when usinglocalePrefix: 'as-needed'withdomains(#1732) (ec8776e), closes #1731 – by @amannnv3.26.4Compare Source
Bug Fixes
v3.26.3Compare Source
Bug Fixes
next-intl@4.0(#1485) (1d60d08) – by @amannnv3.26.2Compare Source
Bug Fixes
t.haswhengetTranslationsis called with an object argument (#1616) (64895a2), closes /github.com/amannn/next-intl/discussions/437#discussioncomment-11593318 – by @amannnv3.26.1Compare Source
Bug Fixes
next-intl.devin links (#1601) (40a9a77) – by @amannnv3.26.0Compare Source
Features
v3.25.3Compare Source
Bug Fixes
v3.25.2Compare Source
Bug Fixes
usePathnamewith custom prefixes,localePrefix: 'as-needed'and static rendering (#1573) (20fd0f0) – by @amannnv3.25.1Compare Source
Bug Fixes
trailingSlash: true(#1537) (03a4620) – by @deiniv3.25.0Compare Source
Features
declaration: trueintsconfig.json(#1509) (6b2ca9c) – by @osatonv3.24.0Compare Source
Features
v3.23.5Compare Source
Bug Fixes
prefetch={true}on<Link />(#1463) (fd6d73d), closes #1462 – by @amannnv3.23.4Compare Source
Bug Fixes
negotiator@^1.0(#1460) (b93f297) – by @amannnv3.23.3Compare Source
Bug Fixes
i18n/request.tsinreact-serverlike all other APIs do (#1459) (8c6d5ff) – by @amannnv3.23.2Compare Source
Bug Fixes
<Link />fromcreateNavigation(#1448) (ba0a537) – by @amannnv3.23.1Compare Source
Bug Fixes
ReactNodeArraywhich is removed in React 19 (#1445) (2396345) – by @amannnv3.23.0Compare Source
Features
v3.22.0Compare Source
Features
createNavigation(#1316)requestLocaleparam to getRequestConfig for Next.js 15 support (#1383)localeCookieoption for middleware (#1414)setRequestLocale(#1437)Fixes
domains, handle unknown domains more gracefully (#1389)Deprecations
defaultTranslationValues(#1411)unstable_setRequestLocale(#1437)v3.21.1Compare Source
Bug Fixes
v3.20.0Compare Source
Features
formats(#1346) (b7aa14e) – by @dBianchiiv3.19.5Compare Source
Bug Fixes
Formatstype optional for easier usage (#1367) (a7cbd9b) – by @amannnv3.19.4Compare Source
Bug Fixes
v3.19.3Compare Source
Bug Fixes
v3.19.2Compare Source
Bug Fixes
v3.19.1Compare Source
Bug Fixes
v3.19.0Compare Source
Features
./i18n/request.tsin addition to./i18n.ts(#1308) (258e95e) – by @amannnv3.18.1Compare Source
Bug Fixes
localeis read ingetRequestConfigand also none is returned (#1305) (2f0f781) – by @amannnv3.18.0Compare Source
Features
defineRoutingfor easier i18n routing setup (#1299) (5ff6120) – by @amannnv3.17.6Compare Source
Bug Fixes
v3.17.5Compare Source
Bug Fixes
useTranslationsis only used in Server Components (#1279) (9f1725c) – by @amannnv3.17.4Compare Source
Bug Fixes
@formatjs/intl-localematcherto latest version (#1140) (c217582) – by @amannnv3.17.3Compare Source
Bug Fixes
v3.17.2Compare Source
Bug Fixes
localePrefix: 'as-necessary'by sanitizing pathname in the middleware (#1208) (f42ac01), closes #1207 – by @hblee12294v3.17.1Compare Source
Bug Fixes
useMemoforuseRouterreturned fromcreateLocalizedPathnamesNavigationto keep a stable reference when possible (#1201) (a1b9a36), closes #1198 – by @amannnv3.17.0Compare Source
Features
Intl.*constructors (#1193) (52c4f2c), closes #215 – by @amannnv3.16.0Compare Source
Features
trailingSlash: truein Next.js config (#1190) (cfbdee9) – by @amannnv3.15.5Compare Source
Bug Fixes
redirect(#1178) (3b698d7), closes #1177 – by @amannnv3.15.4Compare Source
Bug Fixes
DomainsConfig(#1175) (c4d1bb0) – by @amannnv3.15.3Compare Source
Bug Fixes
usePathnamewhen detecting the currently active pathname for localized pathnames (#1152) (936839e), closes #1151 – by @amannnv3.15.2Compare Source
Note: Version bump only for package root
v3.15.1Compare Source
Bug Fixes
@formatjs/ecma402-abstractdependency in favor of the automatically bundled one fromintl-messageformat(#1141) – by @amannnv3.15.0Compare Source
Features
3.14.1 (2024-05-23)
Bug Fixes
redirectandpermanentRedirect(#1084 by @mhogeveen) (16b55e2)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.