Skip to content

Releases: QuiiBz/next-international

0.6.4

21 Jul 08:53
Compare
Choose a tag to compare

What's Changed

  • fix(next-international): fallbackLocale type for nested objects locales by @QuiiBz in #74

Full Changelog: 0.6.3...0.6.4

0.6.3

20 Jul 15:53
Compare
Choose a tag to compare

What's Changed

  • chore: documentation fixes by @QuiiBz in #70
  • chore: fix docs by @bastibuck in #71
  • fix(next-international): nested objects locales with fallbackLocale by @QuiiBz in #73

New Contributors

Full Changelog: 0.6.2...0.6.3

0.6.2

19 Jul 16:14
Compare
Choose a tag to compare

What's Changed

  • fix(next-international): nested objects locales in App Router by @QuiiBz in #69

Full Changelog: 0.6.1...0.6.2

0.6.1

15 Jul 06:15
Compare
Choose a tag to compare

What's Changed

  • fix(next-international): support nested objects in App Router by @QuiiBz in #66

Full Changelog: 0.6.0...0.6.1

0.6.0

14 Jul 15:08
Compare
Choose a tag to compare

Nested objects locales

You can now write locales using nested objects instead of the default dot notation. You can use the syntax you prefer without updating anything else:

// locales/en.ts
export default {
  hello: 'Hello',
  hello: {
    world: 'Hello world!',
    nested: {
      translations: 'Translations'
    }
  }
} as const

It's the equivalent of the following:

export default {
  'hello': 'Hello',
  'hello.world': 'Hello world!',
  'hello.nested.translations': 'Translations'
} as const

What's Changed

Full Changelog: 0.5.3...0.6.0

0.5.3

09 Jul 08:24
Compare
Choose a tag to compare

Fix the bundle that preserved JSX instead of transforming it with createElement calls

Full Changelog: 0.5.2...0.5.3

0.5.2

07 Jul 16:01
Compare
Choose a tag to compare

Breaking change

I18nProviderServer has been removed because it is now useless. You can simply remove it from your layout, see the README for the updated documentation.

What's Changed

  • fix(app): React Server Components issues by @QuiiBz in #61

Full Changelog: 0.5.1...0.5.2

0.5.1

03 Jul 05:43
Compare
Choose a tag to compare

What's Changed

  • fix(app-router): typesafe getCurrentLocale in Server Components by @QuiiBz in #57
  • fix(next-international): include types in files by @QuiiBz in #59

Full Changelog: 0.5.0...0.5.1

0.5.0

02 Jul 06:50
Compare
Choose a tag to compare

App Router initial support

This release implements initial support for the App Router of Next.js 13. These changes shouldn't impact existing applications using the library with the Pages Router.

See the documentation here

What's Changed

  • feat(next-international): add Next.js 13 app directory support by @QuiiBz in #50

Full Changelog: 0.4.1...0.5.0

0.4.1

10 Apr 15:39
c230d85
Compare
Choose a tag to compare

What's Changed

  • fix: remove workspace dependency by @QuiiBz in #54

Full Changelog: 0.4.0...0.4.1