0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
Commit graph

6717 commits

Author SHA1 Message Date
natemoo-re
1eb5d7fa7e [ci] format 2023-11-09 15:57:09 +00:00
Nate Moore
3e1239e42b
Content Collection cache (experimental) (#8854)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-11-09 09:55:29 -06:00
Emanuele Stoppa
5b16619e4a
fix(i18n): names of the functions should match the RFC (#9035) 2023-11-09 15:40:45 +00:00
Arsh
bd2d494c04
fix(config types): routingStrategy is optional (#9034) 2023-11-09 15:23:19 +00:00
Emanuele Stoppa
4e9f171ef2
fix(i18n): fallback index when routing is prefix-always (#9032)
* fix(i18n): fallback index when routing is prefix-always

* chore: add comment as per feedback
2023-11-09 14:32:57 +00:00
Reuben Tier
4e63467d74
Remove empty changeset (#9030)
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-11-09 14:09:17 +01:00
Erika
29b83e9e4b
fix(assets): Use uint8arrays instead of Buffer in code that can run outside of Node (#9029)
* fix(assets): Use uint8arrays instead of Buffer in code that can run outside of Node

* chore: changeset

* docs: update changeset with more information on what to do if a Buffer is important

* nit: do a patch instead
2023-11-09 14:05:32 +01:00
matthewp
78b8b76eae [ci] format 2023-11-08 18:38:31 +00:00
Matthew Phillips
f5bdfa272b
Integration defined middleware (#8869)
* Rebase

* Use an empty module if there is no real middleware

* Add debug logging

* Use normalizePath

* Add a better example in the changesetp

* Update .changeset/khaki-glasses-raise.md

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* Update .changeset/khaki-glasses-raise.md

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* Update .changeset/khaki-glasses-raise.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/khaki-glasses-raise.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/khaki-glasses-raise.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/khaki-glasses-raise.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update packages/astro/src/core/middleware/vite-plugin.ts

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* Review comments

* oops

* Update .changeset/khaki-glasses-raise.md

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-11-08 13:36:50 -05:00
matthewp
b09379428d [ci] format 2023-11-08 17:48:24 +00:00
Matthew Phillips
fda3a0213b
Support form submissions in the ViewTransitions router (#8963)
* Support form submissions in the ViewTransitions router

* Align with navigate API, add `formData` option

* Change API to handleForms

* Add a changeset

* Add a test for non-200 responses

* Update .changeset/many-weeks-sort.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/many-weeks-sort.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Add a little more on why this is exciting!

* Update .changeset/many-weeks-sort.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Switch to e.g.

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-08 12:45:50 -05:00
ematipico
8a51afdf50 [ci] format 2023-11-08 15:48:44 +00:00
Emanuele Stoppa
143bacf396
feat: experimental i18n routing (#8974)
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
Co-authored-by: Elian ️ <hello@elian.codes>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-08 15:45:43 +00:00
horo
c5010aad34
Light/dark theming for shikiji's codeblocks (#8903)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-08 22:42:05 +08:00
Erika
1ecc9aa324
feat(overlay): Add click to go to editor for audits (#9016)
* feat(overlay): Add click to go to editor for audits

* chore: changeset

* chore: update compiler dep

* fix: tests

* Update packages/astro/src/core/compile/compile.ts

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* Update packages/astro/src/core/compile/compile.ts

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-11-08 15:29:12 +01:00
Bjorn Lu
38e21d1275
Support prefetch in core (#8951)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-08 22:07:18 +08:00
Augustine Kim
23c9a30ad8
Fix Lit integration hydration ordering (#9018)
* Provide renderer instance to `customElementHostStack`

* Add changeset
2023-11-08 08:25:39 -05:00
Princesseuh
3c17b59f2d [ci] format 2023-11-08 09:24:54 +00:00
Erika
f0031b0a39
feat(assets): Delete original assets unused outside of the optimization pipeline (#8954)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-08 10:23:23 +01:00
Erika
26b1484e80
feat(assets): Add property to image services to control which properties to use for hashing (#8984)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-08 10:10:26 +01:00
Caleb Jasik
100b61ab5a
Use jpeg source files as fallback rather than converting to png (#9010)
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-11-08 10:09:40 +01:00
Houston (Bot)
653ad939ce
[ci] release (#8989)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-08 08:51:24 +01:00
Justinas Delinda
14e586cc77
fix(vue): vue regular script block exports not being recognized inside editor (#8998)
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-11-08 08:44:02 +01:00
Erika
d979b8f0a8
feat(overlay): Match the design's animations, shadows and general styling (#9014) 2023-11-08 08:37:35 +01:00
lilnasy
6e30bdc941 [ci] format 2023-11-07 14:03:45 +00:00
Arsh
754e4fd31c
feat(vercel): streaming (#8879) 2023-11-07 14:01:04 +00:00
Martin Trapp
35739d01e9
Fix DEV mode on Safari when view transitioning to client:only components (#9000)
* Fix DEV mode on Safari when view transitioning to client:only components

* Update .changeset/eighty-ladybugs-shake.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-06 18:48:34 +01:00
bluwy
4983acea8c [ci] format 2023-11-06 15:15:47 +00:00
Bjorn Lu
c5a7993266
Handle Vite 5 changes (#9005) 2023-11-06 23:13:57 +08:00
bluwy
0f5b054281 [ci] format 2023-11-06 10:01:01 +00:00
Bjorn Lu
3988bbcc9e
Add shiki lang path compat (#8996) 2023-11-06 17:58:42 +08:00
Erika
910eb00fe0
fix(assets): Propagate sizes attribute on all sources (#8986)
* fix(assets): Propagate `sizes` attribute on all sources

* refactor: small refactor exposed srcSet types

* test: update test with a sizes

* chore: changeset

* fix: use a type import
2023-11-02 21:34:04 +01:00
Houston (Bot)
3cb1098d45
[ci] release (#8982)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-02 14:13:43 -04:00
Matthew Phillips
ab7e745cc9
Increase the scroll restoration throttle time (#8981)
* Increase the scroll restoration throttle time

* Add changeset

* Update packages/astro/src/transitions/router.ts

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-02 08:42:14 -04:00
natemoo-re
74fa4adba0 [ci] format 2023-11-01 21:03:36 +00:00
Marvin
937522fb70
fix: toStyleString omit nullish values (#8940)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-01 16:02:00 -05:00
Houston (Bot)
ca10dd7a7a
[ci] release (#8980)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-01 15:29:34 -05:00
Alexander Niebuhr
0ee7c9aac9
fix(underscore-redirects): fix dynamic pattern regression (#8979) 2023-11-01 14:51:15 -05:00
Houston (Bot)
ea16b45c0d
[ci] release (#8975)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-01 13:22:41 -04:00
matthewp
bf1fd0fa76 [ci] format 2023-11-01 17:14:06 +00:00
Erika
cc3278bb69
feat(dev-overlay): Add a tooltip on plugin hover / focus (#8978)
* feat(dev-overlay): Add a tooltip on plugin hover / focus

* chore: changeset

* test: add test
2023-11-01 13:11:57 -04:00
Matthew Phillips
40a0616797
Prevent the route announcer from being visible (#8977)
* Prevent the route announcer from being visible

* Update the number of expected styles in the tests
2023-11-01 13:11:45 -04:00
Erika
d0dc18cd1c
feat: new event to toggle a plugin from itself (#8968) 2023-11-01 17:56:59 +01:00
Matthew Phillips
49bb7bea1f
Fix ViewTransitions example (#8976) 2023-11-01 12:48:04 -04:00
Alexander Niebuhr
6bc2153d0f
feat(underscore-redirects): add base to input paths (#8953)
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: Bjorn Lu <34116392+bluwy@users.noreply.github.com>
2023-11-01 16:01:31 +01:00
lilnasy
f6b53a2e69 [ci] format 2023-11-01 13:56:36 +00:00
Arsh
2da33b7a13
fix(slots): consume eagerly rendered slot after one use (#8929)
* render slots lazily

* add test

* add changeset

* refactor

* reword changeset
2023-11-01 19:23:38 +05:30
Houston (Bot)
4a0fec969f
[ci] release (#8934)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-01 08:23:32 -05:00
Elian ☕️
6169b6e561
Undo the halloween theme (#8959)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-01 08:20:45 -05:00
Erika
262cef2487
refactor: dev overlay to make it easier to work with VT (#8966) 2023-10-31 23:35:32 +01:00