diff --git a/.changeset/sharp-waves-brush.md b/.changeset/sharp-waves-brush.md deleted file mode 100644 index ab57ab9638..0000000000 --- a/.changeset/sharp-waves-brush.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -"@inlang/paraglide-next": patch ---- - -Added a `generateAlternateLinks` API for easily adding ``. This is _in addition_ to the `Link` HTTP-Headers that are already present. - -Use it like this in your `layout.tsx` file: - -```tsx -// src/app/layout.tsx -import { generateAlternateLinks } from "@inlang/paraglide-next" -import { strategy } from "@/lib/i18n" -import type { Metadata, ResolvingMetadata } from "next" - -export const generateMetadata = (params: any, parent: ResolvingMetadata): Metadata => { - return { - alternates: { - languages: generateAlternateLinks({ - origin: "https://example.com", // the origin of your site - strategy: strategy, - resolvingMetadata: parent, - }), - }, - } -} -``` - -> You do not need to do this on every page, just the root layout \ No newline at end of file diff --git a/.changeset/sweet-horses-pull.md b/.changeset/sweet-horses-pull.md deleted file mode 100644 index 81cf228104..0000000000 --- a/.changeset/sweet-horses-pull.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"vs-code-extension": minor ---- - -update deps diff --git a/inlang/source-code/end-to-end-tests/paraglide-next/CHANGELOG.md b/inlang/source-code/end-to-end-tests/paraglide-next/CHANGELOG.md index aab81a5add..998d5cd517 100644 --- a/inlang/source-code/end-to-end-tests/paraglide-next/CHANGELOG.md +++ b/inlang/source-code/end-to-end-tests/paraglide-next/CHANGELOG.md @@ -1,5 +1,12 @@ # @inlang/paraglide-next-e2e +## 0.0.22 + +### Patch Changes + +- Updated dependencies [94f365b] + - @inlang/paraglide-next@0.4.4 + ## 0.0.21 ### Patch Changes diff --git a/inlang/source-code/end-to-end-tests/paraglide-next/package.json b/inlang/source-code/end-to-end-tests/paraglide-next/package.json index 0ff475be4c..9b77ea9026 100644 --- a/inlang/source-code/end-to-end-tests/paraglide-next/package.json +++ b/inlang/source-code/end-to-end-tests/paraglide-next/package.json @@ -1,6 +1,6 @@ { "name": "@inlang/paraglide-next-e2e", - "version": "0.0.21", + "version": "0.0.22", "private": true, "type": "module", "scripts": { diff --git a/inlang/source-code/ide-extension/CHANGELOG.md b/inlang/source-code/ide-extension/CHANGELOG.md index ef7f80fcf5..838cade24c 100644 --- a/inlang/source-code/ide-extension/CHANGELOG.md +++ b/inlang/source-code/ide-extension/CHANGELOG.md @@ -1,5 +1,11 @@ # inlang-vs-code-extension +## 1.46.0 + +### Minor Changes + +- 07c572c: update deps + ## 1.45.2 ### Patch Changes diff --git a/inlang/source-code/ide-extension/package.json b/inlang/source-code/ide-extension/package.json index 6486f11a7d..7f08faa77d 100644 --- a/inlang/source-code/ide-extension/package.json +++ b/inlang/source-code/ide-extension/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/opral/monorepo.git" }, "icon": "assets/sherlock-logo.png", - "version": "1.45.2", + "version": "1.46.0", "engines": { "vscode": "^1.84.2" }, diff --git a/inlang/source-code/paraglide/paraglide-next/CHANGELOG.md b/inlang/source-code/paraglide/paraglide-next/CHANGELOG.md index 75c3aa07ff..937f17112e 100644 --- a/inlang/source-code/paraglide/paraglide-next/CHANGELOG.md +++ b/inlang/source-code/paraglide/paraglide-next/CHANGELOG.md @@ -1,5 +1,34 @@ # @inlang/paraglide-next +## 0.4.4 + +### Patch Changes + +- 94f365b: Added a `generateAlternateLinks` API for easily adding ``. This is _in addition_ to the `Link` HTTP-Headers that are already present. + + Use it like this in your `layout.tsx` file: + + ```tsx + // src/app/layout.tsx + import { generateAlternateLinks } from "@inlang/paraglide-next" + import { strategy } from "@/lib/i18n" + import type { Metadata, ResolvingMetadata } from "next" + + export const generateMetadata = (params: any, parent: ResolvingMetadata): Metadata => { + return { + alternates: { + languages: generateAlternateLinks({ + origin: "https://example.com", // the origin of your site + strategy: strategy, + resolvingMetadata: parent, + }), + }, + } + } + ``` + + > You do not need to do this on every page, just the root layout + ## 0.4.3 ### Patch Changes diff --git a/inlang/source-code/paraglide/paraglide-next/examples/app/CHANGELOG.md b/inlang/source-code/paraglide/paraglide-next/examples/app/CHANGELOG.md index a187fb3784..43f0c2515b 100644 --- a/inlang/source-code/paraglide/paraglide-next/examples/app/CHANGELOG.md +++ b/inlang/source-code/paraglide/paraglide-next/examples/app/CHANGELOG.md @@ -1,5 +1,12 @@ # @inlang/paraglide-next-example-app +## 0.2.24 + +### Patch Changes + +- Updated dependencies [94f365b] + - @inlang/paraglide-next@0.4.4 + ## 0.2.23 ### Patch Changes diff --git a/inlang/source-code/paraglide/paraglide-next/examples/app/package.json b/inlang/source-code/paraglide/paraglide-next/examples/app/package.json index d18b0e4c97..da336ea6cf 100644 --- a/inlang/source-code/paraglide/paraglide-next/examples/app/package.json +++ b/inlang/source-code/paraglide/paraglide-next/examples/app/package.json @@ -1,6 +1,6 @@ { "name": "@inlang/paraglide-next-example-app", - "version": "0.2.23", + "version": "0.2.24", "private": true, "scripts": { "_dev": "next dev", diff --git a/inlang/source-code/paraglide/paraglide-next/examples/pages/CHANGELOG.md b/inlang/source-code/paraglide/paraglide-next/examples/pages/CHANGELOG.md index 8015ca13a9..073df692a2 100644 --- a/inlang/source-code/paraglide/paraglide-next/examples/pages/CHANGELOG.md +++ b/inlang/source-code/paraglide/paraglide-next/examples/pages/CHANGELOG.md @@ -1,5 +1,12 @@ # @inlang/paraglide-next-example-pages +## 0.2.26 + +### Patch Changes + +- Updated dependencies [94f365b] + - @inlang/paraglide-next@0.4.4 + ## 0.2.25 ### Patch Changes diff --git a/inlang/source-code/paraglide/paraglide-next/examples/pages/package.json b/inlang/source-code/paraglide/paraglide-next/examples/pages/package.json index f3def50833..69632e9685 100644 --- a/inlang/source-code/paraglide/paraglide-next/examples/pages/package.json +++ b/inlang/source-code/paraglide/paraglide-next/examples/pages/package.json @@ -1,6 +1,6 @@ { "name": "@inlang/paraglide-next-example-pages", - "version": "0.2.25", + "version": "0.2.26", "private": true, "sideEffects": false, "scripts": { diff --git a/inlang/source-code/paraglide/paraglide-next/package.json b/inlang/source-code/paraglide/paraglide-next/package.json index b78974934b..54f2bb9052 100644 --- a/inlang/source-code/paraglide/paraglide-next/package.json +++ b/inlang/source-code/paraglide/paraglide-next/package.json @@ -1,7 +1,7 @@ { "name": "@inlang/paraglide-next", "description": "The easiest way to do i18n in NextJS", - "version": "0.4.3", + "version": "0.4.4", "publishConfig": { "access": "public" },