Skip to content

Commit 962877f

Browse files
committed
Arbitrary types can now be sent in the form using transport.
1 parent c614205 commit 962877f

File tree

12 files changed

+859
-511
lines changed

12 files changed

+859
-511
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ Headlines: Added, Changed, Deprecated, Removed, Fixed, Security
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
10+
### Added
11+
12+
- Arbitrary types can now be sent in the form using the [transport](https://svelte.dev/docs/kit/hooks#Universal-hooks-transport) feature in SvelteKit hooks. There is a `transport` option both for `superValidate` and `superForm` that the `transport` export in `hooks.ts` can be used in directly. **Note:** Requires SvelteKit `^2.11.0`.
13+
814
## [2.21.1] - 2024-12-04
915

1016
### Fixed

package.json

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -160,61 +160,62 @@
160160
}
161161
},
162162
"optionalDependencies": {
163-
"@effect/schema": "^0.75.3",
163+
"@effect/schema": "^0.75.5",
164164
"@exodus/schemasafe": "^1.3.0",
165165
"@gcornut/valibot-json-schema": "^0.31.0",
166-
"@sinclair/typebox": "^0.34.9",
166+
"@sinclair/typebox": "^0.34.11",
167167
"@typeschema/class-validator": "^0.3.0",
168-
"@vinejs/vine": "^2.0.0",
169-
"arktype": "^2.0.0-rc.23",
168+
"@vinejs/vine": "^2.1.0",
169+
"arktype": "2.0.0-rc.26",
170170
"class-validator": "^0.14.1",
171-
"effect": "^3.9.1",
171+
"effect": "^3.11.7",
172172
"joi": "^17.13.3",
173173
"json-schema-to-ts": "^3.1.1",
174174
"superstruct": "^2.0.2",
175-
"valibot": "^1.0.0-beta.3",
176-
"yup": "^1.4.0",
177-
"zod": "^3.23.8",
178-
"zod-to-json-schema": "^3.23.3"
175+
"valibot": "1.0.0-beta.9",
176+
"yup": "^1.5.0",
177+
"zod": "^3.24.1",
178+
"zod-to-json-schema": "^3.24.1"
179179
},
180180
"dependencies": {
181181
"devalue": "^5.1.1",
182182
"just-clone": "^6.2.0",
183183
"memoize-weak": "^1.0.2",
184-
"ts-deepmerge": "^7.0.1"
184+
"ts-deepmerge": "^7.0.2"
185185
},
186186
"devDependencies": {
187-
"@sveltejs/adapter-auto": "^3.2.5",
188-
"@sveltejs/kit": "^2.6.1",
189-
"@sveltejs/package": "^2.3.5",
187+
"@sveltejs/adapter-auto": "^3.3.1",
188+
"@sveltejs/kit": "^2.11.1",
189+
"@sveltejs/package": "^2.3.7",
190190
"@sveltejs/vite-plugin-svelte": "4.0.0-next.7",
191191
"@types/json-schema": "^7.0.15",
192-
"@types/node": "^22.7.4",
192+
"@types/node": "^22.10.2",
193193
"@types/throttle-debounce": "^5.0.2",
194194
"@types/uuid": "^9.0.8",
195195
"@typescript-eslint/eslint-plugin": "^6.21.0",
196196
"@typescript-eslint/parser": "^6.21.0",
197197
"@valibot/i18n": "^0.16.0",
198+
"decimal.js": "^10.4.3",
198199
"eslint": "^8.57.1",
199200
"eslint-config-prettier": "^9.1.0",
200201
"eslint-plugin-dci-lint": "^0.3.2",
201-
"eslint-plugin-svelte": "^2.44.1",
202-
"i18next": "^23.15.1",
202+
"eslint-plugin-svelte": "^2.46.1",
203+
"i18next": "^23.16.8",
203204
"only-allow": "^1.2.1",
204-
"prettier": "^3.3.3",
205-
"prettier-plugin-svelte": "^3.2.7",
206-
"publint": "^0.2.11",
207-
"sass": "^1.79.4",
208-
"svelte": "^5.0.0",
205+
"prettier": "^3.4.2",
206+
"prettier-plugin-svelte": "^3.3.2",
207+
"publint": "^0.2.12",
208+
"sass": "^1.83.0",
209+
"svelte": "^5.13.0",
209210
"svelte-check": "^3.8.6",
210211
"svelte-french-toast": "^1.2.0",
211212
"sveltekit-flash-message": "^2.4.4",
212213
"sveltekit-rate-limiter": "^0.6.1",
213214
"throttle-debounce": "^5.0.2",
214-
"tslib": "^2.7.0",
215-
"typescript": "^5.6.2",
215+
"tslib": "^2.8.1",
216+
"typescript": "^5.7.2",
216217
"uuid": "^9.0.1",
217-
"vite": "^5.4.8",
218+
"vite": "^5.4.11",
218219
"vitest": "^1.6.0",
219220
"zod-i18n-map": "^2.27.0"
220221
},

0 commit comments

Comments
 (0)