Dominik G
2f9e2083d5
chore(deps): unpin tsconfck and use 3.0.0 release ( #8838 )
2023-10-15 13:01:00 +02:00
Bjorn Lu
f8de1983bd
Fix error overlay syntax highlighting ( #8817 )
2023-10-13 14:24:49 +08:00
Houston (Bot)
6bb69305c9
[ci] release ( #8796 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-12 09:43:24 -05:00
Arsh
391729686b
fix(middleware): instantiate locals if the adapter does not ( #8800 )
2023-10-12 09:36:34 -05:00
Martin Trapp
3bef32f81c
Fix: Retain focus for persisted input elements during view transitions ( #8813 )
...
* add new e2e test: persist focus on transition
* save and restore focus during swap
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-10-12 00:08:44 +02:00
Jacob Lamb
0abff97fed
Remove network-information-types ( #8810 )
2023-10-11 12:33:35 -05:00
Chris Swithinbank
2993055bed
Add support for an --outDir
CLI flag to astro build
( #8808 )
...
* Add support for an `--outDir` CLI flag to `astro build`
* Add changeset
* Update .changeset/eleven-olives-train.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-10-11 18:26:12 +02:00
Bjorn Lu
c4270e4768
Use shikiji ( #8502 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-10-12 00:07:06 +08:00
Erika
f369fa2505
feat: use tsconfck instead of tsconfig-resolver ( #8798 )
2023-10-11 18:00:59 +02:00
Bjorn Lu
f999365b82
Fix markdown charset as utf-8 by default ( #8795 )
2023-10-11 23:58:08 +08:00
Erika
b2ae9ee0c4
feat(assets): Add support for srcset
and a Picture component ( #8620 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-10-11 17:53:58 +02:00
Arsh
bd5aa1cd35
fix(transitions router): no-op on the server ( #8771 )
...
* fix(transitions router): no-op on the server
* factor out onPopState
* add e2e test case
* Apply suggestions from code review
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
* use supportsViewTransitions
* add changeset
* warn on navigate() use during ssr
* switch supportsViewTransitions to import.meta.env
* correct typo
* bring back import.meta.env
* !import.meta.env.SSR -> inBrowser
* Apply suggestions from code review
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
---------
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
2023-10-10 22:08:35 +05:30
Mikkel Ricafrente
75781643a2
fix(cloudflare): runtime types for Cloudflare caches ( #8782 )
...
* fix cachestorage reference in cloudflare integration
* add cachestorage to serverdirectorymode
* add changeset
* remove global caches type
* update unlucky-avocados-brake.md
2023-10-10 18:08:17 +02:00
Houston (Bot)
9cd6a6657b
[ci] release ( #8768 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-10 22:30:52 +08:00
Alexander Niebuhr
0ab6bad7df
fix(cloudflare): esbuild settings for cloudflare ( #8788 )
...
---------
Co-authored-by: Jonathan Dunlap <595843+jadbox@users.noreply.github.com>
2023-10-10 09:16:32 +02:00
Jonathan Dunlap
054c5c6447
fix(cloudflare): support for 'cloudflare:*' imports ( #8766 )
...
* chore: add 'cloudflare:sockets' to external list
* chore: add Changeset
* patch: wildcard cloudflare packages
* chore: updated Readme for cloudflare module support
* Update .changeset/heavy-elephants-tan.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/integrations/cloudflare/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Alexander Niebuhr <alexander@nbhr.io>
2023-10-09 19:13:46 +02:00
Arsh
c4a7ec4255
fix(windows): ensure drive letter is uppercase ( #8741 )
2023-10-09 16:58:09 +01:00
Florian Lefebvre
160d1cd755
feat(tailwind): create a tailwind.config.mjs file by default ( #8638 )
2023-10-09 22:21:26 +08:00
Martin Trapp
29cdfa0248
Fix transition attributes on islands ( #8776 )
...
* Fix transition attributes on islands
* Incorporate comments from review
2023-10-09 16:19:46 +02:00
Martin Trapp
c24f70d916
Fix flickering during view transitions ( #8772 )
...
* Fix for #8711
* more descriptive changeset
* chores, while we are at it ...
2023-10-09 16:15:23 +02:00
Bjorn Lu
93b092266f
Make CSS chunk names less confusing ( #8754 )
2023-10-09 17:29:28 +08:00
Makito
eaed844ea8
fix(assets): add the missing await
to getHTMLAttributes ( #8773 )
2023-10-07 21:22:47 +02:00
Martin Trapp
30de324361
Revert fix #8472 ( #8767 )
2023-10-06 23:17:27 +02:00
Houston (Bot)
584d6f0680
[ci] release ( #8738 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-05 11:10:06 +01:00
Jacob Lamb
78adbc4433
Update Netlify SSR link ( #8700 )
2023-10-05 07:18:45 +01:00
Nate Moore
d78806dfe0
fix( #8746 ): improve error message for dynamic component usage ( #8747 )
2023-10-04 15:07:21 -05:00
Bjorn Lu
aa265d7302
Remove unused CSS output files when inlined ( #8743 )
2023-10-04 21:18:39 +08:00
Arsh
21e0757ea2
chore: remove undici polyfill ( #8729 )
2023-10-04 18:28:36 +08:00
Chris
21f4826576
Fixes: Shiki syntax highlighting adds is:raw attribute to the HTML output ( #8715 )
...
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-10-04 18:23:58 +08:00
Nate Moore
357270f2a3
Improve astro info
compatability ( #8730 )
...
* Improve `astro info` compatability
* Update packages/astro/src/cli/info/index.ts
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
* chore: add changeset
* feat(info): add copy to clipboard support on Unix machines with xclip installed
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2023-10-03 15:57:31 -05:00
Florian Lefebvre
f277ba8b70
feat: expose partytown types ( close #8723 ) ( #8740 )
2023-10-03 23:16:49 +08:00
Emanuele Stoppa
6f60da805e
feat: add provenance to packages ( #8737 )
2023-10-03 15:25:25 +01:00
Bjorn Lu
d1c75fe158
Fix tsconfig.json
update causing the server to crash ( #8736 )
2023-10-03 14:36:38 +01:00
Houston (Bot)
78fda5c3ec
[ci] release ( #8722 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-02 23:55:56 +08:00
Bjorn Lu
455af3235b
Fix CSS styles on windows ( #8724 )
2023-10-02 23:17:34 +08:00
Alexander Niebuhr
3dd65bf889
feat(cloudflare): add local mockings for CF bindings ( #8655 )
...
* feat(cloudflare): add D1 database binding
* feat(cloudflare): add local mocking for R2 bindings (#8656 )
* feat(cloudflare): add local mocking for KV bindings (#8657 )
* feat(cloudflare): add local mocking for Caches bindings (#8664 )
* feat(cloudflare): add local mocking for DO bindings (#8690 )
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-10-02 16:04:57 +02:00
Matthew Phillips
4c2bec681b
Fixes View transition styles being missing when component used multiple times ( #8710 )
2023-10-02 08:51:53 -04:00
Houston (Bot)
a067c2a2c7
[ci] release ( #8699 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-02 16:34:57 +08:00
Erika
47ea310f01
feat: resolve images through the file systems on applicable runtimes ( #8698 )
...
* feat: add a node image endpoint
* test: fix
2023-09-29 23:14:40 +02:00
Bjorn Lu
345808170f
Fix duplicated Astro and Vite injected styles ( #8706 )
2023-09-29 21:55:46 +08:00
Bjorn Lu
31c59ad8b6
Fix hydration on slow connection ( #8680 )
2023-09-29 21:54:46 +08:00
Dario Piotrowicz
c3572fd5e0
fix(cloudflare): target es2022 instead of es2020 to fix esbuild incompatibility issues ( #8682 )
...
* fix(cloudflare): target es2022 instead of es2020 to fix esbuild incompatibility issues
* add changeset
* update changeset
* fix(cloudflare): change build target to es2022
---------
Co-authored-by: Alexander Niebuhr <alexander@nbhr.io>
2023-09-28 20:56:01 +02:00
Houston (Bot)
2d33b9362d
[ci] release ( #8695 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-28 14:12:22 -04:00
Matthew Phillips
2167ffd72f
Revert "[ci] release ( #8671 )" ( #8696 )
...
This reverts commit eada8ab8fa
.
2023-09-28 13:57:54 -04:00
Arsh
cfd895d877
fix(rerouting): check that the new route is different ( #8648 )
...
* fix(rerouting): check that the new route is different
* add tests
* changeset grammar
2023-09-28 22:46:15 +05:30
Houston (Bot)
eada8ab8fa
[ci] release ( #8671 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-09-28 13:14:13 -04:00
Matthew Phillips
824dd4670a
Support content collections with % in filename ( #8684 )
...
* Support content collections with % in filename
* Add changeset
* Unused eslint thing
* Update packages/astro/src/core/build/static-build.ts
Co-authored-by: Alexander Niebuhr <alexander@nbhr.io>
---------
Co-authored-by: Alexander Niebuhr <alexander@nbhr.io>
2023-09-28 12:20:25 -04:00
Alexander Niebuhr
f6ba533df6
chore(cloudflare): refactor structure, optimize patterns ( #8654 )
...
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: 100gle <loogle.space@gmail.com>
2023-09-28 18:04:49 +02:00
Adit Sachde
f5c617e3a3
Match the .well-known directory when generating routes.json ( #7776 )
...
* Match the .well-known directory when generating routes.json
* add changeset
* Update .changeset/clean-planets-retire.md
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-09-27 18:34:29 -04:00
Arsh
408b50c5ea
fix(redirects): attempt to get only params in dev mode ( #8647 )
...
* fix(redirects): attempt to get only params in dev mode
* fixtures/ssr-redirect => fixtures/redirects
* add tests
* Update pnpm-lock.yaml
2023-09-27 18:19:06 -04:00