Skip to content

Commit 453badd

Browse files
chore: release (rc) (#2257)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 83122ed commit 453badd

3 files changed

Lines changed: 19 additions & 1 deletion

File tree

.changeset/pre.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66
"@solidjs/image": "0.0.0"
77
},
88
"changesets": [
9+
"brave-hoops-listen",
910
"bright-dogs-serve",
1011
"chilly-rabbits-lie",
1112
"eighty-jars-invite",
1213
"eleven-actors-nail",
14+
"great-hooks-observe",
1315
"lemon-plugins-serialize",
1416
"lucky-moths-nonce",
1517
"lucky-pans-gather",
@@ -19,6 +21,9 @@
1921
"sour-knives-look",
2022
"spotty-jobs-relax",
2123
"spotty-moons-repeat",
24+
"tall-donuts-smile",
25+
"tidy-donkeys-cheat",
26+
"tidy-donkeys-reject",
2227
"tidy-paths-resolve",
2328
"tricky-goats-cheer",
2429
"wild-pots-repeat"

packages/start/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @solidjs/start
22

3+
## 2.0.0-rc.6
4+
5+
### Minor Changes
6+
7+
- bac24b2: Add a `serverFunctions.onError` option naming a module that observes and replaces what a server function threw, before it is serialized into the response
8+
9+
### Patch Changes
10+
11+
- 27c2877: Remove leftover debug `console.log` calls from the server functions inspector, which logged on every server function request in dev.
12+
- f15724b: Declare `@solidjs/router` as an optional peer dependency constrained to `>=0.16.0 <2.0.0-0`. Router v2 is expected to target Solid v2, so installing it alongside `@solidjs/start` v2 now surfaces a peer warning instead of silently producing an incompatible pairing. The peer is marked optional, so apps that do not use the router are unaffected.
13+
- 5c8612f: Apply cookies set on a returned or thrown response during single flight mutations. `redirect(to, { headers: { "Set-Cookie": ... } })` previously only reached the browser: the single flight re-render of the redirect target still ran with the old request cookies, so queries reading that cookie saw stale values. Those cookies are now merged into the request the re-render sees, matching what a browser round trip would have sent.
14+
- 83122ed: Reject server function calls when the response is a 5xx without an X-Error header, instead of resolving with the parsed error body
15+
316
## 2.0.0-rc.5
417

518
### Minor Changes

packages/start/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@solidjs/start",
3-
"version": "2.0.0-rc.5",
3+
"version": "2.0.0-rc.6",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/solidjs/solid-start.git",

0 commit comments

Comments
 (0)