From 683e6c2cd20226bcf27091d9ec3a1293bc66a8bf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 22 Jun 2024 17:19:54 +0000 Subject: [PATCH] chore(ci): release --- .changeset/gorgeous-gifts-type.md | 23 ----------------------- examples/svelte/CHANGELOG.md | 7 +++++++ examples/svelte/package.json | 2 +- examples/sveltekit/CHANGELOG.md | 7 +++++++ examples/sveltekit/package.json | 2 +- packages/core/CHANGELOG.md | 23 +++++++++++++++++++++++ packages/core/package.json | 7 +++++-- 7 files changed, 44 insertions(+), 27 deletions(-) delete mode 100644 .changeset/gorgeous-gifts-type.md diff --git a/.changeset/gorgeous-gifts-type.md b/.changeset/gorgeous-gifts-type.md deleted file mode 100644 index e32cd30..0000000 --- a/.changeset/gorgeous-gifts-type.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -"svelte-query-params": patch ---- - -(breaking) Server-side fixes - - -### Bug Fixes - -- The SvelteKit adapter no longer reads from the `page` store as this cannot be subscribed to on the server - -### Breaking Changes -- Restructure adapter API - - The server handler no longer needs to read and return the current URL - - The browser handler must now return the full URL/location instead of just the search string and hash -- The returned function from `createUseQueryParams` now requires a `URL | Location` param - - 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. - - If needed, consumers can create a client wrapper around it which will pass `window.location` or the URL from the page store - - -### Internals - -- remove `console.log` - not sure if a Svelte upgrade fixed things or this refactor did, but it is (thankfully) no longer needed diff --git a/examples/svelte/CHANGELOG.md b/examples/svelte/CHANGELOG.md index a69f331..359e8e5 100644 --- a/examples/svelte/CHANGELOG.md +++ b/examples/svelte/CHANGELOG.md @@ -1,5 +1,12 @@ # @examples/svelte +## 0.0.4 + +### Patch Changes + +- Updated dependencies [06cd15f] + - svelte-query-params@0.2.1 + ## 0.0.3 ### Patch Changes diff --git a/examples/svelte/package.json b/examples/svelte/package.json index 5023baa..2b9a283 100644 --- a/examples/svelte/package.json +++ b/examples/svelte/package.json @@ -1,7 +1,7 @@ { "name": "@examples/svelte", "type": "module", - "version": "0.0.3", + "version": "0.0.4", "private": true, "scripts": { "dev": "vite", diff --git a/examples/sveltekit/CHANGELOG.md b/examples/sveltekit/CHANGELOG.md index 7c3ce56..a543c58 100644 --- a/examples/sveltekit/CHANGELOG.md +++ b/examples/sveltekit/CHANGELOG.md @@ -1,5 +1,12 @@ # @example/sveltekit +## 0.0.4 + +### Patch Changes + +- Updated dependencies [06cd15f] + - svelte-query-params@0.2.1 + ## 0.0.3 ### Patch Changes diff --git a/examples/sveltekit/package.json b/examples/sveltekit/package.json index 0d8f421..37d6782 100644 --- a/examples/sveltekit/package.json +++ b/examples/sveltekit/package.json @@ -1,7 +1,7 @@ { "name": "@example/sveltekit", "type": "module", - "version": "0.0.3", + "version": "0.0.4", "private": true, "scripts": { "dev": "vite", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 9b49220..9a50c36 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,28 @@ # svelte-query-params +## 0.2.1 + +### Patch Changes + +- 06cd15f: (breaking) Server-side fixes + + ### Bug Fixes + + - The SvelteKit adapter no longer reads from the `page` store as this cannot be subscribed to on the server + + ### Breaking Changes + + - Restructure adapter API + - The server handler no longer needs to read and return the current URL + - The browser handler must now return the full URL/location instead of just the search string and hash + - The returned function from `createUseQueryParams` now requires a `URL | Location` param + - 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. + - If needed, consumers can create a client wrapper around it which will pass `window.location` or the URL from the page store + + ### Internals + + - remove `console.log` - not sure if a Svelte upgrade fixed things or this refactor did, but it is (thankfully) no longer needed + ## 0.2.0 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index df90417..fde7e7a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "svelte-query-params", "type": "module", - "version": "0.2.0", + "version": "0.2.1", "description": "A lightweight, dead-simple, type-safe reactive query parameter store built for Svelte 5.", "author": "Ernest Nkansah-Badu ", "license": "MIT", @@ -83,7 +83,10 @@ "module": "dist/index.svelte.js", "svelte": "dist/index.svelte.js", "types": "dist/index.svelte.d.ts", - "files": ["dist", "README.md"], + "files": [ + "dist", + "README.md" + ], "engines": { "node": ">=v20.0.0" },