Marvin Hagemeister
daf15aee6f
feat: add plugin configResolved ( #2055 )
2023-11-21 15:39:17 +01:00
Marvin Hagemeister
d6a35cdeb1
fix: precompile JSX mapped arrays ( #2036 )
2023-11-13 16:09:18 +01:00
Marvin Hagemeister
0961e775db
feat: add support for jsx precompile ( #2035 )
2023-11-13 12:06:55 +01:00
David Kellner
de631c3140
fix(server): use relative import instead of relying on an import map ( #2034 )
...
I haven't setup a local development environment to test this, but I'm
pretty sure this fixes #2033
2023-11-12 17:31:03 +00:00
Marvin Hagemeister and Adam Gregory
7ff2781fcd
feat: allow plugins to modify HTML body ( #2022 )
...
Based on https://github.com/denoland/fresh/pull/1769 . Mostly added a
test.
---------
Co-authored-by: Adam Gregory <adam@aguilaengineering.com >
2023-11-10 13:59:41 +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
Marvin Hagemeister
e0f503ee37
fix: ready color not readable in light themes ( #2014 )
2023-11-06 10:39:03 +01:00
Marvin Hagemeister
4fa0a637f0
chore: refactor dev client ( #2002 )
2023-11-06 10:31:51 +01:00
Marvin Hagemeister
4759b21be8
fix: serve static file with parens ( #2013 )
2023-11-06 09:22:54 +01:00
Adam Gregory and Marvin Hagemeister
264f3073bd
Support AOT-built static assets ( #1999 )
...
Creates a static folder under `config.build.outDir` during AOT build.
Serves any static files that are found there.
---------
Co-authored-by: Marvin Hagemeister <marvin@deno.com >
2023-11-04 14:01:21 +01:00
Reed von Redwitz
da90d92ebd
chore: bump deps ( #2000 )
2023-11-03 16:52:54 +01:00
Reed von Redwitz
7a2e5916c6
docs: update server configuration page ( #1998 )
2023-11-02 11:03:10 +01:00
Reed von Redwitz
f39e0d4218
feat(server): throwing Deno.errors.NotFound triggers 404 ( #1984 )
2023-10-30 18:00:57 +01:00
Reed von Redwitz
781247b180
chore: explicitly version rts in deps.ts ( #1684 )
2023-10-30 17:59:22 +01:00
Reed von Redwitz
f5dd55443b
feat: middleware can call renderNotFound ( #1975 )
2023-10-27 23:34:49 +02:00
Marvin Hagemeister
67c795731d
feat: speed up route matching ( #1981 )
2023-10-27 11:56:33 +02:00
Reed von Redwitz
63ac1e6362
feat(server): add isPartial to context types ( #1977 )
2023-10-26 22:26:36 +02:00
Marvin Hagemeister
7ad4610e3a
chore: simplify jsx config handling ( #1973 )
2023-10-23 13:11:27 +02:00
Marvin Hagemeister
20fdd7e16c
chore: extract fs extractor code ( #1972 )
2023-10-23 12:41:45 +02:00
Marvin Hagemeister
cd4a3344a9
chore: extract compose middleware code ( #1971 )
2023-10-23 12:00:07 +02:00
Marvin Hagemeister
cbd5b842b0
feat: pass resolved config to plugin.buildStart() ( #1961 )
2023-10-19 17:25:16 +02:00
Marvin Hagemeister
7896005329
fix: error on duplicate partial name ( #1958 )
2023-10-18 20:04:37 +02:00
Marvin Hagemeister
4c59f9df65
fix: cut off file names when project is at root / ( #1957 )
2023-10-18 18:27:56 +02:00
Marvin Hagemeister
b984da9113
fix: browser not reloaded when no island present ( #1956 )
2023-10-18 11:16:51 +02:00
Christian Svensson
206d5002d6
fix: add error-handler type to manifest ( #1933 )
2023-10-16 07:45:34 +02:00
Marvin Hagemeister
86a96eeee4
fix: switch to websockets for development server ( #1943 )
2023-10-16 07:44:27 +02:00
Marvin Hagemeister
c3938dc703
chore: remove ServerContext from start server ( #1942 )
2023-10-15 08:53:53 +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
fe1e622cf1
fix: speedup slow matching of static routes ( #1932 )
2023-10-13 19:18:34 +02:00
Marvin Hagemeister
bb8921ac85
fix: ctx.render headers not working ( #1927 )
2023-10-12 23:30:18 +02:00
Asher Gomez
6ddef91d95
refactor: replace references of options with config ( #1903 )
2023-10-11 09:25:03 +02:00
Asher Gomez
6ce39b8cee
refactor: use manifest variable name ( #1902 )
...
Previously, the `routes` variable name was used. This change makes more
sense as the variable has the `Manifest` type.
2023-10-11 10:03:08 +11:00
Marvin Hagemeister
bc89844ea7
fix: don't store codeframe on error object ( #1898 )
2023-10-10 15:03:22 +02:00
Marvin Hagemeister
32eb61c95d
fix: allow setting server config from fresh config ( #1889 )
2023-10-09 13:59:30 +02:00
Marvin Hagemeister
e9717ed911
fix: meta charSet -> charset ( #1875 )
2023-10-06 15:59:13 +02:00
Marvin Hagemeister
77ed10078c
fix: remove another bare type import ( #1872 )
2023-10-05 21:39:42 +02:00
Marvin Hagemeister
1980f82dc5
fix: init error by bare specifier import ( #1871 )
2023-10-05 21:26:11 +02:00
Marvin Hagemeister
4044b5be78
fix: codeframe not visible with custom _500.tsx ( #1869 )
2023-10-05 16:29:22 +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
f7000c3f53
fix: missing Component with async app + layout ( #1848 )
2023-10-04 14:10:11 +02:00
Marvin Hagemeister
bed185688c
fix: add more space around code frame html ( #1849 )
2023-10-04 14:03:02 +02:00
Martin Rempel
0a0d86e3a5
fix: remoteAddr hardcoded to localhost:1234 ( #1839 )
2023-10-02 16:30:13 +00: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
Asher Gomez
d9829e25e6
ci: run on latest stable version of Deno ( #1820 )
...
This PR changes CI to include the latest stable version of Deno,
alongside canary. This is important for picking up bugs in canary. This
seems like a reasonable thing to have for overall stability.
Possible prerequisite for #1819
2023-09-27 09:34:50 +02:00
Marvin Hagemeister
3604c224ce
fix: code frame not showing up in dev mode ( #1814 )
2023-09-24 11:26:47 +02:00
Marvin Hagemeister
3db514f869
fix: plugin script error halting JS execution ( #1801 )
2023-09-20 12:28:32 +02:00