mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 11:15:14 +00:00
93 lines
2.8 KiB
Markdown
93 lines
2.8 KiB
Markdown
# sapper changelog
|
|
|
|
## 0.4.0
|
|
|
|
* `%sapper.main%` has been replaced with `%sapper.scripts%` ([#86](https://github.com/sveltejs/sapper/issues/86))
|
|
* Node 6 support ([#67](https://github.com/sveltejs/sapper/pull/67))
|
|
* Explicitly load css-loader and style-loader ([#72](https://github.com/sveltejs/sapper/pull/72))
|
|
* DELETE requests are handled with `del` exports ([#77](https://github.com/sveltejs/sapper/issues/77))
|
|
* Send preloaded data for first route to client, where possible ([#3](https://github.com/sveltejs/sapper/issues/3))
|
|
|
|
## 0.3.2
|
|
|
|
* Expose `prefetch` function ([#61](https://github.com/sveltejs/sapper/pull/61))
|
|
|
|
## 0.3.1
|
|
|
|
* Fix missing `runtime.js`
|
|
|
|
## 0.3.0
|
|
|
|
* Move `sapper/runtime/app.js` to `sapper/runtime.js`
|
|
* Cancel navigation if overtaken by second navigation ([#48](https://github.com/sveltejs/sapper/issues/48))
|
|
* Store preloaded data, to avoiding double prefetching ([#49](https://github.com/sveltejs/sapper/issues/49))
|
|
* Pass server request object to `preload` ([#54](https://github.com/sveltejs/sapper/pull/54))
|
|
* Nested routes ([#55](https://github.com/sveltejs/sapper/issues/55))
|
|
|
|
## 0.2.10
|
|
|
|
* Handle deep links correctly ([#44](https://github.com/sveltejs/sapper/issues/44))
|
|
|
|
## 0.2.9
|
|
|
|
* Don't write files to disk in prod mode
|
|
|
|
## 0.2.8
|
|
|
|
* Add `goto` function ([#29](https://github.com/sveltejs/sapper/issues/29))
|
|
* Don't use `/tmp` as destination in Now environments
|
|
|
|
## 0.2.7
|
|
|
|
* Fix streaming bug
|
|
|
|
## 0.2.6
|
|
|
|
* Render main.js back to templates, to allow relative imports ([#40](https://github.com/sveltejs/sapper/issues/40))
|
|
|
|
## 0.2.5
|
|
|
|
* Fix nested routes on Windows ([#39](https://github.com/sveltejs/sapper/pull/39))
|
|
* Rebundle when routes and main.js change ([#34](https://github.com/sveltejs/sapper/pull/34))
|
|
* Add `Link...preload` headers for JavaScript assets ([#2](https://github.com/sveltejs/sapper/issues/2))
|
|
* Stream document up to first dynamic content ([#19](https://github.com/sveltejs/sapper/issues/19))
|
|
* Error if routes clash ([#33](https://github.com/sveltejs/sapper/issues/33))
|
|
|
|
## 0.2.4
|
|
|
|
* Posixify path to HMR client
|
|
|
|
## 0.2.3
|
|
|
|
* Posixify import paths, even on Windows ([#31](https://github.com/sveltejs/sapper/pull/31))
|
|
* Pass `url` to 404 handler
|
|
|
|
## 0.2.2
|
|
|
|
* Create destination directory when building, don't assume it's already there from dev mode
|
|
* We have tests now!
|
|
|
|
## 0.2.1
|
|
|
|
* Inject HMR logic in dev mode
|
|
|
|
## 0.2.0
|
|
|
|
* Separate `sapper build` from prod server ([#21](https://github.com/sveltejs/sapper/issues/21))
|
|
|
|
## 0.1.3-5
|
|
|
|
* Fix typo
|
|
|
|
## 0.1.2
|
|
|
|
* Use `atime.getTime()` and `mtime.getTime()` instead of `atimeMs` and `mtimeMs` ([#11](https://github.com/sveltejs/sapper/issues/11))
|
|
* Make dest dir before anyone tries to write to it ([#18](https://github.com/sveltejs/sapper/pull/18))
|
|
|
|
## 0.1.1
|
|
|
|
* Expose resolved pathname to `sapper/runtime/app.js` as `__app__` inside main.js
|
|
|
|
## 0.1.0
|
|
|
|
* First public preview |