Skip to content

Commit 6b4fd74

Browse files
authored
Merge pull request #8 from Ernxst/changeset-release/main
chore(ci): release
2 parents 06cd15f + 683e6c2 commit 6b4fd74

File tree

7 files changed

+44
-27
lines changed

7 files changed

+44
-27
lines changed

.changeset/gorgeous-gifts-type.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

examples/svelte/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @examples/svelte
22

3+
## 0.0.4
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [06cd15f]
8+
9+
310
## 0.0.3
411

512
### Patch Changes

examples/svelte/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@examples/svelte",
33
"type": "module",
4-
"version": "0.0.3",
4+
"version": "0.0.4",
55
"private": true,
66
"scripts": {
77
"dev": "vite",

examples/sveltekit/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @example/sveltekit
22

3+
## 0.0.4
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [06cd15f]
8+
9+
310
## 0.0.3
411

512
### Patch Changes

examples/sveltekit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@example/sveltekit",
33
"type": "module",
4-
"version": "0.0.3",
4+
"version": "0.0.4",
55
"private": true,
66
"scripts": {
77
"dev": "vite",

packages/core/CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# svelte-query-params
22

3+
## 0.2.1
4+
5+
### Patch Changes
6+
7+
- 06cd15f: (breaking) Server-side fixes
8+
9+
### Bug Fixes
10+
11+
- The SvelteKit adapter no longer reads from the `page` store as this cannot be subscribed to on the server
12+
13+
### Breaking Changes
14+
15+
- Restructure adapter API
16+
- The server handler no longer needs to read and return the current URL
17+
- The browser handler must now return the full URL/location instead of just the search string and hash
18+
- The returned function from `createUseQueryParams` now requires a `URL | Location` param
19+
- This was only really required on the server, but was also required on the client too so usage of the hook does differ between server and client.
20+
- If needed, consumers can create a client wrapper around it which will pass `window.location` or the URL from the page store
21+
22+
### Internals
23+
24+
- remove `console.log` - not sure if a Svelte upgrade fixed things or this refactor did, but it is (thankfully) no longer needed
25+
326
## 0.2.0
427

528
### Minor Changes

packages/core/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "svelte-query-params",
33
"type": "module",
4-
"version": "0.2.0",
4+
"version": "0.2.1",
55
"description": "A lightweight, dead-simple, type-safe reactive query parameter store built for Svelte 5.",
66
"author": "Ernest Nkansah-Badu <[email protected]>",
77
"license": "MIT",
@@ -83,7 +83,10 @@
8383
"module": "dist/index.svelte.js",
8484
"svelte": "dist/index.svelte.js",
8585
"types": "dist/index.svelte.d.ts",
86-
"files": ["dist", "README.md"],
86+
"files": [
87+
"dist",
88+
"README.md"
89+
],
8790
"engines": {
8891
"node": ">=v20.0.0"
8992
},

0 commit comments

Comments
 (0)