Reed von Redwitz
a83765efaa
fix: no-window lint error ( #2272 )
...
Latest PR runs are failing with linting errors, e.g.
https://github.com/denoland/fresh/actions/runs/7625625084/job/20770308634?pr=2266
Maybe this shouldn't be happening like this right now, but we'll still
need to clean these up eventually.
2024-01-23 21:51:38 +01:00
Marvin Hagemeister
9f81806c6e
fix: __FRSH_STATE potentially being overwritten by user code ( #2256 )
...
As outlined in https://github.com/denoland/fresh/issues/2254 it was
possible to overwrite the script tag that is used by Fresh to pass
island props from the server to the client. This could be done by
injecting raw HTML via `dangerouslySetInnerHTML` and simply using the
same id that Fresh was using.
With this PR we generate a unique id per render that cannot be guessed
anymore. It's composed of `__FRSH_STATE_<uuid>`
2024-01-15 19:41:12 +01:00
Igor Brasileiro
e7bf6aca62
fix: Prevent update doc title from partial if not present ( #2244 )
...
fixes #2243
2024-01-12 18:47:40 +01:00
Marvin Hagemeister
d2e9ee99a2
fix: browser url not updated with form partials ( #2236 )
...
Fixes https://github.com/denoland/fresh/issues/2173
2024-01-10 15:36:30 +01:00
Marvin Hagemeister
9ee6ab72e0
fix: show original error page in dev ( #2074 )
2023-11-28 11:58:50 +01:00
Marvin Hagemeister
a56ea283c8
fix: Partials not working on error pages ( #2072 )
2023-11-27 16:56:46 +01:00
Marvin Hagemeister
27adeb7b14
fix: redirects with partials ( #2053 )
2023-11-21 11:35:08 +01:00
Reed von Redwitz
da90d92ebd
chore: bump deps ( #2000 )
2023-11-03 16:52:54 +01:00
Reed von Redwitz
63ac1e6362
feat(server): add isPartial to context types ( #1977 )
2023-10-26 22:26:36 +02:00
Marvin Hagemeister
7896005329
fix: error on duplicate partial name ( #1958 )
2023-10-18 20:04:37 +02:00
Tiago Gimenes
84ff79beca
feat: Nested partials support ( #1955 )
2023-10-18 18:26:46 +02:00
Marvin Hagemeister
bfabb2ec98
feat: add support for partials on forms ( #1930 )
2023-10-16 22:45:11 +02:00
Marvin Hagemeister
0192316785
fix: unable to opt out of nested client nav ( #1940 )
2023-10-15 08:41:13 +02:00
Marvin Hagemeister
7d954584a6
fix: island marker parsed as key marker ( #1922 )
2023-10-12 13:40:23 +02:00
Marvin Hagemeister
78b0b05fc3
fix: make active + ancestor links accessible ( #1915 )
2023-10-11 17:29:07 +02:00
Marvin Hagemeister
a1f0d4a5bd
fix: don't scroll on fragment links in partials ( #1906 )
2023-10-11 10:30:31 +02:00
Tiago Gimenes
2df5921b59
feat: Use href instead of origin on Partial ( #1870 )
2023-10-07 23:07:42 +02:00
Marvin Hagemeister
6598eb39a0
feat: support f-partial on buttons ( #1867 )
2023-10-05 13:53:51 +02:00
Marvin Hagemeister
51d00d20e0
fix: duplicate partial head tags ( #1864 )
2023-10-05 12:23:44 +02:00
Marvin Hagemeister
b3a3bd1069
feat: add support for partial <head> merging ( #1863 )
2023-10-05 12:04:38 +02:00
Marvin Hagemeister
fd235e877c
feat: only enable partials when attribute is set ( #1861 )
2023-10-05 10:47:37 +02:00
Marvin Hagemeister
add696faeb
feat: support scroll restoration for partials ( #1858 )
2023-10-05 10:00:56 +02:00
Marvin Hagemeister
9018024b7e
feat: collect partials deeply from response ( #1860 )
2023-10-04 22:33:27 +02:00
Marvin Hagemeister
3b73449a93
fix: only render keyed comments when needed ( #1859 )
2023-10-04 22:07:06 +02:00
Marvin Hagemeister
be1c15f8f3
fix: throw error when no partials found ( #1853 )
2023-10-04 15:38:43 +02:00
Marvin Hagemeister
ea91687ea3
fix: active links outside partials not updated ( #1852 )
2023-10-04 15:07:27 +02:00
Marvin Hagemeister
3e1b78736d
chore: potential race conditions in e2e tests ( #1851 )
2023-10-04 14:30:59 +02:00
Marvin Hagemeister
4295dbe85d
feat: mark active or ancestor links ( #1840 )
2023-10-02 18:22:44 +02:00
Marvin Hagemeister
d638c526f5
fix: partial hash navigation causing loop ( #1838 )
2023-10-02 16:24:09 +02:00
Marvin Hagemeister
1f2c3073df
fix: only send revive() script when needed ( #1825 )
2023-09-28 10:31:39 +02:00
Marvin Hagemeister
665d35bbc2
Add Partials ( #1824 )
2023-09-27 13:34:30 +02:00