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

4721 commits

Author SHA1 Message Date
bluwy
6f5de8dfba [ci] format 2023-11-14 09:41:17 +00:00
Rishi Raj Jain
84312f24f8
fix: Query params trigger the trailingSlash error in preview mode (#9045) 2023-11-14 17:39:37 +08:00
Alexander Niebuhr
b895113a0a
fix(assets): bundling regression for specific config on non-Node runtimes (#9087) 2023-11-14 07:53:14 +01:00
Sarah Rainsberger
554017b66a
[docs] config-reference typo (#9094) 2023-11-13 20:52:09 -04:00
ematipico
9294c7535d [ci] format 2023-11-13 19:14:26 +00:00
Emanuele Stoppa
fc66ecff18
fix(i18n): middleware should consider trailing slash when redirecting (#9085) 2023-11-13 14:12:46 -05:00
Matthew Phillips
045e5ec979
Support formmethod and formaction in ViewTransitions (#9084)
* Support formmethod and formaction in ViewTransitions

* Adding a changeset

* Update .changeset/new-pets-fail.md

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

* Be less clever

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-11-13 14:03:07 -05:00
Erika
5ef89ef33e
feat(overlay): Add a settings panel (#9058) 2023-11-13 13:09:32 +01:00
Risu
a7f8123ba4
chore(config.d.ts): Update comment (#9076) 2023-11-13 11:15:02 +01:00
Erika
c5dc8f2ec9
fix(assets): Only use src to hash files generated by the passthrough service (#9075)
* fix(assets): Only use src to hash files generated by the passthrough service

* chore: changeset
2023-11-13 10:58:58 +01:00
Ikko Eltociear Ashimine
7aa965f960
Fix typo in router.ts (#9077) 2023-11-13 17:14:46 +08:00
Daniel Hajduk
c6e449c5b3
fix(logger): namespace label in debug logger (#9067) 2023-11-13 17:07:46 +08:00
Houston (Bot)
5f2db426ce
[ci] release (#9070)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-11 22:39:47 -06:00
natemoo-re
c5d7f4452a [ci] format 2023-11-12 04:33:14 +00:00
Nate Moore
50164f5e37
Fix asset propagation regression in 3.5 (#9069) 2023-11-11 22:31:34 -06:00
sarah11918
44bfc9bbba [ci] format 2023-11-10 19:25:08 +00:00
Sarah Rainsberger
aa4ef8a1e7
[docs] test config-reference formatting for sidebar (#9052)
Co-authored-by: Chris Swithinbank <357379+delucis@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <602478+ematipico@users.noreply.github.com>
Co-authored-by: Elian <15145918+ElianCodes@users.noreply.github.com>
2023-11-10 15:23:32 -04:00
Houston (Bot)
13ca6d989b
[ci] release (#9054)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-10 11:37:35 -05:00
Matthew Phillips
f105b1002b
Allow same-page navigations on form posts (#9055)
* Allow same-page navigations on form posts

* Add another comment
2023-11-10 11:23:31 -05:00
Emanuele Stoppa
1bc3319686
fix(middleware): do not import user middleware if not preset (#9057) 2023-11-10 11:11:15 -05:00
Sergii Kirianov
1e97708cda
fix: added onError functionality to spinner (#9048)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-10 14:15:59 +00:00
Houston (Bot)
5db28e90d0
[ci] release (#9038)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-10 09:10:04 -05:00
Emanuele Stoppa
15b84ccb98
fix: regression when calculating params and pattern (#9051)
* fix: regression when calculating params and pattern

* changeset
2023-11-10 13:49:27 +00:00
matthewp
fb94d575af [ci] format 2023-11-10 13:30:21 +00:00
Rishi Raj Jain
7dedd17fc4
fix: Astro info throws when xclip is not available (#9042)
* Update index.ts

* Create hot-teachers-wave.md

* Update .changeset/hot-teachers-wave.md

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

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-11-10 08:28:47 -05:00
Erika
49b82edb2c
fix(assets): Fix image errors when images were used on the client (#9049)
* fix(assets): Fix image errors when images were used on the client

* test: add a test

* chore: changeset
2023-11-10 14:01:04 +01:00
Erika
bf0286e50c
fix(logging): Fix --verbose flag not working (#9050) 2023-11-10 11:35:20 +01:00
sarah11918
a888e98538 [ci] format 2023-11-09 20:21:12 +00:00
Sarah Rainsberger
ea71975ec0
[docs] hotfixes to i18n config-ref (#9037)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-09 16:18:39 -04:00
Houston (Bot)
83c8870684
[ci] release (#9021)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-09 12:49:35 -05:00
Houston (Bot)
4ce20b6fc9
[ci] update lockfile (#8950)
Co-authored-by: Nate Moore <nate@astro.build>
2023-11-09 11:27:13 -06:00
Benny Neugebauer
db4d0c1498
chore: Update docs for TS 5 presets (#9025)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-09 11:07:49 -06:00
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
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