Marvin Hagemeister
f1c17bc67e
fix: invalid quote around partial script data ( #2323 )
...
This is a little emberassing 👀
2024-02-20 01:07:51 +01:00
Reed von Redwitz
82c75f85e9
fix: update dependency recommendations ( #2320 )
...
closes https://github.com/denoland/fresh/issues/2319
The issue is because `imports.ts` wasn't changed before releasing. I
thought I would go through and bump some other versions as well. This
handles everything except the esbuild stuff and `tests/`.
2024-02-19 10:33:04 +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
Reed von Redwitz and Marvin Hagemeister
9ab8651018
feat(server): Add basePath config to host from a directory ( #2092 )
...
Co-authored-by: Marvin Hagemeister <marvin@deno.com >
2023-11-29 16:44:25 +00:00
Marvin Hagemeister
325850719a
feat: reduce number of island bundles ( #2082 )
2023-11-28 17:23:27 +01:00
Adam Gregory
14cecc0a6f
Allow plugin render hooks to add link tags to the page ( #1963 )
...
Adds an extra optional property to plugin render results to allow
plugins to add `<link>` tags to the page.
2023-11-08 23:51:14 +01:00
Marvin Hagemeister
33cc4c7866
fix: head text nodes rendered into body ( #2015 )
2023-11-06 11:45:33 +01:00
Reed von Redwitz
781247b180
chore: explicitly version rts in deps.ts ( #1684 )
2023-10-30 17:59:22 +01:00
Marvin Hagemeister
7896005329
fix: error on duplicate partial name ( #1958 )
2023-10-18 20:04:37 +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
e9717ed911
fix: meta charSet -> charset ( #1875 )
2023-10-06 15:59:13 +02:00
Marvin Hagemeister
3b73449a93
fix: only render keyed comments when needed ( #1859 )
2023-10-04 22:07:06 +02:00
Marvin Hagemeister
ea91687ea3
fix: active links outside partials not updated ( #1852 )
2023-10-04 15:07:27 +02:00
Marvin Hagemeister
4295dbe85d
feat: mark active or ancestor links ( #1840 )
2023-10-02 18:22:44 +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
Marvin Hagemeister
3db514f869
fix: plugin script error halting JS execution ( #1801 )
2023-09-20 12:28:32 +02:00
Marvin Hagemeister
567df19f3d
feat: de-duplicate <Head> children by key ( #1793 )
2023-09-18 22:06:56 +02:00
Marvin Hagemeister
f9f3cd82ee
feat: error if stateful hook is used outside of islands ( #1778 )
2023-09-18 16:25:37 +02:00
Marvin Hagemeister
6d9afd62ab
feat: add nonce for inline scripts ( #1772 )
2023-09-14 09:39:53 +02:00
Marvin Hagemeister
227cefbf50
fix: incorrect island child validation ( #1740 )
2023-09-06 11:11:52 +02:00
Marvin Hagemeister
7004eae7ba
fix: Missing error on invalid island children ( #1736 )
2023-09-05 15:15:48 +02:00
Marvin Hagemeister
a4cf4939ee
fix: invalid html structure ( #1668 )
2023-08-17 17:44:26 +02:00
Marvin Hagemeister
b2548b24cd
fix: refresh not working ( #1659 )
2023-08-17 11:46:07 +02:00
Marvin Hagemeister
9f97e3423c
fix: attributes on <body> not being rendered ( #1648 )
2023-08-16 22:26:23 +02:00
Marvin Hagemeister
f67ec8520f
fix: render state not unique per render ( #1638 )
2023-08-16 16:30:16 +02:00