Skip to content

Commit

Permalink
chore: update version
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-lefebvre committed Dec 17, 2024
1 parent 390f225 commit 908c87b
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 30 deletions.
28 changes: 0 additions & 28 deletions .changeset/ninety-birds-joke.md

This file was deleted.

29 changes: 29 additions & 0 deletions package/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# astro-typed-links

## 1.0.0

### Major Changes

- 390f225: This update contains **breaking changes**.

- Drops support for Astro 4.0 in favor of 5.0
- Usage is simplified
- Rest parameters must not be provided with the leading `...`

To simplify the usage of the integration, updates have been made in Astro core in 5.0, hence the drop of Astro 4.0 support. The README used to specify changes to your `package.json`, you can revert those changes:

```diff
{
"scripts": {
- "sync": "astro build --sync && astro sync"
}
}
```

When dealing with rest parameters, you must not include the leading `...` anymore:

```diff
link("/[...rest]", {
- "...rest": "foo/bar"
+ rest: "foo/bar"
})
```

## 0.1.1

### Patch Changes
Expand Down
6 changes: 4 additions & 2 deletions package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "astro-typed-links",
"version": "0.1.1",
"version": "1.0.0",
"description": "An Astro integration to automatically get typed links to your pages.",
"author": {
"email": "[email protected]",
Expand All @@ -26,7 +26,9 @@
"default": "./dist/index.js"
}
},
"files": ["dist"],
"files": [
"dist"
],
"scripts": {
"dev": "tsup --watch",
"build": "tsup"
Expand Down

0 comments on commit 908c87b

Please sign in to comment.