cudr
b1e84687c0
repair regexp routes
2019-06-08 18:34:09 -04:00
Richard Harris
b6e2736eb0
always re-run preload functions when query string changes - fixes #701
2019-05-20 23:45:39 -04:00
Richard Harris
8b310dd458
Merge branch 'issues/688' of https://github.com/btakita/sapper into btakita-issues/688
2019-05-20 23:08:58 -04:00
Brian Takita
5460896228
Checking the current_branch[i] route match against the current request's route match.
...
current_branch[i].match.slice(1, i+2) compared to match.slice(1, i+2)
Fixes https://github.com/sveltejs/sapper/issues/688
2019-05-20 23:03:08 -04:00
Rich Harris
b8d99aaa90
Merge pull request #632 from pngwn/master
...
Add support for custom route file extensions.
2019-05-20 22:33:56 -04:00
mrkishi
9dd63ab760
fix export queue
2019-05-17 16:50:08 -03:00
pngwn
e7b1aa373a
Add support for custom route file extensions.
2019-05-17 19:19:04 +01:00
Rich Harris
2792b7c5d1
Merge pull request #676 from mrkishi/server-indexes
...
Consolidate index handling for page and server routes
2019-05-09 09:18:26 -04:00
Rich Harris
8e4517a1ad
Merge pull request #673 from mrkishi/testing-issue
...
Harden tests (...a bit)
2019-05-09 08:57:18 -04:00
mrkishi
54e92c3b99
Regularize page and server routes
...
Treats both page and server routes similarly in regards to indexes.
It's a (somewhat) breaking change: server routes will accept trailing
slashes to match page routes behavior, but only if there's no extension.
We still need a stronger support for dealing with different clean urls
rules.
2019-05-08 12:24:45 -03:00
mrkishi
e6c1a54164
Harden tests (...a bit)
2019-05-08 00:57:59 -03:00
mrkishi
8fcc27d44f
Update svelte to released v3
2019-05-05 23:19:00 -03:00
Richard Harris
c0ada5c52f
handle skipped segments
2019-05-05 11:36:02 -04:00
Richard Harris
d51e1a0af8
failing test for skipped segments
2019-05-05 10:49:38 -04:00
Rich Harris
afeedf6bb2
give each app its own page, preloading and session stores, using context
2019-04-29 14:52:19 -04:00
Rich Harris
bc8e5501cd
prevent hanging with large numbers of links ( #604 )
2019-04-29 13:10:15 -04:00
Rich Harris
1bc7096a9e
Merge pull request #591 from thgh/redirect-basepath
...
Fix redirect with basepath
2019-04-29 11:43:51 -04:00
Rich Harris
497ae89279
add a test for #618
2019-04-29 11:23:42 -04:00
cudr
54efe7235a
fix comparator sort && add more tests
2019-04-28 00:14:27 +03:00
Rich Harris
8c7ce2c6bb
Merge branch 'master' into spread_routes
2019-04-27 13:09:54 -04:00
Rich Harris
90ec61f14d
Merge pull request #603 from sveltejs/gh-602
...
fix handling of empty hrefs during export
2019-04-27 12:18:45 -04:00
Rich Harris
4f9919e95c
Merge pull request #610 from cudr/navigate_fix
...
Navigate from /a/[id] to /b/[id] fix
2019-04-27 11:56:03 -04:00
Rich Harris
83e427178e
Merge branch 'master' into spread_routes
2019-04-27 11:16:18 -04:00
Rich Harris
b089ca42ff
Merge pull request #608 from cudr/preload_return_fix
...
Don't crash if preload return empty
2019-04-27 11:15:14 -04:00
Rich Harris
6cb4030b2b
Merge branch 'master' into navigate_fix
2019-04-27 11:11:27 -04:00
Rich Harris
96a068245b
Merge pull request #620 from cudr/error_page_hooks
...
Error page lifecycle
2019-04-27 11:06:28 -04:00
Richard Harris
0862d0e2c8
add a test for server-route-as-middleware
2019-04-27 10:55:22 -04:00
cudr
dcf726a89b
add missed semicolon
2019-04-06 02:51:05 +03:00
cudr
3a9d457389
execute error page hooks
2019-04-06 02:32:11 +03:00
cudr
d2cda4b6c0
add test
2019-03-15 05:13:18 +03:00
cudr
6bf3dd04dd
fix empty preload
2019-03-13 15:18:23 +03:00
cudr
81f80e6215
spread routes
2019-03-13 15:14:06 +03:00
Conduitry
6d5aa9a35d
fix handling of empty hrefs during export ( #602 )
2019-03-11 10:39:35 -04:00
Thomas Ghysels
13b64cd1bb
Fix redirect with basepath
...
Fix #589
2019-03-03 10:40:49 +01:00
Thomas Ghysels
9522cb4539
Add failing test for #589
2019-03-02 18:35:16 +01:00
Rich Harris
e0de230e13
Slot-based routing ( #573 )
2019-02-21 16:34:07 -05:00
Nolan Lawson
37780656fd
fix incorrect test
2019-02-16 00:13:27 -08:00
Nolan Lawson
351ab13d29
fix: add link rel=preload for exported sites
2019-02-16 00:07:06 -08:00
Rich Harris
14ace57612
rename .html files to .svelte
2019-02-08 11:40:30 -05:00
Rich Harris
84a0ae562f
support .svelte or .html extensions
2019-02-08 11:34:33 -05:00
Richard Harris
720cf8a859
treat foo.html and foo/index.html the same when generating manifest
2019-02-04 07:42:45 -05:00
Richard Harris
66be631572
remove experimentalCodeSplitting
2019-02-02 21:00:32 -05:00
Richard Harris
11d3da3aed
add session tests
2019-02-02 15:42:35 -05:00
Rich Harris
548de702ac
move all page info to app-level stores
2019-02-01 22:28:47 -05:00
Rich Harris
7ba1a0a9fa
fix test
2019-02-01 11:09:15 -05:00
Rich Harris
263bb08334
various
2019-02-01 10:54:43 -05:00
Richard Harris
4940c5d5be
merge master -> svelte-3, fix various typescript and webpack oddities
2019-02-01 08:21:45 -05:00
Rich Harris
b5fbc7e0e8
Merge pull request #539 from cudr/nested-routes-navigate-fix
...
Fix nested routes navigates
2019-02-01 06:39:25 -05:00
Rich Harris
79fa15da3d
Merge pull request #525 from nolanlawson/nolan/sw-index-html
...
add service-worker-index.html
2019-02-01 05:36:08 -05:00
Rich Harris
f587161d7d
first crack at context-driven store
2019-01-31 21:42:29 -05:00