0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -05:00
Commit graph

3000 commits

Author SHA1 Message Date
Nate Moore
a7c75b3339
Ensure astro add only installs stable versions (#9387)
* fix(add): update peerDependency resolution logic to exclude prereleases

* chore: add changeset
2023-12-11 10:47:05 +00:00
Emanuele Stoppa
ea09182599
fix(i18n): correctly pull the ssr entry during build (#9380) 2023-12-11 10:10:59 +00:00
Sarah Rainsberger
bebf5cf22d
[docs] Vercel README - update code samples (#9383) 2023-12-08 16:04:54 -06:00
Arsh
1e342e34eb
fix(vercel): clear artifacts from redirects (#9287) 2023-12-08 16:25:39 +00:00
Bjorn Lu
65ddb02711
Preserve generating routes that end with .mjs (#9374) 2023-12-08 23:39:13 +08:00
Bjorn Lu
26f7023d69
Prettify generated route names from integrations (#9375) 2023-12-08 23:38:19 +08:00
Arsh
1b4e918981
chore: update peer dependencies (#9366) 2023-12-07 23:34:14 +08:00
Arsh
270c6cc27f
chore: markdown-remark peerDependencies (#9349) 2023-12-07 23:04:48 +08:00
Bjorn Lu
1aa7fe85c1
Allow Svelte 5 render slots as snippets (#9285) 2023-12-07 22:47:04 +08:00
Geoffrey Casper
dfbc707908
Allow async functions in the Vercel edge middleware integration (#9334)
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: lilnasy <69170106+lilnasy@users.noreply.github.com>
2023-12-07 21:43:47 +08:00
Houston (Bot)
3e4109b08f
[ci] release (#9340)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-06 15:09:30 -05:00
Matthew Phillips
1685cc42b5
Define the Vercel adapter's peerDependency (#9348)
* Define the Vercel adapter's peerDependency

* Update .changeset/nasty-carrots-study.md

Co-authored-by: Alexander Niebuhr <alexander@nbhr.io>

---------

Co-authored-by: Alexander Niebuhr <alexander@nbhr.io>
2023-12-06 14:58:35 -05:00
Martin Trapp
ab0281aee4
Adds source file properties to HTML elements only if devToolbar is enabled (#9343) 2023-12-06 16:20:08 +01:00
Charles Villard
edfae50e6e
[@astrojs/rss] Quality-of-Life Improvement to items property-related error (#9299)
* This commit addresses a quality-of-life concern when setting up a RSS feed
when using collections. Specifically, it provides more context to the error
message thrown when the object passed to the `items` property is missing any
of the three required keys or if one of those keys is mistyped.

* Add changeset

* Update .changeset with properly formatted update structure

@sarah11918 suggested a change to the verbiage that properly formatted the update detail in question. Accepting the suggestion.

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

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-12-06 12:13:15 +00:00
Erika
eb942942d6
fix: add types for is:inline on slots (#9342) 2023-12-06 13:09:30 +01:00
Fred K. Schott
c769010655
Fix issue where 404/500 status codes were logged as "[200]" (#9336) 2023-12-06 12:07:52 +00:00
Shinya Fujino
0bb3d53221
Fix log message for Disable notifications (#9339)
* Fix log message for `Disable notifications`

* Add changeset
2023-12-06 10:44:07 +00:00
Houston (Bot)
895ebcb5bf
[ci] release (#9332)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-05 18:47:22 -06:00
Ted Klingenberg
3878a91be4
Prevent client-side navigation for method="dialog" (#9327)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-12-05 18:42:53 -06:00
Nate Moore
b832cd1901
Vue: Remove hasDefaultExport check from appEntrypoint logic (#9333) 2023-12-05 18:38:29 -06:00
Nate Moore
cfb20550d3
Update vitefu version (#9331) 2023-12-05 17:41:12 -06:00
Houston (Bot)
339be4dbff
[ci] release (#9319)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-05 14:55:54 -06:00
Amumu
4d4e34d451
Improve Vue appEntrypoint handling (#8794)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Florian LEFEBVRE <contact@florian-lefebvre.dev>
Co-authored-by: Nate Moore <nate@astro.build>
2023-12-05 14:07:28 -06:00
Nate Moore
d1c91add07
Improves @astrojs/upgrade dependency handling (#9317) 2023-12-05 10:22:13 -06:00
Houston (Bot)
79e191ae42
[ci] release (#9314)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-05 14:44:51 +00:00
Emanuele Stoppa
631e5d01b0
fix: logging build trace of pages (#9315) 2023-12-05 14:31:51 +00:00
Matthew Phillips
2f110a5016
Add changeset for Tailiwind (#9313) 2023-12-05 09:02:53 -05:00
Houston (Bot)
5f13e7e0dc
[ci] release (#9307)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-12-05 09:39:16 -04:00
Matthew Phillips
d4290c630b
Exit pre-mode for 4.0 release (#9290) 2023-12-05 07:15:56 -05:00
Houston (Bot)
4b9d657ff2
[ci] release (beta) (#9296)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-04 15:45:24 -05:00
Matthew Phillips
3d2dbb0e5d
Remove aria-query and related rule (#9295) 2023-12-04 15:41:40 -05:00
Houston (Bot)
b1199c5342
[ci] release (beta) (#9294)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-04 15:19:54 -05:00
Matthew Phillips
cf5fa43762
Remove audit role that depends on CJS package (#9293)
* Remove audit role that depends on CJS package

* Adding changeset

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-12-04 15:16:28 -05:00
Arsh
0968cb1a37
fix(astro compiler): check vite command to decide on "annotateSourceFile" (#9275)
* prevent annotations in build

* add changeset

* Apply suggestions from code review

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

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-12-05 01:29:35 +05:30
Nate Moore
5428b3da08
Improves display of preferences list command (#9292)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-12-04 13:56:37 -06:00
Houston (Bot)
8dd7deb7b7
[ci] release (beta) (#9280)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-04 13:03:41 -05:00
Alexander Niebuhr
9887f24124
chore: also export DevToolbarApp type for API (#9273)
* chore: also export `DevToolbarApp` type for API

* chore: changeset

* chore: resolve review comments

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

* Update .changeset/smooth-gifts-train.md

---------

Co-authored-by: Nate Moore <7118177+natemoo-re@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-12-04 12:46:21 -05:00
Martin Trapp
6a9669b810
Increase consistency between navigation with and without ViewTransitions (#9279)
* Greater consistency between navigations with and without ViewTransitions

* hmpf

* formatting and test fixing

* An attempt to explain

* fixed tests

* explain the event listener

* Update .changeset/nervous-beans-peel.md

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

---------

Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-12-04 12:33:34 -05:00
Nate Moore
8a228fce01
Implement new a11y audits for the Dev Toolbar app (#9170)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Princesseuh <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2023-12-04 11:16:27 -06:00
Reuben Tier
feaba2c7fc
Fix i18n routing param (#9274)
* Fix i18n routing param

* Add changeset
2023-12-04 00:00:01 -05:00
Houston (Bot)
d71e937492
[ci] release (beta) (#9272)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-01 16:30:02 -05:00
Matthew Phillips
6686e03a75 Update the Toolbar rename changeset 2023-12-01 16:24:09 -05:00
Matthew Phillips
47604bd5b5
Rename Dev Overlay to Dev Toolbar (#9271)
* Add more dev overlay tests

* Rename Dev Overlay to Dev Toolbar

* Add config option and preferences

* Fix build

* Alias the event names

* Add changeset
2023-12-01 16:15:35 -05:00
Houston (Bot)
023860bded
[ci] release (beta) (#9251)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-01 14:12:49 -05:00
Martin Trapp
43ddb52176
Adds missing name/value of the submit button to the form data of a view transition (#9248)
* Adds missing name/value of the submit button to the form data of a view transition

* Update .changeset/ninety-weeks-juggle.md

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

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-12-01 18:55:22 +01:00
Bjorn Lu
3cbd8ea753
Remove remaining deprecated APIs (#9263)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-12-02 00:59:22 +08:00
Bjorn Lu
d83991ae8b
Remove @astrojs/prefetch integration (#9241) 2023-12-01 10:50:15 -05:00
Bjorn Lu
459b264366
Rework Vite and Astro logger for HMR messages (#9139) 2023-12-01 16:58:05 +08:00
Matthew Phillips
b750a161e0
Use fixed positioning on x-ray when inside of fixed containers (#9254)
* Improve highlight/tooltip positioning

* add changeset

* Explain the perf issue
2023-11-30 17:04:34 -05:00
Matthew Phillips
9ea3e0b94f
Add instructions on how to hide the dev overlay (#9255)
* Add instructions on how to hide the dev overlay

* Add missing link
2023-11-30 16:40:32 -05:00