Commit Graph
553 Commits
Author SHA1 Message Date
Reed von Redwitz 0c187c145a docs: add "Dealing with CORS" example (#1347) 2023-06-24 11:10:12 +00:00
Taylor Young 30349db939 fix link (#1352) 2023-06-24 13:07:00 +02:00
Reed von Redwitz 7a7d0e77d0 docs: add section about "Middleware Destination" feature (#1343) 2023-06-23 13:50:20 +00:00
Marvin Hagemeister 124c597112 chore: remove stray console.log in tests (#1351) 2023-06-23 13:41:31 +00:00
Reed von Redwitz 03dbbd4f8e fix: update script supports deno.jsonc files (#1349) 2023-06-23 14:26:22 +02:00
Marvin Hagemeister 95fc13a8cc fix: signals not serialized with newer versions (#1348) 2023-06-23 11:58:07 +02:00
Marvin Hagemeister 76d838cf10 chore: add index layout to island tests (#1340) 2023-06-22 16:23:05 +02:00
Ricardo de Arruda e556afb7e0 showcase: add Deno Place (#1325) 2023-06-21 17:44:50 +00:00
jneeee 33050b4137 showcase: add uspb.deno.dev (#1332) 2023-06-21 17:17:19 +00:00
arrow2nd ab461cd71d fix: update.ts fails when there is no islands directory (#1327) 2023-06-21 19:11:50 +02:00
Marvin Hagemeister 3a83c5974d chore: simplify folder tests (#1337) 2023-06-21 14:02:25 +02:00
Marvin Hagemeister 87b15885aa feat(starter): add 404 page template (#1336) 2023-06-21 11:01:48 +02:00
EBIBO 9b98e13e29 fix: raise minimum deno version to 1.31.0 (#1333)
Fresh uses `Deno.Command` which is not available in older versions of Deno.
2023-06-21 07:27:18 +00:00
Marvin Hagemeister 1e1257f92f fix: incorrect coloring in ansi256 terminals (#1323) 2023-06-18 22:23:07 +02:00
Luca Casonato 29966ad8bb feat: don't require connInfo in request handler (#1278) 2023-06-18 21:39:11 +02:00
Asher Gomez d0b277a135 docs: add "Contributing" section (#1233) 2023-06-18 13:42:23 +02:00
kit 4e2abd67dd feat(init): make project name as default header title (#1275)
default header title should be same as project name
2023-06-18 06:39:37 +02:00
Lino Le Van 4d66f95ef6 feat: serialize bigints for islands (#1317) 2023-06-17 20:31:58 +02:00
Marvin Hagemeister ea6a74237d feat: improve starter template design (#1320) 2023-06-17 20:31:08 +02:00
Lino Le VanandLuca Casonato 83925cc1e3 docs(examples): Using twind v1 + fix md code syntax highlighting (#1271)
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2023-06-17 19:16:12 +02:00
Kamil Ogórek 219ab574db fix: Exclude Twitter/Slack bots from root page redirects (#1318) 2023-06-17 19:13:04 +02:00
Kamil Ogórek 2b11803528 docs: Export missing Plugin types to fix broken links (#1319) 2023-06-17 19:05:14 +02:00
Luca Casonato 1d606416a8 www: fix copy button (#1312) 2023-06-16 20:54:35 +02:00
Reed von Redwitz 7deda2a7dd docs: add "Using Fresh canary version" example (#1306) 2023-06-16 17:13:16 +02:00
Kamil Ogórek d5a8692b78 feat: Allow passing props to renderNotFound method (#1310) 2023-06-16 17:12:01 +02:00
Reed von RedwitzandAsher Gomez 12fc103daa docs: add "initializing the server" example (#1292)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-06-16 10:33:54 +02:00
Asher Gomez a4f7172807 docs: fix Signal type typo (#1304) 2023-06-16 10:32:20 +02:00
Luca Casonato 1753ee8620 fix: remove duplicated esbuild imports (#1302)
This somehow snuck in during the src/build/ refactor.
2023-06-16 01:06:49 +02:00
Luca Casonato 94f5d38f3b www: actually link to 1.2 (#1301) 2023-06-15 21:35:48 +02:00
kit 0bc769053e fix(www): incorrect path on examples docs page (#1299) 2023-06-15 21:16:13 +02:00
Marvin Hagemeister ec821c9a86 www: update banner for v1.2 (#1298) 2023-06-15 20:55:56 +02:00
Marvin Hagemeister 710cf56d56 chore: update versions.json for 1.2.0 (#1297) 2023-06-15 19:32:06 +02:00
Reed von Redwitz f5f8928c89 feat(server): trailing slash configuration (#1291) 2023-06-15 19:01:07 +02:00
Marvin Hagemeister 80306563d2 fix: rendering islands inside other islands (#1295) 2023-06-15 17:55:17 +02:00
Naju Mancheril a1d266f0d3 Invoke getTime() on the Date value and not on the date signal (#1284) 2023-06-15 15:01:08 +00:00
Reed von RedwitzandAsher Gomez 673ed2d90f docs: add "Changing the source directory" example (#1286)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-06-15 11:37:41 +02:00
Reed von Redwitz f833c7262d docs: add "Server configuration" concept explanation (#1293) 2023-06-15 11:37:23 +02:00
Marvin Hagemeister ce0eda7654 feat: allow passing JSX children to island + nested islands (#1285) 2023-06-15 10:08:48 +02:00
Marvin Hagemeister 372d0dfffb feat(init): add update task (#1290) 2023-06-14 15:48:52 +02:00
Luca Casonato 1faa80db59 fix: update script to work with non-embedded import maps (#1283)
The script now updates non-embedded import maps to embedded ones.
2023-06-14 14:57:49 +02:00
Asher Gomez adc16c5c29 docs: fix "Writing Tests" example title typo (#1288)
To align the casing with the rest of the documentation titles.
2023-06-14 14:57:37 +02:00
Asher Gomez 5ef6fa34d9 fix: use await Deno.serve().finished (#1287)
[A recent change in the
runtime](https://github.com/denoland/deno/pull/19485) has changed the
behaviour of `Deno.serve()` such that it throws when called a promise.
The correct way to do it is instead to call `Deno.serve().finished` as a
promise. This PR does that.

Fixes
https://github.com/denoland/fresh/pull/1286#issuecomment-1589987387
2023-06-14 08:23:51 +10:00
47c7f4ec9a feat: add "openai semantic search showcase. (#1259)
cc @lambtron @iuioiua

Co-authored-by: Andy Jiang <andyjiang@gmail.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: hashrock <hashrock@users.noreply.github.com>
2023-06-13 18:35:55 +10:00
Asher Gomez e3defa8e74 chore: remove www workflow (#1282)
This change removes the `www` workflow, simplifying CI to one workflow.
This is made more accessible, thanks to #1281. This also fixes PR
merging nits for when the affected files lie only within the `/www`
folder. E.g.
https://github.com/denoland/fresh/pull/1259#issuecomment-1586050738

The same checks in the `www` workflow are performed in the `ci`
workflow.
2023-06-13 18:30:20 +10:00
Octo8080XandAsher Gomez ac32c2deb6 docs: add "Writing Tests" example (#1223)
Fixes [#1222](https://github.com/denoland/fresh/issues/1222)


Add example implementation and documentation of test code using
`createHandler()` newly added by
[#622](https://github.com/denoland/fresh/pull/622)

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-06-13 07:37:12 +10:00
Marvin Hagemeister 9abd1c2396 chore(ci): run tests in parallel (#1281) 2023-06-12 15:53:13 +02:00
Marvin Hagemeister 45da639aa3 www: add discord icon + blog link (#1276) 2023-06-12 13:26:59 +02:00
Marvin Hagemeister 36d56a9878 feat(server): pick free port if none specified (#1274) 2023-06-12 13:18:52 +02:00
Marvin Hagemeister 69f4fecf5a feat(server): make startup message easier to see (#1273) 2023-06-12 10:42:17 +02:00
Marvin Hagemeister d511283162 fix(www): show missing GA env warning once (#1272) 2023-06-12 09:44:31 +02:00