Skip to content

Commit

Permalink
Next.js 15 is now GA. updated some other packages also.
Browse files Browse the repository at this point in the history
  • Loading branch information
KishiTheMechanic committed Nov 11, 2024
1 parent 0822b95 commit 1350f39
Show file tree
Hide file tree
Showing 64 changed files with 706 additions and 932 deletions.
4 changes: 2 additions & 2 deletions articles/doc/en/building-your-application/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Hello, World!')

```tsx:/src/app/[locale]/(default)/layout.tsx

import { unstable_setRequestLocale } from 'next-intl/server'
import { setRequestLocale } from 'next-intl/server'
import DefaultHeader from './DefaultHeader'
import DefaultFooter from './DefaultFooter'

Expand All @@ -56,7 +56,7 @@ export default async function DefaultLayout({
children,
params: { locale },
}: Props) {
unstable_setRequestLocale(locale)
setRequestLocale(locale)

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions articles/doc/en/building-your-application/api/rpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Hello, World!')

```tsx:/src/app/[locale]/(default)/layout.tsx

import { unstable_setRequestLocale } from 'next-intl/server'
import { setRequestLocale } from 'next-intl/server'
import DefaultHeader from './DefaultHeader'
import DefaultFooter from './DefaultFooter'

Expand All @@ -56,7 +56,7 @@ export default async function DefaultLayout({
children,
params: { locale },
}: Props) {
unstable_setRequestLocale(locale)
setRequestLocale(locale)

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions articles/doc/en/building-your-application/cli/main.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Hello, World!')

```tsx:/src/app/[locale]/(default)/layout.tsx

import { unstable_setRequestLocale } from 'next-intl/server'
import { setRequestLocale } from 'next-intl/server'
import DefaultHeader from './DefaultHeader'
import DefaultFooter from './DefaultFooter'

Expand All @@ -56,7 +56,7 @@ export default async function DefaultLayout({
children,
params: { locale },
}: Props) {
unstable_setRequestLocale(locale)
setRequestLocale(locale)

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions articles/doc/en/building-your-application/frontend/solana.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Hello, World!')

```tsx:/src/app/[locale]/(default)/layout.tsx

import { unstable_setRequestLocale } from 'next-intl/server'
import { setRequestLocale } from 'next-intl/server'
import DefaultHeader from './DefaultHeader'
import DefaultFooter from './DefaultFooter'

Expand All @@ -56,7 +56,7 @@ export default async function DefaultLayout({
children,
params: { locale },
}: Props) {
unstable_setRequestLocale(locale)
setRequestLocale(locale)

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions articles/doc/en/building-your-application/frontend/ssg.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Hello, World!')

```tsx:/src/app/[locale]/(default)/layout.tsx

import { unstable_setRequestLocale } from 'next-intl/server'
import { setRequestLocale } from 'next-intl/server'
import DefaultHeader from './DefaultHeader'
import DefaultFooter from './DefaultFooter'

Expand All @@ -56,7 +56,7 @@ export default async function DefaultLayout({
children,
params: { locale },
}: Props) {
unstable_setRequestLocale(locale)
setRequestLocale(locale)

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions articles/doc/en/building-your-application/frontend/webapp.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Hello, World!')

```tsx:/src/app/[locale]/(default)/layout.tsx

import { unstable_setRequestLocale } from 'next-intl/server'
import { setRequestLocale } from 'next-intl/server'
import DefaultHeader from './DefaultHeader'
import DefaultFooter from './DefaultFooter'

Expand All @@ -56,7 +56,7 @@ export default async function DefaultLayout({
children,
params: { locale },
}: Props) {
unstable_setRequestLocale(locale)
setRequestLocale(locale)

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions articles/doc/en/building-your-application/menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Hello, World!')

```tsx:/src/app/[locale]/(default)/layout.tsx

import { unstable_setRequestLocale } from 'next-intl/server'
import { setRequestLocale } from 'next-intl/server'
import DefaultHeader from './DefaultHeader'
import DefaultFooter from './DefaultFooter'

Expand All @@ -56,7 +56,7 @@ export default async function DefaultLayout({
children,
params: { locale },
}: Props) {
unstable_setRequestLocale(locale)
setRequestLocale(locale)

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions articles/doc/en/building-your-application/worker/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Hello, World!')

```tsx:/src/app/[locale]/(default)/layout.tsx

import { unstable_setRequestLocale } from 'next-intl/server'
import { setRequestLocale } from 'next-intl/server'
import DefaultHeader from './DefaultHeader'
import DefaultFooter from './DefaultFooter'

Expand All @@ -56,7 +56,7 @@ export default async function DefaultLayout({
children,
params: { locale },
}: Props) {
unstable_setRequestLocale(locale)
setRequestLocale(locale)

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions articles/doc/en/building-your-application/worker/queue.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Hello, World!')

```tsx:/src/app/[locale]/(default)/layout.tsx

import { unstable_setRequestLocale } from 'next-intl/server'
import { setRequestLocale } from 'next-intl/server'
import DefaultHeader from './DefaultHeader'
import DefaultFooter from './DefaultFooter'

Expand All @@ -56,7 +56,7 @@ export default async function DefaultLayout({
children,
params: { locale },
}: Props) {
unstable_setRequestLocale(locale)
setRequestLocale(locale)

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions articles/doc/en/general/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Hello, World!')

```tsx:/src/app/[locale]/(default)/layout.tsx

import { unstable_setRequestLocale } from 'next-intl/server'
import { setRequestLocale } from 'next-intl/server'
import DefaultHeader from './DefaultHeader'
import DefaultFooter from './DefaultFooter'

Expand All @@ -56,7 +56,7 @@ export default async function DefaultLayout({
children,
params: { locale },
}: Props) {
unstable_setRequestLocale(locale)
setRequestLocale(locale)

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions articles/doc/en/general/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Hello, World!')

```tsx:/src/app/[locale]/(default)/layout.tsx

import { unstable_setRequestLocale } from 'next-intl/server'
import { setRequestLocale } from 'next-intl/server'
import DefaultHeader from './DefaultHeader'
import DefaultFooter from './DefaultFooter'

Expand All @@ -56,7 +56,7 @@ export default async function DefaultLayout({
children,
params: { locale },
}: Props) {
unstable_setRequestLocale(locale)
setRequestLocale(locale)

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions articles/doc/en/general/project-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Hello, World!')

```tsx:/src/app/[locale]/(default)/layout.tsx

import { unstable_setRequestLocale } from 'next-intl/server'
import { setRequestLocale } from 'next-intl/server'
import DefaultHeader from './DefaultHeader'
import DefaultFooter from './DefaultFooter'

Expand All @@ -56,7 +56,7 @@ export default async function DefaultLayout({
children,
params: { locale },
}: Props) {
unstable_setRequestLocale(locale)
setRequestLocale(locale)

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions articles/doc/ja/building-your-application/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Hello, World!')

```tsx:/src/app/[locale]/(default)/layout.tsx

import { unstable_setRequestLocale } from 'next-intl/server'
import { setRequestLocale } from 'next-intl/server'
import DefaultHeader from './DefaultHeader'
import DefaultFooter from './DefaultFooter'

Expand All @@ -56,7 +56,7 @@ export default async function DefaultLayout({
children,
params: { locale },
}: Props) {
unstable_setRequestLocale(locale)
setRequestLocale(locale)

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions articles/doc/ja/building-your-application/api/rpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Hello, World!')

```tsx:/src/app/[locale]/(default)/layout.tsx

import { unstable_setRequestLocale } from 'next-intl/server'
import { setRequestLocale } from 'next-intl/server'
import DefaultHeader from './DefaultHeader'
import DefaultFooter from './DefaultFooter'

Expand All @@ -56,7 +56,7 @@ export default async function DefaultLayout({
children,
params: { locale },
}: Props) {
unstable_setRequestLocale(locale)
setRequestLocale(locale)

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions articles/doc/ja/building-your-application/cli/main.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Hello, World!')

```tsx:/src/app/[locale]/(default)/layout.tsx

import { unstable_setRequestLocale } from 'next-intl/server'
import { setRequestLocale } from 'next-intl/server'
import DefaultHeader from './DefaultHeader'
import DefaultFooter from './DefaultFooter'

Expand All @@ -56,7 +56,7 @@ export default async function DefaultLayout({
children,
params: { locale },
}: Props) {
unstable_setRequestLocale(locale)
setRequestLocale(locale)

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions articles/doc/ja/building-your-application/frontend/solana.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Hello, World!')

```tsx:/src/app/[locale]/(default)/layout.tsx

import { unstable_setRequestLocale } from 'next-intl/server'
import { setRequestLocale } from 'next-intl/server'
import DefaultHeader from './DefaultHeader'
import DefaultFooter from './DefaultFooter'

Expand All @@ -56,7 +56,7 @@ export default async function DefaultLayout({
children,
params: { locale },
}: Props) {
unstable_setRequestLocale(locale)
setRequestLocale(locale)

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions articles/doc/ja/building-your-application/frontend/ssg.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Hello, World!')

```tsx:/src/app/[locale]/(default)/layout.tsx

import { unstable_setRequestLocale } from 'next-intl/server'
import { setRequestLocale } from 'next-intl/server'
import DefaultHeader from './DefaultHeader'
import DefaultFooter from './DefaultFooter'

Expand All @@ -56,7 +56,7 @@ export default async function DefaultLayout({
children,
params: { locale },
}: Props) {
unstable_setRequestLocale(locale)
setRequestLocale(locale)

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions articles/doc/ja/building-your-application/frontend/webapp.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Hello, World!')

```tsx:/src/app/[locale]/(default)/layout.tsx

import { unstable_setRequestLocale } from 'next-intl/server'
import { setRequestLocale } from 'next-intl/server'
import DefaultHeader from './DefaultHeader'
import DefaultFooter from './DefaultFooter'

Expand All @@ -56,7 +56,7 @@ export default async function DefaultLayout({
children,
params: { locale },
}: Props) {
unstable_setRequestLocale(locale)
setRequestLocale(locale)

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions articles/doc/ja/building-your-application/menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Hello, World!')

```tsx:/src/app/[locale]/(default)/layout.tsx

import { unstable_setRequestLocale } from 'next-intl/server'
import { setRequestLocale } from 'next-intl/server'
import DefaultHeader from './DefaultHeader'
import DefaultFooter from './DefaultFooter'

Expand All @@ -56,7 +56,7 @@ export default async function DefaultLayout({
children,
params: { locale },
}: Props) {
unstable_setRequestLocale(locale)
setRequestLocale(locale)

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions articles/doc/ja/building-your-application/worker/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Hello, World!')

```tsx:/src/app/[locale]/(default)/layout.tsx

import { unstable_setRequestLocale } from 'next-intl/server'
import { setRequestLocale } from 'next-intl/server'
import DefaultHeader from './DefaultHeader'
import DefaultFooter from './DefaultFooter'

Expand All @@ -56,7 +56,7 @@ export default async function DefaultLayout({
children,
params: { locale },
}: Props) {
unstable_setRequestLocale(locale)
setRequestLocale(locale)

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions articles/doc/ja/building-your-application/worker/queue.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Hello, World!')

```tsx:/src/app/[locale]/(default)/layout.tsx

import { unstable_setRequestLocale } from 'next-intl/server'
import { setRequestLocale } from 'next-intl/server'
import DefaultHeader from './DefaultHeader'
import DefaultFooter from './DefaultFooter'

Expand All @@ -56,7 +56,7 @@ export default async function DefaultLayout({
children,
params: { locale },
}: Props) {
unstable_setRequestLocale(locale)
setRequestLocale(locale)

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions articles/doc/ja/general/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Hello, World!')

```tsx:/src/app/[locale]/(default)/layout.tsx

import { unstable_setRequestLocale } from 'next-intl/server'
import { setRequestLocale } from 'next-intl/server'
import DefaultHeader from './DefaultHeader'
import DefaultFooter from './DefaultFooter'

Expand All @@ -56,7 +56,7 @@ export default async function DefaultLayout({
children,
params: { locale },
}: Props) {
unstable_setRequestLocale(locale)
setRequestLocale(locale)

return (
<>
Expand Down
Loading

0 comments on commit 1350f39

Please sign in to comment.