mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 03:05:12 +00:00
4.2 KiB
4.2 KiB
sapper changelog
0.6.4
- Prevent phantom HMR requests in production mode (#114)
0.6.3
- Ignore non-HTML responses when crawling during
export - Build in prod mode for
export
0.6.2
- Handle unspecified type in
sapper export
0.6.1
- Fix
pkg.filesandpkg.bin
0.6.0
- Hydrate on first load, and only on first load (#93)
- Identify clashes between page and server routes (#96)
- Remove Express-specific utilities, for compatbility with Polka et al (#94)
- Return a promise from
initwhen first page has rendered (#99) - Handle invalid hash links (#104)
- Avoid
URLSearchParams(#107) - Don't automatically set
Content-Typefor server routes (#111) - Handle empty query string routes, e.g.
/?(#105)
0.5.1
- Only write service-worker.js to filesystem in dev mode (#90)
0.5.0
0.4.0
%sapper.main%has been replaced with%sapper.scripts%(#86)- Node 6 support (#67)
- Explicitly load css-loader and style-loader (#72)
- DELETE requests are handled with
delexports (#77) - Send preloaded data for first route to client, where possible (#3)
0.3.2
- Expose
prefetchfunction (#61)
0.3.1
- Fix missing
runtime.js
0.3.0
- Move
sapper/runtime/app.jstosapper/runtime.js - Cancel navigation if overtaken by second navigation (#48)
- Store preloaded data, to avoiding double prefetching (#49)
- Pass server request object to
preload(#54) - Nested routes (#55)
0.2.10
- Handle deep links correctly (#44)
0.2.9
- Don't write files to disk in prod mode
0.2.8
- Add
gotofunction (#29) - Don't use
/tmpas destination in Now environments
0.2.7
- Fix streaming bug
0.2.6
- Render main.js back to templates, to allow relative imports (#40)
0.2.5
- Fix nested routes on Windows (#39)
- Rebundle when routes and main.js change (#34)
- Add
Link...preloadheaders for JavaScript assets (#2) - Stream document up to first dynamic content (#19)
- Error if routes clash (#33)
0.2.4
- Posixify path to HMR client
0.2.3
- Posixify import paths, even on Windows (#31)
- Pass
urlto 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 buildfrom prod server (#21)
0.1.3-5
- Fix typo
0.1.2
- Use
atime.getTime()andmtime.getTime()instead ofatimeMsandmtimeMs(#11) - Make dest dir before anyone tries to write to it (#18)
0.1.1
- Expose resolved pathname to
sapper/runtime/app.jsas__app__inside main.js
0.1.0
- First public preview