You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/src/pages/blog/next-intl-4-0.mdx
+12-6
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ import StayUpdated from '@/components/StayUpdated.mdx';
11
11
12
12
(this post is still a draft)
13
13
14
-
After a year of feature development, this release mostly aims to clean up the API surface to ensure `next-intl` remains lean—there should be no big surprises. Many significant improvements have already been shipped in [minor versions](/blog/next-intl-3-22) previously. However, this release also comes with a series of improvements that you might find useful.
14
+
After a year of feature development, this release focuses on streamlining the API surface while maintaining the lean core architecture of `next-intl`. While many major improvements were already released in [previous minor versions](/blog/next-intl-3-22), this update introduces several valuable enhancements that will improve your development experience and make working with internationalization even more seamless.
15
15
16
16
Here's what's new in `next-intl@4.0`:
17
17
@@ -20,7 +20,7 @@ Here's what's new in `next-intl@4.0`:
6.[**Preparation for upcoming Next.js features**](#nextjs-future)
23
+
6.[**Preparation for upcoming Next.js features**](#nextjs-ppr-dynamicio)
24
24
25
25
Please also have a look at the [other breaking changes](#other-breaking-changes) before you [upgrade](#upgrade-now).
26
26
@@ -38,8 +38,8 @@ import en from './messages/en.json';
38
38
39
39
declaremodule'next-intl' {
40
40
interfaceAppConfig {
41
-
Formats:typeofformats;
42
41
Messages:typeofen;
42
+
Formats:typeofformats;
43
43
}
44
44
}
45
45
```
@@ -194,7 +194,7 @@ The build output of `next-intl` has been modernized and now leverages the follow
194
194
195
195
With these changes, the bundle size of `next-intl` has been reduced by ~7% ([all details](https://github.com/amannn/next-intl/pull/1470)).
196
196
197
-
## Preparation for upcoming Next.js features[#nextjs-future]
197
+
## Preparation for `ppr` and `dynamicIO`[#nextjs-ppr-dynamicio]
198
198
199
199
To ensure that the sails of `next-intl` are set for a steady course in the upcoming future, I've investigated the implications of upcoming Next.js features like [Partial Prerendering](https://nextjs.org/docs/app/api-reference/next-config-js/ppr) and [`dynamicIO`](https://nextjs.org/docs/canary/app/api-reference/config/next-config-js/dynamicIO) for `next-intl`.
200
200
@@ -240,10 +240,16 @@ Afterwards, you can upgrade by running:
240
240
npm install next-intl@v4-beta
241
241
```
242
242
243
-
## Thank you
243
+
If you need help, you can refer to the [examples](/examples) which have all been updated.
244
+
245
+
## Thank you!
244
246
245
-
I want to sincerely thank everyone who has helped to make `next-intl` what it is today. A special thank you goes to <PartnerContentLinkhref="https://crowdin.com/">Crowdin</PartnerContentLink>, the primary sponsor of `next-intl`, enabling me to regularly work on this project.
247
+
I want to sincerely thank everyone who has helped to make `next-intl` what it is today.
248
+
249
+
A special thank you goes to <PartnerContentLinkhref="https://crowdin.com/">Crowdin</PartnerContentLink>, the primary sponsor of `next-intl`, enabling me to regularly work on this project and provide it as a free and open-source library for everyone.
246
250
247
251
—Jan
248
252
253
+
PS: Have you heard that [learn.next-intl.dev](https://learn.next-intl.dev) is coming?
0 commit comments