Skip to content

Commit cc135b7

Browse files
chore: release
1 parent 8f03760 commit cc135b7

7 files changed

Lines changed: 18 additions & 32 deletions

File tree

‎.changeset/client-only-named-export.md‎

Lines changed: 0 additions & 11 deletions
This file was deleted.

‎.changeset/early-hints.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎.changeset/request-abort-signal.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎.changeset/route-chunk-reload.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎.changeset/spa-page-api-route.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎packages/start/CHANGELOG.md‎

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

3+
## 1.3.6
4+
5+
### Patch Changes
6+
7+
- 92d9603: Let a `clientOnly` loader resolve to the component itself, so a named export works without wrapping it in `{ default }`:
8+
9+
```tsx
10+
const Chart = clientOnly(() => import("./chart").then(({ Chart }) => Chart));
11+
```
12+
13+
Destructuring the export inside the loader also lets the bundler leave the module's other exports out of the chunk.
14+
15+
- 8f03760: Add an `earlyHints` option that sends the page's assets as `103 Early Hints`, so the browser can start downloading them while the server is still rendering. It covers the app's entry assets and the assets of the routes being rendered. On runtimes other than Node, the same hints are added as `Link` headers on the response. Off by default, and only applies to production builds.
16+
- e36e23c: Make `event.request.signal` abort when the client disconnects on Node. The request was built without a signal tied to the connection, so it never aborted and API routes kept running after the client went away. On web runtimes the platform signal still applies.
17+
- 95ca993: Reload the page once when a route's code fails to load during client-side navigation, such as when a deploy replaced it while the page was open. Before, the navigation ended on an error page until the user refreshed by hand. The page now reloads at the destination and loads the new version. A route that still fails right after the reload shows the error instead of reloading again. This only applies to production builds, and can be turned off with `reloadOnRouteChunkError: false`.
18+
- 273496b: Serve pages in SPA mode (`ssr: false`) when a route file exports both a page and an API handler, such as a `[...404].tsx` with a `GET`. The server treated those routes as API-only, so a `GET` that returned nothing gave a 404 for every URL the route matched.
19+
320
## 1.3.5
421

522
### Patch 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": "1.3.5",
3+
"version": "1.3.6",
44
"type": "module",
55
"author": "Ryan Carniato",
66
"license": "MIT",

0 commit comments

Comments
 (0)