Skip to content

Commit

Permalink
Merge pull request #8 from Ernxst/changeset-release/main
Browse files Browse the repository at this point in the history
chore(ci): release
  • Loading branch information
Ernxst authored Jun 22, 2024
2 parents 06cd15f + 683e6c2 commit 6b4fd74
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 27 deletions.
23 changes: 0 additions & 23 deletions .changeset/gorgeous-gifts-type.md

This file was deleted.

7 changes: 7 additions & 0 deletions examples/svelte/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @examples/svelte

## 0.0.4

### Patch Changes

- Updated dependencies [06cd15f]
- [email protected]

## 0.0.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@examples/svelte",
"type": "module",
"version": "0.0.3",
"version": "0.0.4",
"private": true,
"scripts": {
"dev": "vite",
Expand Down
7 changes: 7 additions & 0 deletions examples/sveltekit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @example/sveltekit

## 0.0.4

### Patch Changes

- Updated dependencies [06cd15f]
- [email protected]

## 0.0.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/sveltekit/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@example/sveltekit",
"type": "module",
"version": "0.0.3",
"version": "0.0.4",
"private": true,
"scripts": {
"dev": "vite",
Expand Down
23 changes: 23 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 5 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -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"
},
Expand Down

0 comments on commit 6b4fd74

Please sign in to comment.