Skip to content

Commit

Permalink
Merge pull request #2952 from opral/changeset-release/main
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhaeberle authored Jun 20, 2024
2 parents 2507122 + d57f353 commit 03ce0f8
Show file tree
Hide file tree
Showing 12 changed files with 61 additions and 38 deletions.
28 changes: 0 additions & 28 deletions .changeset/sharp-waves-brush.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sweet-horses-pull.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inlang/paraglide-next-e2e",
"version": "0.0.21",
"version": "0.0.22",
"private": true,
"type": "module",
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions inlang/source-code/ide-extension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# inlang-vs-code-extension

## 1.46.0

### Minor Changes

- 07c572c: update deps

## 1.45.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion inlang/source-code/ide-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
29 changes: 29 additions & 0 deletions inlang/source-code/paraglide/paraglide-next/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# @inlang/paraglide-next

## 0.4.4

### Patch Changes

- 94f365b: Added a `generateAlternateLinks` API for easily adding `<link rel="alternate"` tags to your page `<head>`. 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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inlang/paraglide-next-example-app",
"version": "0.2.23",
"version": "0.2.24",
"private": true,
"scripts": {
"_dev": "next dev",
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inlang/paraglide-next-example-pages",
"version": "0.2.25",
"version": "0.2.26",
"private": true,
"sideEffects": false,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion inlang/source-code/paraglide/paraglide-next/package.json
Original file line number Diff line number Diff line change
@@ -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"
},
Expand Down

0 comments on commit 03ce0f8

Please sign in to comment.