@sveltejs/kit 1.0.0-next.98 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/package.json +91 -77
- package/postinstall.js +47 -0
- package/src/cli.js +44 -0
- package/src/constants.js +5 -0
- package/src/core/adapt/builder.js +221 -0
- package/src/core/adapt/index.js +31 -0
- package/src/core/config/default-error.html +56 -0
- package/src/core/config/index.js +100 -0
- package/src/core/config/options.js +387 -0
- package/src/core/config/types.d.ts +1 -0
- package/src/core/env.js +138 -0
- package/src/core/generate_manifest/index.js +116 -0
- package/src/core/prerender/crawl.js +207 -0
- package/src/core/prerender/entities.js +2252 -0
- package/src/core/prerender/fallback.js +43 -0
- package/src/core/prerender/prerender.js +459 -0
- package/src/core/prerender/queue.js +80 -0
- package/src/core/sync/create_manifest_data/conflict.js +0 -0
- package/src/core/sync/create_manifest_data/index.js +523 -0
- package/src/core/sync/create_manifest_data/sort.js +161 -0
- package/src/core/sync/create_manifest_data/types.d.ts +37 -0
- package/src/core/sync/sync.js +59 -0
- package/src/core/sync/utils.js +33 -0
- package/src/core/sync/write_ambient.js +58 -0
- package/src/core/sync/write_client_manifest.js +107 -0
- package/src/core/sync/write_matchers.js +25 -0
- package/src/core/sync/write_root.js +91 -0
- package/src/core/sync/write_tsconfig.js +195 -0
- package/src/core/sync/write_types/index.js +809 -0
- package/src/core/utils.js +67 -0
- package/src/exports/hooks/index.js +1 -0
- package/src/exports/hooks/sequence.js +44 -0
- package/src/exports/index.js +55 -0
- package/src/exports/node/index.js +172 -0
- package/src/exports/node/polyfills.js +28 -0
- package/src/exports/vite/build/build_server.js +359 -0
- package/src/exports/vite/build/build_service_worker.js +85 -0
- package/src/exports/vite/build/utils.js +230 -0
- package/src/exports/vite/dev/index.js +597 -0
- package/src/exports/vite/graph_analysis/index.js +99 -0
- package/src/exports/vite/graph_analysis/types.d.ts +5 -0
- package/src/exports/vite/graph_analysis/utils.js +6 -0
- package/src/exports/vite/index.js +708 -0
- package/src/exports/vite/preview/index.js +194 -0
- package/src/exports/vite/types.d.ts +3 -0
- package/src/exports/vite/utils.js +184 -0
- package/src/runtime/app/env.js +1 -0
- package/src/runtime/app/environment.js +13 -0
- package/src/runtime/app/forms.js +135 -0
- package/src/runtime/app/navigation.js +22 -0
- package/src/runtime/app/paths.js +1 -0
- package/src/runtime/app/stores.js +57 -0
- package/src/runtime/client/ambient.d.ts +30 -0
- package/src/runtime/client/client.js +1725 -0
- package/src/runtime/client/constants.js +10 -0
- package/src/runtime/client/fetcher.js +127 -0
- package/src/runtime/client/parse.js +60 -0
- package/src/runtime/client/singletons.js +21 -0
- package/src/runtime/client/start.js +45 -0
- package/src/runtime/client/types.d.ts +86 -0
- package/src/runtime/client/utils.js +257 -0
- package/src/runtime/components/error.svelte +6 -0
- package/{assets → src/runtime}/components/layout.svelte +0 -0
- package/src/runtime/control.js +45 -0
- package/src/runtime/env/dynamic/private.js +1 -0
- package/src/runtime/env/dynamic/public.js +1 -0
- package/src/runtime/env-private.js +6 -0
- package/src/runtime/env-public.js +6 -0
- package/src/runtime/env.js +12 -0
- package/src/runtime/hash.js +20 -0
- package/src/runtime/paths.js +11 -0
- package/src/runtime/server/cookie.js +228 -0
- package/src/runtime/server/data/index.js +158 -0
- package/src/runtime/server/endpoint.js +86 -0
- package/src/runtime/server/fetch.js +175 -0
- package/src/runtime/server/index.js +405 -0
- package/src/runtime/server/page/actions.js +267 -0
- package/src/runtime/server/page/crypto.js +239 -0
- package/src/runtime/server/page/csp.js +250 -0
- package/src/runtime/server/page/index.js +326 -0
- package/src/runtime/server/page/load_data.js +270 -0
- package/src/runtime/server/page/render.js +393 -0
- package/src/runtime/server/page/respond_with_error.js +103 -0
- package/src/runtime/server/page/serialize_data.js +87 -0
- package/src/runtime/server/page/types.d.ts +35 -0
- package/src/runtime/server/utils.js +179 -0
- package/src/utils/array.js +9 -0
- package/src/utils/error.js +22 -0
- package/src/utils/escape.js +46 -0
- package/src/utils/exports.js +54 -0
- package/src/utils/filesystem.js +178 -0
- package/src/utils/functions.js +16 -0
- package/src/utils/http.js +72 -0
- package/src/utils/misc.js +1 -0
- package/src/utils/promises.js +17 -0
- package/src/utils/routing.js +201 -0
- package/src/utils/unit_test.js +11 -0
- package/src/utils/url.js +161 -0
- package/svelte-kit.js +1 -1
- package/types/ambient.d.ts +451 -0
- package/types/index.d.ts +1168 -5
- package/types/internal.d.ts +348 -160
- package/types/private.d.ts +237 -0
- package/types/synthetic/$env+dynamic+private.md +10 -0
- package/types/synthetic/$env+dynamic+public.md +8 -0
- package/types/synthetic/$env+static+private.md +19 -0
- package/types/synthetic/$env+static+public.md +7 -0
- package/types/synthetic/$lib.md +5 -0
- package/CHANGELOG.md +0 -819
- package/assets/components/error.svelte +0 -21
- package/assets/runtime/app/env.js +0 -16
- package/assets/runtime/app/navigation.js +0 -53
- package/assets/runtime/app/paths.js +0 -1
- package/assets/runtime/app/stores.js +0 -87
- package/assets/runtime/chunks/utils.js +0 -13
- package/assets/runtime/env.js +0 -8
- package/assets/runtime/internal/singletons.js +0 -20
- package/assets/runtime/internal/start.js +0 -1061
- package/assets/runtime/paths.js +0 -12
- package/dist/chunks/_commonjsHelpers.js +0 -8
- package/dist/chunks/cert.js +0 -29079
- package/dist/chunks/constants.js +0 -3
- package/dist/chunks/index.js +0 -3526
- package/dist/chunks/index2.js +0 -583
- package/dist/chunks/index3.js +0 -31
- package/dist/chunks/index4.js +0 -1005
- package/dist/chunks/index5.js +0 -327
- package/dist/chunks/index6.js +0 -325
- package/dist/chunks/standard.js +0 -99
- package/dist/chunks/utils.js +0 -149
- package/dist/cli.js +0 -711
- package/dist/http.js +0 -66
- package/dist/install-fetch.js +0 -1699
- package/dist/ssr.js +0 -1529
- package/types/ambient-modules.d.ts +0 -115
- package/types/config.d.ts +0 -101
- package/types/endpoint.d.ts +0 -23
- package/types/helper.d.ts +0 -19
- package/types/hooks.d.ts +0 -23
- package/types/page.d.ts +0 -30
package/CHANGELOG.md
DELETED
|
@@ -1,819 +0,0 @@
|
|
|
1
|
-
# @sveltejs/kit
|
|
2
|
-
|
|
3
|
-
## 1.0.0-next.98
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- d279e36: Add invalidate(url) API for re-running load functions
|
|
8
|
-
|
|
9
|
-
## 1.0.0-next.97
|
|
10
|
-
|
|
11
|
-
### Patch Changes
|
|
12
|
-
|
|
13
|
-
- 694f5de: Fixes `navigating` store type
|
|
14
|
-
- 0befffb: Rename .svelte to .svelte-kit
|
|
15
|
-
- c6fde99: Switch to ESM in config files
|
|
16
|
-
|
|
17
|
-
## 1.0.0-next.96
|
|
18
|
-
|
|
19
|
-
### Patch Changes
|
|
20
|
-
|
|
21
|
-
- 63eff1a: Add prerendering to \$app/env typings
|
|
22
|
-
|
|
23
|
-
## 1.0.0-next.95
|
|
24
|
-
|
|
25
|
-
### Patch Changes
|
|
26
|
-
|
|
27
|
-
- 16cca89: Export AdapterUtils type for use in adapters
|
|
28
|
-
- f3ef93d: Not calling JSON.stringify on endpoint's body if it's a string and the content-type header denotes json
|
|
29
|
-
- 5023e98: Remove 'Navigated to' text from announcer'
|
|
30
|
-
- b4d0d6c: Normalize keys of headers from server side requests
|
|
31
|
-
- 08ebcb5: Add esm config support
|
|
32
|
-
- 427e8e0: Validate template file on startup
|
|
33
|
-
|
|
34
|
-
## 1.0.0-next.94
|
|
35
|
-
|
|
36
|
-
### Patch Changes
|
|
37
|
-
|
|
38
|
-
- 72c78a4: Handle URLs that need to be decoded
|
|
39
|
-
|
|
40
|
-
## 1.0.0-next.93
|
|
41
|
-
|
|
42
|
-
### Patch Changes
|
|
43
|
-
|
|
44
|
-
- 353afa1: Disable FLoC by default
|
|
45
|
-
|
|
46
|
-
## 1.0.0-next.92
|
|
47
|
-
|
|
48
|
-
### Patch Changes
|
|
49
|
-
|
|
50
|
-
- 354e384: Allow FormData to be passed as RequestHandler type Body argument
|
|
51
|
-
- b1bfe83: Show error page on unknown initial path. Fixes #1190.
|
|
52
|
-
|
|
53
|
-
## 1.0.0-next.91
|
|
54
|
-
|
|
55
|
-
### Patch Changes
|
|
56
|
-
|
|
57
|
-
- 82955ec: fix: adapt to svelte ids without ?import in vite 2.2.3
|
|
58
|
-
|
|
59
|
-
## 1.0.0-next.90
|
|
60
|
-
|
|
61
|
-
### Patch Changes
|
|
62
|
-
|
|
63
|
-
- ac60208: Exit process after adapting
|
|
64
|
-
|
|
65
|
-
## 1.0.0-next.89
|
|
66
|
-
|
|
67
|
-
### Patch Changes
|
|
68
|
-
|
|
69
|
-
- 927e63c: update the error message of prerender to optionally include the parent variable
|
|
70
|
-
|
|
71
|
-
## 1.0.0-next.88
|
|
72
|
-
|
|
73
|
-
### Patch Changes
|
|
74
|
-
|
|
75
|
-
- 6f2b4a6: Remove references to npm start
|
|
76
|
-
|
|
77
|
-
## 1.0.0-next.87
|
|
78
|
-
|
|
79
|
-
### Patch Changes
|
|
80
|
-
|
|
81
|
-
- 4131467: Prerender fallback page for SPAs
|
|
82
|
-
|
|
83
|
-
## 1.0.0-next.86
|
|
84
|
-
|
|
85
|
-
### Patch Changes
|
|
86
|
-
|
|
87
|
-
- 2130087: Support multiple rel values on anchor tag
|
|
88
|
-
- ba732ff: Report errors in hooks.js
|
|
89
|
-
- a2f3f4b: Rename `start` to `preview` in the CLI and package scripts
|
|
90
|
-
|
|
91
|
-
## 1.0.0-next.85
|
|
92
|
-
|
|
93
|
-
### Patch Changes
|
|
94
|
-
|
|
95
|
-
- 4645ad5: Force Vite to bundle Svelte component libraries in SSR
|
|
96
|
-
- abf0248: Fix \$service-worker types
|
|
97
|
-
|
|
98
|
-
## 1.0.0-next.84
|
|
99
|
-
|
|
100
|
-
### Patch Changes
|
|
101
|
-
|
|
102
|
-
- 5c2665f: Prevent ...rest parameters from swallowing earlier characters
|
|
103
|
-
- 4e1c4ea: Omit modulepreload links from pages with no JS
|
|
104
|
-
- 5d864a6: Fix RequestHandler return type
|
|
105
|
-
- e1313d0: Make response.body optional
|
|
106
|
-
|
|
107
|
-
## 1.0.0-next.83
|
|
108
|
-
|
|
109
|
-
### Patch Changes
|
|
110
|
-
|
|
111
|
-
- a4a1075: Work around apparent Cloudflare Workers platform bugs
|
|
112
|
-
|
|
113
|
-
## 1.0.0-next.82
|
|
114
|
-
|
|
115
|
-
### Patch Changes
|
|
116
|
-
|
|
117
|
-
- 4af45e1: Remove usage of node built-ins from runtime
|
|
118
|
-
|
|
119
|
-
## 1.0.0-next.81
|
|
120
|
-
|
|
121
|
-
### Patch Changes
|
|
122
|
-
|
|
123
|
-
- 1237eb3: Expose rawBody on request, and expect rawBody from adapters
|
|
124
|
-
- 1237eb3: Expose getRawBody from kit/http
|
|
125
|
-
|
|
126
|
-
## 1.0.0-next.80
|
|
127
|
-
|
|
128
|
-
### Patch Changes
|
|
129
|
-
|
|
130
|
-
- 7a4b351: Expose install-fetch subpackage for adapters to use
|
|
131
|
-
|
|
132
|
-
## 1.0.0-next.79
|
|
133
|
-
|
|
134
|
-
### Patch Changes
|
|
135
|
-
|
|
136
|
-
- d3abd97: Fix Windows build output containing backward slashes
|
|
137
|
-
|
|
138
|
-
## 1.0.0-next.78
|
|
139
|
-
|
|
140
|
-
### Patch Changes
|
|
141
|
-
|
|
142
|
-
- 6e27880: Move server-side fetch to adapters instead of build step
|
|
143
|
-
- 61d7fa0: Better error logging
|
|
144
|
-
- 041b706: Implement layout resets
|
|
145
|
-
- 148819a: Use latest vite-plugin-svelte
|
|
146
|
-
- 9d54eed: Make sveltekit:prefetch a noop if <a> has no href
|
|
147
|
-
|
|
148
|
-
## 1.0.0-next.77
|
|
149
|
-
|
|
150
|
-
### Patch Changes
|
|
151
|
-
|
|
152
|
-
- fee388a: Include CSS for entry point/generated component
|
|
153
|
-
|
|
154
|
-
## 1.0.0-next.76
|
|
155
|
-
|
|
156
|
-
### Patch Changes
|
|
157
|
-
|
|
158
|
-
- f870909: Pin vite-plugin-svelte version
|
|
159
|
-
- de2466f: Fix stale prerendering bug
|
|
160
|
-
|
|
161
|
-
## 1.0.0-next.75
|
|
162
|
-
|
|
163
|
-
### Patch Changes
|
|
164
|
-
|
|
165
|
-
- 0c02dc0: Use global URLSearchParams instead of import from node url
|
|
166
|
-
- 8021d6b: Fix default error page
|
|
167
|
-
- 11ec751: Fix build warnings about missing exports in hooks file
|
|
168
|
-
|
|
169
|
-
## 1.0.0-next.74
|
|
170
|
-
|
|
171
|
-
### Patch Changes
|
|
172
|
-
|
|
173
|
-
- 4c45784: Add ambient types to published files
|
|
174
|
-
|
|
175
|
-
## 1.0.0-next.73
|
|
176
|
-
|
|
177
|
-
### Patch Changes
|
|
178
|
-
|
|
179
|
-
- 1007f67: Allow non-root \$error.svelte components
|
|
180
|
-
- ca108a6: Change `handle` hook from positional arguments to named arguments
|
|
181
|
-
|
|
182
|
-
## 1.0.0-next.72
|
|
183
|
-
|
|
184
|
-
### Patch Changes
|
|
185
|
-
|
|
186
|
-
- 1d5228c: Make --open option work with --https
|
|
187
|
-
- 39b6967: Add ambient type definitions for \$app imports
|
|
188
|
-
- 1d5228c: Make --open option work on WSL
|
|
189
|
-
- bb2d97d: Fix argument type for RequestHandler
|
|
190
|
-
|
|
191
|
-
## 1.0.0-next.71
|
|
192
|
-
|
|
193
|
-
### Patch Changes
|
|
194
|
-
|
|
195
|
-
- 108c26c: Always return a response from render function in handle
|
|
196
|
-
|
|
197
|
-
## 1.0.0-next.70
|
|
198
|
-
|
|
199
|
-
### Patch Changes
|
|
200
|
-
|
|
201
|
-
- 6d9f7b1: Only include CSS on an SSR'd page
|
|
202
|
-
- 6ecfa2c: Remove duplicate <style> element
|
|
203
|
-
|
|
204
|
-
## 1.0.0-next.69
|
|
205
|
-
|
|
206
|
-
### Patch Changes
|
|
207
|
-
|
|
208
|
-
- 4d2cd62: Add prerendering to \$app/env
|
|
209
|
-
- e2eeeea: Call load when path changes if page.path is used
|
|
210
|
-
- 50b5526: Pass through credentials when fetching in load
|
|
211
|
-
- 6384af6: Only inline data if hydrate=true
|
|
212
|
-
|
|
213
|
-
## 1.0.0-next.68
|
|
214
|
-
|
|
215
|
-
### Patch Changes
|
|
216
|
-
|
|
217
|
-
- 24fab19: Add --https flag to dev and start
|
|
218
|
-
- ba4f9b7: Check port, only expose to network with --host flag
|
|
219
|
-
|
|
220
|
-
## 1.0.0-next.67
|
|
221
|
-
|
|
222
|
-
### Patch Changes
|
|
223
|
-
|
|
224
|
-
- 679e997: Fix client-side redirect loop detection
|
|
225
|
-
- 8d453c8: Specify minimum Node version number in @sveltejs/kit and add .npmrc to enforce it
|
|
226
|
-
- 78aec0c: Detect service worker support
|
|
227
|
-
- f33a22c: Make ...rest parameters optional
|
|
228
|
-
|
|
229
|
-
## 1.0.0-next.66
|
|
230
|
-
|
|
231
|
-
### Patch Changes
|
|
232
|
-
|
|
233
|
-
- d9ce2a2: Correct response type for fetch
|
|
234
|
-
|
|
235
|
-
## 1.0.0-next.65
|
|
236
|
-
|
|
237
|
-
### Patch Changes
|
|
238
|
-
|
|
239
|
-
- c0b9873: Always apply layout props when hydrating
|
|
240
|
-
- b8a8e53: Add type to config.kit.vite
|
|
241
|
-
- 9b09bcc: Prevent XSS when serializing fetch results
|
|
242
|
-
|
|
243
|
-
## 1.0.0-next.64
|
|
244
|
-
|
|
245
|
-
### Patch Changes
|
|
246
|
-
|
|
247
|
-
- 7f58512: Prevent Vite prebundling from crashing on startup
|
|
248
|
-
|
|
249
|
-
## 1.0.0-next.63
|
|
250
|
-
|
|
251
|
-
### Patch Changes
|
|
252
|
-
|
|
253
|
-
- 31f94fe: Add ssr, router and hydrate options
|
|
254
|
-
|
|
255
|
-
## 1.0.0-next.62
|
|
256
|
-
|
|
257
|
-
### Patch Changes
|
|
258
|
-
|
|
259
|
-
- 864c3d4: Assets imported from css and js/ts files are emitted as files instead of being inlined
|
|
260
|
-
|
|
261
|
-
## 1.0.0-next.61
|
|
262
|
-
|
|
263
|
-
### Patch Changes
|
|
264
|
-
|
|
265
|
-
- 4b2c97e: Initialise router with history.state
|
|
266
|
-
|
|
267
|
-
## 1.0.0-next.60
|
|
268
|
-
|
|
269
|
-
### Patch Changes
|
|
270
|
-
|
|
271
|
-
- 84e9023: Fix host property
|
|
272
|
-
- 272148b: Rename \$service-worker::assets to files, per the docs
|
|
273
|
-
- d5071c5: Hydrate initial page before starting router
|
|
274
|
-
- 4a1c04a: More accurate MODULE_NOT_FOUND errors
|
|
275
|
-
- d881b7e: Replace setup with hooks
|
|
276
|
-
|
|
277
|
-
## 1.0.0-next.59
|
|
278
|
-
|
|
279
|
-
### Patch Changes
|
|
280
|
-
|
|
281
|
-
- 826f39e: Make prefetching work
|
|
282
|
-
|
|
283
|
-
## 1.0.0-next.58
|
|
284
|
-
|
|
285
|
-
### Patch Changes
|
|
286
|
-
|
|
287
|
-
- 26893b0: Allow first argument to fetch in load to be a request
|
|
288
|
-
- 924db15: Add copy function to Builder.js
|
|
289
|
-
|
|
290
|
-
## 1.0.0-next.57
|
|
291
|
-
|
|
292
|
-
### Patch Changes
|
|
293
|
-
|
|
294
|
-
- 391189f: Check for options.initiator in correct place
|
|
295
|
-
|
|
296
|
-
## 1.0.0-next.56
|
|
297
|
-
|
|
298
|
-
### Patch Changes
|
|
299
|
-
|
|
300
|
-
- 82cbe2b: Shrink client manifest
|
|
301
|
-
- 8024178: remove @sveltejs/app-utils
|
|
302
|
-
|
|
303
|
-
## 1.0.0-next.55
|
|
304
|
-
|
|
305
|
-
### Patch Changes
|
|
306
|
-
|
|
307
|
-
- d0a7019: switch to @sveltejs/vite-plugin-svelte
|
|
308
|
-
- 8a88fad: Replace regex routes with fallthrough routes
|
|
309
|
-
|
|
310
|
-
## 1.0.0-next.54
|
|
311
|
-
|
|
312
|
-
### Patch Changes
|
|
313
|
-
|
|
314
|
-
- 3037530: Create history entry for initial route
|
|
315
|
-
- 04f17f5: Prevent erronous <style>undefined</style>
|
|
316
|
-
- 8805c6d: Pass adapters directly to svelte.config.cjs
|
|
317
|
-
|
|
318
|
-
## 1.0.0-next.53
|
|
319
|
-
|
|
320
|
-
### Patch Changes
|
|
321
|
-
|
|
322
|
-
- 9cf2f21: Only require page components to export prerender
|
|
323
|
-
- e860de0: Invalidate page when query changes
|
|
324
|
-
- 7bb1cf0: Disable vite-plugin-svelte transform cache
|
|
325
|
-
|
|
326
|
-
## 1.0.0-next.52
|
|
327
|
-
|
|
328
|
-
### Patch Changes
|
|
329
|
-
|
|
330
|
-
- ac3669e: Move Vite config into svelte.config.cjs
|
|
331
|
-
|
|
332
|
-
## 1.0.0-next.51
|
|
333
|
-
|
|
334
|
-
### Patch Changes
|
|
335
|
-
|
|
336
|
-
- 34a00f9: Bypass router on hydration
|
|
337
|
-
|
|
338
|
-
## 1.0.0-next.50
|
|
339
|
-
|
|
340
|
-
### Patch Changes
|
|
341
|
-
|
|
342
|
-
- 0512fd1: Remove startGlobal option
|
|
343
|
-
- 9212aa5: Add options to adapter-node, and add adapter types
|
|
344
|
-
- 0512fd1: Fire custom events for start, and navigation start/end
|
|
345
|
-
|
|
346
|
-
## 1.0.0-next.49
|
|
347
|
-
|
|
348
|
-
### Patch Changes
|
|
349
|
-
|
|
350
|
-
- ab28c0a: kit: include missing types.d.ts
|
|
351
|
-
- c76c9bf: Upgrade Vite
|
|
352
|
-
|
|
353
|
-
## 1.0.0-next.48
|
|
354
|
-
|
|
355
|
-
### Patch Changes
|
|
356
|
-
|
|
357
|
-
- e37a302: Make getSession future-proof
|
|
358
|
-
|
|
359
|
-
## 1.0.0-next.47
|
|
360
|
-
|
|
361
|
-
### Patch Changes
|
|
362
|
-
|
|
363
|
-
- 5554acc: Add \$lib alias
|
|
364
|
-
- 5cd6f11: bump vite-plugin-svelte to 0.11.0
|
|
365
|
-
|
|
366
|
-
## 1.0.0-next.46
|
|
367
|
-
|
|
368
|
-
### Patch Changes
|
|
369
|
-
|
|
370
|
-
- f35a5cd: Change adapter signature
|
|
371
|
-
|
|
372
|
-
## 1.0.0-next.45
|
|
373
|
-
|
|
374
|
-
### Minor Changes
|
|
375
|
-
|
|
376
|
-
- 925638a: Remove endpoints from the files built for the client
|
|
377
|
-
|
|
378
|
-
### Patch Changes
|
|
379
|
-
|
|
380
|
-
- c3cf3f3: Bump deps
|
|
381
|
-
- 625747d: kit: bundle @sveltejs/kit into built application
|
|
382
|
-
- Updated dependencies [c3cf3f3]
|
|
383
|
-
- @sveltejs/vite-plugin-svelte@1.0.0-next.3
|
|
384
|
-
|
|
385
|
-
## 1.0.0-next.44
|
|
386
|
-
|
|
387
|
-
### Patch Changes
|
|
388
|
-
|
|
389
|
-
- e6449d2: Fix AMP styles for real
|
|
390
|
-
|
|
391
|
-
## 1.0.0-next.43
|
|
392
|
-
|
|
393
|
-
### Patch Changes
|
|
394
|
-
|
|
395
|
-
- 672e9be: Fix AMP styles, again
|
|
396
|
-
|
|
397
|
-
## 1.0.0-next.42
|
|
398
|
-
|
|
399
|
-
### Patch Changes
|
|
400
|
-
|
|
401
|
-
- 0f54ebc: Fix AMP styles
|
|
402
|
-
|
|
403
|
-
## 1.0.0-next.41
|
|
404
|
-
|
|
405
|
-
### Patch Changes
|
|
406
|
-
|
|
407
|
-
- 4aa5a73: Future-proof prepare argument
|
|
408
|
-
- 58dc400: Call correct set_paths function
|
|
409
|
-
- 2322291: Update to node-fetch@3
|
|
410
|
-
|
|
411
|
-
## 1.0.0-next.40
|
|
412
|
-
|
|
413
|
-
### Patch Changes
|
|
414
|
-
|
|
415
|
-
- 4c5fd3c: Include layout/error styles in SSR
|
|
416
|
-
|
|
417
|
-
## 1.0.0-next.39
|
|
418
|
-
|
|
419
|
-
### Patch Changes
|
|
420
|
-
|
|
421
|
-
- b7fdb0d: Skip pre-bundling
|
|
422
|
-
|
|
423
|
-
## 1.0.0-next.38
|
|
424
|
-
|
|
425
|
-
### Patch Changes
|
|
426
|
-
|
|
427
|
-
- 15402b1: Add service worker support
|
|
428
|
-
- 0c630b5: Ignore dynamically imported components when constructing styles in dev mode
|
|
429
|
-
- ac06af5: Fix svelte-kit adapt for Windows
|
|
430
|
-
- 061fa46: Implement improved redirect API
|
|
431
|
-
- b800049: Include type declarations
|
|
432
|
-
- 07c6de4: Use posix paths in manifest even on Windows
|
|
433
|
-
- 27ba872: Error if preload function exists
|
|
434
|
-
- 0c630b5: Add default paths in case singletons module is invalidated
|
|
435
|
-
- 73dd998: Allow custom extensions
|
|
436
|
-
|
|
437
|
-
## 1.0.0-next.37
|
|
438
|
-
|
|
439
|
-
### Patch Changes
|
|
440
|
-
|
|
441
|
-
- 230c6d9: Indicate which request failed, if fetch fails inside load function
|
|
442
|
-
- f1bc218: Run adapt via svelte-kit build
|
|
443
|
-
- 6850ddc: Fix svelte-kit start for Windows
|
|
444
|
-
|
|
445
|
-
## 1.0.0-next.36
|
|
446
|
-
|
|
447
|
-
### Patch Changes
|
|
448
|
-
|
|
449
|
-
- 7b70a33: Force version bump so that Kit uses updated vite-plugin-svelte
|
|
450
|
-
|
|
451
|
-
## 1.0.0-next.35
|
|
452
|
-
|
|
453
|
-
### Patch Changes
|
|
454
|
-
|
|
455
|
-
- Use Vite
|
|
456
|
-
- Fix Windows issues
|
|
457
|
-
- Preserve load context during navigation
|
|
458
|
-
- Return error from load
|
|
459
|
-
|
|
460
|
-
## 1.0.0-next.34
|
|
461
|
-
|
|
462
|
-
### Patch Changes
|
|
463
|
-
|
|
464
|
-
- Fix adapters and convert to ES modules
|
|
465
|
-
|
|
466
|
-
## 1.0.0-next.33
|
|
467
|
-
|
|
468
|
-
### Patch Changes
|
|
469
|
-
|
|
470
|
-
- 474070e: Better errors when modules cannot be found
|
|
471
|
-
|
|
472
|
-
## 1.0.0-next.32
|
|
473
|
-
|
|
474
|
-
### Patch Changes
|
|
475
|
-
|
|
476
|
-
- Convert everything to ESM
|
|
477
|
-
|
|
478
|
-
## 1.0.0-next.31
|
|
479
|
-
|
|
480
|
-
### Patch Changes
|
|
481
|
-
|
|
482
|
-
- b6c2434: app.js -> app.cjs
|
|
483
|
-
|
|
484
|
-
## 1.0.0-next.30
|
|
485
|
-
|
|
486
|
-
### Patch Changes
|
|
487
|
-
|
|
488
|
-
- 00cbaf6: Rename _.config.js to _.config.cjs
|
|
489
|
-
|
|
490
|
-
## 1.0.0-next.29
|
|
491
|
-
|
|
492
|
-
### Patch Changes
|
|
493
|
-
|
|
494
|
-
- 4c0edce: Use addEventListener instead of onload
|
|
495
|
-
|
|
496
|
-
## 1.0.0-next.28
|
|
497
|
-
|
|
498
|
-
### Patch Changes
|
|
499
|
-
|
|
500
|
-
- 4353025: Prevent infinite loop when fetching bad URLs inside error responses
|
|
501
|
-
- 2860065: Handle assets path when prerendering
|
|
502
|
-
|
|
503
|
-
## 1.0.0-next.27
|
|
504
|
-
|
|
505
|
-
### Patch Changes
|
|
506
|
-
|
|
507
|
-
- Fail build if prerender errors
|
|
508
|
-
- Hide logging behind --verbose option
|
|
509
|
-
|
|
510
|
-
## 1.0.0-next.26
|
|
511
|
-
|
|
512
|
-
### Patch Changes
|
|
513
|
-
|
|
514
|
-
- Fix svelte-announcer CSS
|
|
515
|
-
|
|
516
|
-
## 1.0.0-next.25
|
|
517
|
-
|
|
518
|
-
### Patch Changes
|
|
519
|
-
|
|
520
|
-
- Surface stack traces for endpoint/page rendering errors
|
|
521
|
-
|
|
522
|
-
## 1.0.0-next.24
|
|
523
|
-
|
|
524
|
-
### Patch Changes
|
|
525
|
-
|
|
526
|
-
- 26643df: Account for config.paths when prerendering
|
|
527
|
-
|
|
528
|
-
## 1.0.0-next.23
|
|
529
|
-
|
|
530
|
-
### Patch Changes
|
|
531
|
-
|
|
532
|
-
- 9b758aa: Upgrade to Snowpack 3
|
|
533
|
-
|
|
534
|
-
## 1.0.0-next.22
|
|
535
|
-
|
|
536
|
-
### Patch Changes
|
|
537
|
-
|
|
538
|
-
- bb68595: use readFileSync instead of createReadStream
|
|
539
|
-
|
|
540
|
-
## 1.0.0-next.21
|
|
541
|
-
|
|
542
|
-
### Patch Changes
|
|
543
|
-
|
|
544
|
-
- 217e4cc: Set paths to empty string before prerender
|
|
545
|
-
|
|
546
|
-
## 1.0.0-next.20
|
|
547
|
-
|
|
548
|
-
### Patch Changes
|
|
549
|
-
|
|
550
|
-
- ccf4aa7: Implement prerender config
|
|
551
|
-
|
|
552
|
-
## 1.0.0-next.19
|
|
553
|
-
|
|
554
|
-
### Patch Changes
|
|
555
|
-
|
|
556
|
-
- deda984: Make navigating store contain from and to properties
|
|
557
|
-
|
|
558
|
-
## 1.0.0-next.18
|
|
559
|
-
|
|
560
|
-
### Patch Changes
|
|
561
|
-
|
|
562
|
-
- c29b61e: Announce page changes
|
|
563
|
-
- 72da270: Reset focus properly
|
|
564
|
-
|
|
565
|
-
## 1.0.0-next.17
|
|
566
|
-
|
|
567
|
-
### Patch Changes
|
|
568
|
-
|
|
569
|
-
- f7dea55: Set process.env.NODE_ENV when invoking via the CLI
|
|
570
|
-
|
|
571
|
-
## 1.0.0-next.16
|
|
572
|
-
|
|
573
|
-
### Patch Changes
|
|
574
|
-
|
|
575
|
-
- Remove temporary logging
|
|
576
|
-
- Add sveltekit:prefetch and sveltekit:noscroll
|
|
577
|
-
|
|
578
|
-
## 1.0.0-next.15
|
|
579
|
-
|
|
580
|
-
### Patch Changes
|
|
581
|
-
|
|
582
|
-
- 6d1bb11: Fix AMP CSS
|
|
583
|
-
- d8b53af: Ignore $layout and $error files when finding static paths
|
|
584
|
-
- Better scroll tracking
|
|
585
|
-
|
|
586
|
-
## 1.0.0-next.14
|
|
587
|
-
|
|
588
|
-
### Patch Changes
|
|
589
|
-
|
|
590
|
-
- Fix dev loader
|
|
591
|
-
|
|
592
|
-
## 1.0.0-next.13
|
|
593
|
-
|
|
594
|
-
### Patch Changes
|
|
595
|
-
|
|
596
|
-
- 1ea4d6b: More robust CSS extraction
|
|
597
|
-
|
|
598
|
-
## 1.0.0-next.12
|
|
599
|
-
|
|
600
|
-
### Patch Changes
|
|
601
|
-
|
|
602
|
-
- e7c88dd: Tweak AMP validation screen
|
|
603
|
-
|
|
604
|
-
## 1.0.0-next.11
|
|
605
|
-
|
|
606
|
-
### Patch Changes
|
|
607
|
-
|
|
608
|
-
- a31f218: Fix SSR loader invalidation
|
|
609
|
-
|
|
610
|
-
## 1.0.0-next.10
|
|
611
|
-
|
|
612
|
-
### Patch Changes
|
|
613
|
-
|
|
614
|
-
- 8b14d29: Omit svelte-data scripts from AMP pages
|
|
615
|
-
|
|
616
|
-
## 1.0.0-next.9
|
|
617
|
-
|
|
618
|
-
### Patch Changes
|
|
619
|
-
|
|
620
|
-
- f5fa223: AMP support
|
|
621
|
-
- 47f2ee1: Always remove trailing slashes
|
|
622
|
-
- 1becb94: Replace preload with load
|
|
623
|
-
|
|
624
|
-
## 1.0.0-next.8
|
|
625
|
-
|
|
626
|
-
### Patch Changes
|
|
627
|
-
|
|
628
|
-
- 15dd751: Use meta http-equiv=refresh
|
|
629
|
-
- be7e031: Fix handling of static files
|
|
630
|
-
- ed6b8fd: Implement \$app/env
|
|
631
|
-
|
|
632
|
-
## 1.0.0-next.7
|
|
633
|
-
|
|
634
|
-
### Patch Changes
|
|
635
|
-
|
|
636
|
-
- 76705b0: make HMR work outside localhost
|
|
637
|
-
|
|
638
|
-
## 1.0.0-next.6
|
|
639
|
-
|
|
640
|
-
### Patch Changes
|
|
641
|
-
|
|
642
|
-
- 0e45255: Move options behind kit namespace, change paths -> kit.files
|
|
643
|
-
- fa7f2b2: Implement live bindings for SSR code
|
|
644
|
-
|
|
645
|
-
## 1.0.0-next.5
|
|
646
|
-
|
|
647
|
-
### Patch Changes
|
|
648
|
-
|
|
649
|
-
- Return dependencies from render
|
|
650
|
-
|
|
651
|
-
## 1.0.0-next.4
|
|
652
|
-
|
|
653
|
-
### Patch Changes
|
|
654
|
-
|
|
655
|
-
- af01b0d: Move renderer out of app assets folder
|
|
656
|
-
|
|
657
|
-
## 1.0.0-next.3
|
|
658
|
-
|
|
659
|
-
### Patch Changes
|
|
660
|
-
|
|
661
|
-
- Add paths to manifest, for static prerendering
|
|
662
|
-
|
|
663
|
-
## 1.0.0-next.2
|
|
664
|
-
|
|
665
|
-
### Patch Changes
|
|
666
|
-
|
|
667
|
-
- Fix typo causing misnamed assets folder
|
|
668
|
-
|
|
669
|
-
## 1.0.0-next.1
|
|
670
|
-
|
|
671
|
-
### Patch Changes
|
|
672
|
-
|
|
673
|
-
- a4bc090: Transform exported functions correctly
|
|
674
|
-
- 00bbf98: Fix nested layouts
|
|
675
|
-
|
|
676
|
-
## 0.0.31-next.0
|
|
677
|
-
|
|
678
|
-
### Patch Changes
|
|
679
|
-
|
|
680
|
-
- ffd7bba: Fix SSR cache invalidation
|
|
681
|
-
|
|
682
|
-
## 0.0.30
|
|
683
|
-
|
|
684
|
-
### Patch Changes
|
|
685
|
-
|
|
686
|
-
- Add back stores(), but with deprecation warning
|
|
687
|
-
- Rename stores.preloading to stores.navigating
|
|
688
|
-
- Rewrite routing logic
|
|
689
|
-
|
|
690
|
-
## 0.0.29
|
|
691
|
-
|
|
692
|
-
### Patch Changes
|
|
693
|
-
|
|
694
|
-
- 10872cc: Normalize request.query
|
|
695
|
-
|
|
696
|
-
## 0.0.28
|
|
697
|
-
|
|
698
|
-
### Patch Changes
|
|
699
|
-
|
|
700
|
-
- Add svelte-kit start command
|
|
701
|
-
|
|
702
|
-
## 0.0.27
|
|
703
|
-
|
|
704
|
-
### Patch Changes
|
|
705
|
-
|
|
706
|
-
- rename CLI to svelte-kit
|
|
707
|
-
- 0904e22: rename svelte CLI to svelte-kit
|
|
708
|
-
- Validate route responses
|
|
709
|
-
- Make paths and target configurable
|
|
710
|
-
|
|
711
|
-
## 0.0.26
|
|
712
|
-
|
|
713
|
-
### Patch Changes
|
|
714
|
-
|
|
715
|
-
- b475ed4: Overhaul adapter API - fixes #166
|
|
716
|
-
- Updated dependencies [b475ed4]
|
|
717
|
-
- @sveltejs/app-utils@0.0.18
|
|
718
|
-
|
|
719
|
-
## 0.0.25
|
|
720
|
-
|
|
721
|
-
### Patch Changes
|
|
722
|
-
|
|
723
|
-
- Updated dependencies [3bdf33b]
|
|
724
|
-
- @sveltejs/app-utils@0.0.17
|
|
725
|
-
|
|
726
|
-
## 0.0.24
|
|
727
|
-
|
|
728
|
-
### Patch Changes
|
|
729
|
-
|
|
730
|
-
- 67eaeea: Move app-utils stuff into subpackages
|
|
731
|
-
- 7f8df30: Move kit runtime code, expose via \$app aliases
|
|
732
|
-
- Updated dependencies [67eaeea]
|
|
733
|
-
- @sveltejs/app-utils@0.0.16
|
|
734
|
-
|
|
735
|
-
## 0.0.23
|
|
736
|
-
|
|
737
|
-
### Patch Changes
|
|
738
|
-
|
|
739
|
-
- a163000: Parse body on incoming requests
|
|
740
|
-
- a346eab: Copy over latest Sapper router code
|
|
741
|
-
- Updated dependencies [a163000]
|
|
742
|
-
- @sveltejs/app-utils@0.0.15
|
|
743
|
-
|
|
744
|
-
## 0.0.22
|
|
745
|
-
|
|
746
|
-
### Patch Changes
|
|
747
|
-
|
|
748
|
-
- Force bump version
|
|
749
|
-
|
|
750
|
-
## 0.0.21
|
|
751
|
-
|
|
752
|
-
### Patch Changes
|
|
753
|
-
|
|
754
|
-
- Build setup entry point
|
|
755
|
-
- Work around pkg.exports constraint
|
|
756
|
-
- Respond with 500s if render fails
|
|
757
|
-
- Updated dependencies [undefined]
|
|
758
|
-
- Updated dependencies [undefined]
|
|
759
|
-
- Updated dependencies [undefined]
|
|
760
|
-
- @sveltejs/app-utils@0.0.14
|
|
761
|
-
|
|
762
|
-
## 0.0.20
|
|
763
|
-
|
|
764
|
-
### Patch Changes
|
|
765
|
-
|
|
766
|
-
- Pass setup module to renderer
|
|
767
|
-
- Bump Snowpack version
|
|
768
|
-
- Updated dependencies [undefined]
|
|
769
|
-
- Updated dependencies [96c06d8]
|
|
770
|
-
- @sveltejs/app-utils@0.0.13
|
|
771
|
-
|
|
772
|
-
## 0.0.19
|
|
773
|
-
|
|
774
|
-
### Patch Changes
|
|
775
|
-
|
|
776
|
-
- fa9d7ce: Handle import.meta in SSR module loader
|
|
777
|
-
- 0320208: Rename 'server route' to 'endpoint'
|
|
778
|
-
- b9444d2: Update to Snowpack 2.15
|
|
779
|
-
- 5ca907c: Use shared mkdirp helper
|
|
780
|
-
- Updated dependencies [0320208]
|
|
781
|
-
- Updated dependencies [5ca907c]
|
|
782
|
-
- @sveltejs/app-utils@0.0.12
|
|
783
|
-
|
|
784
|
-
## 0.0.18
|
|
785
|
-
|
|
786
|
-
### Patch Changes
|
|
787
|
-
|
|
788
|
-
- Updated dependencies [undefined]
|
|
789
|
-
- @sveltejs/app-utils@0.0.11
|
|
790
|
-
|
|
791
|
-
## 0.0.17
|
|
792
|
-
|
|
793
|
-
### Patch Changes
|
|
794
|
-
|
|
795
|
-
- 19323e9: Update Snowpack
|
|
796
|
-
- Updated dependencies [19323e9]
|
|
797
|
-
- @sveltejs/app-utils@0.0.10
|
|
798
|
-
|
|
799
|
-
## 0.0.16
|
|
800
|
-
|
|
801
|
-
### Patch Changes
|
|
802
|
-
|
|
803
|
-
- Updated dependencies [90a98ae]
|
|
804
|
-
- @sveltejs/app-utils@0.0.9
|
|
805
|
-
|
|
806
|
-
## 0.0.15
|
|
807
|
-
|
|
808
|
-
### Patch Changes
|
|
809
|
-
|
|
810
|
-
- Updated dependencies [undefined]
|
|
811
|
-
- @sveltejs/app-utils@0.0.8
|
|
812
|
-
|
|
813
|
-
## 0.0.14
|
|
814
|
-
|
|
815
|
-
### Patch Changes
|
|
816
|
-
|
|
817
|
-
- various
|
|
818
|
-
- Updated dependencies [undefined]
|
|
819
|
-
- @sveltejs/app-utils@0.0.7
|