Skip to content

Commit

Permalink
Merge pull request #9 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 29, 2024
2 parents 565493e + ae6a96f commit 445085f
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 29 deletions.
25 changes: 0 additions & 25 deletions .changeset/great-eggs-shout.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.5

### Patch Changes

- Updated dependencies [ddc16f2]
- [email protected]

## 0.0.4

### 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.4",
"version": "0.0.5",
"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.5

### Patch Changes

- Updated dependencies [ddc16f2]
- [email protected]

## 0.0.4

### 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.4",
"version": "0.0.5",
"private": true,
"scripts": {
"dev": "vite",
Expand Down
27 changes: 27 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# svelte-query-params

## 0.2.2

### Patch Changes

- ddc16f2: ### New Features

- Query params can now be set on the server

### Breaking Changes

- Removed the `hash` argument in the `save` method of the server handler in an adapter.

- This is because the server will never receive the hash

- Renamed the `dom` adapter to `browser` as the name fits better with what it does

### Fixes

- The options the SvelteKit adapter takes is now exported
- Add event listeners to window if `createUseQueryParams` is registered on the server first
- Values in the "helpers" returned were previously not reactive
- Ensure the `keys()` helper method returns the correct values when passing in a schema
- The search string from the helpers now includes all query params, not just params defined in validators
- Ensure all search params are persisted to browser/server, not just params defined in validators
- The parsed query was allowing values not defined in validators to passthrough, now fixed
- Fix valibot schema check now that minimum valibot version has been upgraded

## 0.2.1

### Patch 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.1",
"version": "0.2.2",
"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 445085f

Please sign in to comment.