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

5041 commits

Author SHA1 Message Date
Emanuele Stoppa
7ae4928f30
fix: remove the manifest file from the dist/ folder (#9475) 2023-12-19 21:56:46 +00:00
Luiz Ferraz
69e78822e5 [ci] format 2023-12-19 20:00:19 +00:00
Luiz Ferraz
faf6c7e110
Fix transitions with non-recommended headers (#9464)
* Reproduce edge case in test

* Fix edge case

* Add changeset

* Update .changeset/khaki-ducks-give.md

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

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-12-19 20:59:13 +01:00
Tom MacWright
f515b1421a
Descriptive image error (#9352)
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Princesseuh <3019731+Princesseuh@users.noreply.github.com>
2023-12-19 11:14:58 -05:00
Dawid Kobierski
354a62c86e
fix: handle external hoisted scripts correctly (#9437) 2023-12-19 14:09:06 +00:00
Arsh
c32e6072ee [ci] format 2023-12-19 14:00:04 +00:00
Arsh
5ae6578822
fix(redirects): handle non-verbatim targets (#9089)
* add tests

* implement fix

* add changeset

* `for const in` -> `for const of`

* reskip: external redirects are still not ignored
2023-12-19 13:59:00 +00:00
Emanuele Stoppa
25e6670913
chore: fix error message (#9477) 2023-12-19 13:29:04 +00:00
Alex Nguyen
6bf470cfb8
Fix typo in @astrojs/node README (#9471) 2023-12-19 08:28:43 +00:00
Emanuele Stoppa
fa3078ce9f
fix: handle middleware loading error (#9458)
* fix: handle middleware loading error

* remove the try/catch

* rethrow error

* Update packages/astro/src/core/middleware/loadMiddleware.ts

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>

---------

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2023-12-19 08:28:04 +00:00
Simon Knott
429be8cc3e
fix: update netlify import (#9461)
* fix: update netlify import

* fix: update one comment
2023-12-18 21:41:01 +00:00
Erika
047d285be1
fix(assets): Prevent concurrency from being set to 0 (#9460) 2023-12-18 12:49:54 -05:00
Ken Powers
76b4e55894 [ci] format 2023-12-18 13:42:49 +00:00
Ken Powers
7eb9fe8a71
Fix Preact Forwarded Ref components not working in astro files when React integration is enabled (#9403)
* Fix Preact Forwarded Ref components not working in astro files when React integration is enabled

* Handle undefined $$typeof

* Add changeset

* Use Symbol.for

* 

* Update .changeset/breezy-hairs-yell.md

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-12-18 13:41:44 +00:00
Bjorn Lu
1e984389ba
Fix import dev toolbar apps on windows (#9400) 2023-12-18 13:41:11 +00:00
Houston (Bot)
8a0def2b6c
[ci] release (#9432)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-15 15:26:00 -06:00
Nate Moore
f963d07f22
Upgrade compiler (#9445) 2023-12-15 14:53:32 -06:00
Erika
017f981304
refactor(assets): Move things around to avoid importing image service unnecessarily (#9409) 2023-12-15 12:25:27 -05:00
Alex Nguyen
3cf7fe4bd7 [ci] format 2023-12-15 17:24:51 +00:00
Alex Nguyen
c01cc4e340
Fixes warning for external URL redirects (#9426)
* Update warning for external URL redirects to use destination address

* Update .changeset/gentle-chefs-glow.md

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2023-12-15 17:23:50 +00:00
Oscar Lee-Vermeren
35e4c17fe2
feat: make Houston festive for the holiday season (#9358)
* feat: make Houston festive for the holiday season

* fix: change changeset to minor
2023-12-15 17:22:33 +00:00
Bjorn Lu
41b05b54d4 [ci] format 2023-12-15 17:21:03 +00:00
Bjorn Lu
a5db8d2ad0
Simplify vue appEntrypoint handling (#9362)
* Simplify vue appEntrypoint handling

* Try fix windows

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-12-15 17:19:43 +00:00
Arsh
667539be5a [ci] format 2023-12-15 17:16:14 +00:00
Arsh
6d2d0e279d
fix(error pages): account for trailingSlash (#9126)
* account for trailingSlash

* add changeset

* add tests

* update lock file
2023-12-15 17:15:04 +00:00
Emanuele Stoppa
c01580a2cd
fix: improve error message when a middleware doesn't return a Response (#9434)
* fix: improve error message when a middleware doesn't return a `Response`

* Apply suggestions from code review

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

* fix typo

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-12-15 09:22:22 +00:00
Emanuele Stoppa
fcc2fd5b0f
fix: merge headers from the original response in error pages (#9433)
* fix: merge headers from the original response in error pages

* revert local change

* change test ordering

* apply feedback
2023-12-14 17:41:06 +00:00
Matthew Phillips
745294de94 [ci] format 2023-12-14 15:21:57 +00:00
Matthew Phillips
151bd429b1
Prevent Partytown from hijacking history API (#9419)
* Partytown overrides these methods to... do things, but it breaks ViewTransitions in Firefox.

* Only redefine pushstate/replacestate in the browser
2023-12-14 10:20:56 -05:00
Houston (Bot)
242fd71a6a
[ci] release (#9406)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-14 09:01:03 -05:00
Matthew Phillips
d2340058aa [ci] format 2023-12-14 13:40:07 +00:00
Matthew Phillips
e1a5a2d36a
Handle unhandledrejections in the dev server (#9424)
* Handle unhandledrejections in the dev server

* Adding changeset

* Update .changeset/curvy-lobsters-crash.md

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

* Use AsyncLocalStorage

* Return errorWithMetadata

* Send the error to the browser

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-12-14 08:39:06 -05:00
Jacob Parker
8c9fe0092a
Fix static build when out dir is not within the cwd (#9378)
* Fix static build when out dir is not within the cwd

* Create lorem-ipsum-dolor

Changeset
2023-12-13 10:17:10 -05:00
Matthew Phillips
f8b27b07c0 [ci] format 2023-12-13 14:25:55 +00:00
Matthew Phillips
bda1d294f2
Error when getImage() is passed an undefined src (#9423) 2023-12-13 09:24:46 -05:00
Jacob Lamb
836ab6214e
chore(vercel): Add beta option for status (#9413)
* Add beta option for status

* Create stupid-cheetahs-sell.md

* Add warning for beta

* Update packages/integrations/vercel/src/serverless/adapter.ts

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>

* Switch to `minor` and document new API/option

* Update README.md

* Update README.md

* Update packages/integrations/vercel/README.md

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>

* Update .changeset/stupid-cheetahs-sell.md

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2023-12-13 12:12:48 +00:00
Alex Nguyen
2c168af674
Fix broken link (#9418)
* Fix broken link

* Create old-dragons-kneel.md

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-12-12 16:13:18 -05:00
Geoffrey-Pliez
2287ec6667 [ci] format 2023-12-12 19:36:59 +00:00
Geoffrey-Pliez
b0a71946f4
[@astrojs/lit] lit 3.0 compatibility (#8822)
* updates packages

* [Fix] pnpm-lock

* [Fix] updates

* revert dev dependencies

* Update lockfile

* Update lit version in the e2e tests

* Adding changeset

---------

Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-12-12 14:35:40 -05:00
Matthew Phillips
4137927e3c [ci] format 2023-12-12 18:30:01 +00:00
Matthew Phillips
546d92c862
Allow file URLs to be used as import specifiers (#9407)
* Allow file URLs to be used as import specifiers

* Update packages/astro/src/vite-plugin-fileurl/index.ts

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

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-12-12 13:28:48 -05:00
Simon Knott
63b3cd19ee [ci] format 2023-12-12 10:20:17 +00:00
Simon Knott
bebf38c0cb
fix: mention which feature is experimental/deprecated (#9414) 2023-12-12 10:19:15 +00:00
Arsh
8aeb0b5797
fix(vercel): handle dots in source path for redirects (#9289)
* add fix

* add test

* add changeset
2023-12-12 03:50:22 +05:30
Erika
8aa17a64b4
Add missing global attributes to JSX definition (#9404)
* fix: add some missing attributes to our JSX definitions

* chore: changeset

* fix: use empty string as type
2023-12-11 17:08:12 +01:00
Houston (Bot)
f47b85ce6f
[ci] release (#9365)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-11 11:57:19 +00:00
Nate Moore
d656797fce [ci] format 2023-12-11 10:48:10 +00:00
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
9d29ef11f6 [ci] format 2023-12-08 16:26:49 +00: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
58d643bcd8 [ci] format 2023-12-06 12:14:25 +00: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
6404d26a22 [ci] format 2023-12-06 00:43:56 +00: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
dd24379f49 [ci] format 2023-12-06 00:39:39 +00: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
e83b2feeca [ci] format 2023-12-05 20:08:47 +00: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
874f68c67f [ci] format 2023-12-05 16:23:18 +00:00
Nate Moore
d1c91add07
Improves @astrojs/upgrade dependency handling (#9317) 2023-12-05 10:22:13 -06:00
Reuben Tier
aa2e76d54f [ci] format 2023-12-05 15:53:57 +00:00
Reuben Tier
eb584de1f5
Move i18n config above legacy (#9318) 2023-12-05 11:52:52 -04:00
Emanuele Stoppa
933f9f274d
fix: docs placement and wording (#9316)
* fix: docs placement and wording

* more changes

* Update packages/astro/src/@types/astro.ts

Co-authored-by:  Matthew Phillips <matthew@skypack.dev>

* apply Sarah's suggestion

* Remove  tag

---------

Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: = <otterlord.dev@gmail.com>
2023-12-05 15:09:13 +00: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
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
Bjorn Lu
82586f32f4
Update @astrojs/upgrade to 0.2.0 (#9310) 2023-12-05 08:09:08 -05:00
Matthew Phillips
2e1d6792ab
Downgrade the tailwind integration for Astro 3/4 compat (#9309) 2023-12-05 08:06:52 -05:00
Bjorn Lu
b4f3a8722e
Release markdoc integration as v0.x (#9308) 2023-12-05 07:58:13 -05:00
Fred K. Schott
7b6ae08348
[Toolbar] Remove image decode call (#9305)
* stop waiting for images to decode

* fix: don't add empty audits

---------

Co-authored-by: Princesseuh <3019731+Princesseuh@users.noreply.github.com>
2023-12-05 07:14:34 -05:00
Fred K. Schott
30982078e6
filter out internal island props (#9304) 2023-12-05 07:14:04 -05:00
Fred K. Schott
466d1f0ab2
capture click events inside the toolbar (#9303) 2023-12-05 07:13:54 -05:00
Fred K. Schott
7a4e2f4145 [ci] format 2023-12-05 11:49:40 +00:00
Fred K. Schott
4351f43bb9
fix z-index on dev overlay tooltips and highlights (#9301) 2023-12-05 06:48:31 -05:00
Fred K. Schott
829a6fadfa [ci] format 2023-12-05 11:03:42 +00:00
Fred K. Schott
9807582b69
[Toolbar] fix issue where requestIdleCallback would take forever (#9302) 2023-12-05 12:02:34 +01: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
0d194942f9 [ci] format 2023-12-04 20:42:51 +00: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
e88f166be8 [ci] format 2023-12-04 20:00:39 +00: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
5d566cfeca [ci] format 2023-12-04 19:57:38 +00:00
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
Fred K. Schott
fd9ffe2062 [ci] format 2023-12-04 19:34:20 +00:00
Fred K. Schott
99c1bcad9e
remove outdated devoverlay config and defaultstate config (#9291)
* remove outdated devoverlay config and defaultstate config

* update tests

* fix the build
2023-12-04 11:33:18 -08: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
Erika
4aa8091582
fix: enforce separate type imports (#9288) 2023-12-04 17:56:32 +01:00
Emanuele Stoppa
bd9907867b
chore: remove experimental from i18n configuration (#9264)
* update types and schema

* update typescript files

* update tests

* chore: update JSDoc
2023-12-04 13:43:57 +00:00
Fred K. Schott
2fdcd6d719 [ci] format 2023-12-04 13:27:45 +00:00
Fred K. Schott
29fa504467
[Toolbar] Final style polish and code cleanup (#9282)
Co-authored-by: Princesseuh <3019731+Princesseuh@users.noreply.github.com>
2023-12-04 14:26:34 +01:00
Fred K. Schott
54fac60ee0 [ci] format 2023-12-04 13:26:20 +00:00
Fred K. Schott
97e43022de
[Toolbar] Improve third party plugin load performance (#9281) 2023-12-04 14:25:10 +01:00
Fred K. Schott
7a231e4763
[Toolbar] Fix tooltip overlap bug (#9283) 2023-12-04 14:24:22 +01: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
b59be6759c [ci] format 2023-12-01 21:16:37 +00: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
Nate Moore
4fc1c31682
Remove unused fixture (#9269) 2023-12-01 14:37:20 -06: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
ac41820821
Remove remaining simple objects usage (#9266)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-12-02 00:58:29 +08:00
Nate Moore
7cf5e7523d [ci] format 2023-12-01 16:26:16 +00:00
Nate Moore
5ab008da8f
Clarify language for Verbose Logging setting (#9237) 2023-12-01 10:25:11 -06:00
Emanuele Stoppa
4f344b8bc7
chore: add test case (#9261)
* chore: add test case

* fix: replace old endpoint way

* Update packages/integrations/sitemap/test/fixtures/static/src/pages/endpoint.json.ts

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

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-12-01 10:54:54 -05:00
Bjorn Lu
d83991ae8b
Remove @astrojs/prefetch integration (#9241) 2023-12-01 10:50:15 -05:00
Erika
c47478bbf6
fix(overlay): Fix notification setting not working immediately (#9243) 2023-12-01 11:20:24 +01:00
Bjorn Lu
459b264366
Rework Vite and Astro logger for HMR messages (#9139) 2023-12-01 16:58:05 +08:00
Matthew Phillips
c0481f47e2 [ci] format 2023-11-30 22:05:45 +00: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
Emanuele Stoppa
0bd0c578f5 [ci] format 2023-11-30 21:15:04 +00:00
Emanuele Stoppa
b4b851f5a4
feat(i18n): refined locales (#9200)
* feat(i18n): refined locales

* feat: support granular locales inside the virtual module

* feat: expose new function to retrieve the path by locale

* chore: update fallback logic

* chore: fix other broken cases inside source code

* chore: add new test cases

* maybe fix the type for codegen

* changelog

* Apply suggestions from code review

Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>

* chore: apply suggestions

* Apply suggestions from code review

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

* Update packages/astro/src/@types/astro.ts

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

* Update packages/astro/src/@types/astro.ts

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

* fix: merge

---------

Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-30 16:13:58 -05:00
Emanuele Stoppa
7b74ec4ba4
fix(i18n): create fallback pages for page routes correctly (#9252)
* add test case

* fix(i18n): fallback should create consistent directories (#9142)

* fix: index can be 0!!

* tests should have the correct configuration
2023-11-30 13:54:15 -05:00
Bjorn Lu
d8d46ed27e
Fix missing type import from auto format (#9250) 2023-12-01 00:32:22 +08:00
Bjorn Lu
cfa0c454b5 [ci] format 2023-11-30 15:06:09 +00:00
bluwy
05628aaa3c Merge branch 'main' into next 2023-11-30 22:42:29 +08:00
Zach Cardoza
ff8eadb95d
(feat) return updated config in integration hooks (#9013) 2023-11-30 22:28:15 +08:00
Houston (Bot)
349afeeb16
[ci] release (#9233)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-30 22:24:51 +08:00
Emanuele Stoppa
27d3e86e4c
refactor(i18n): breakdown routing strategy (#9236)
* refactor(i18n): breakdown routing strategy

* changelog

* changeset

* chore: fix rebase

* fix changeset

* chore: update test

* Apply suggestions from code review

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>

* Update packages/astro/test/i18n-routing.test.js

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>

---------

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-11-30 05:58:37 -05:00
Erika
9c2342c327
fix(overlay): Fix SVG icons not showing properly in the overflow menu (#9235) 2023-11-30 11:27:26 +01:00
Fred K. Schott
60cfa49e44
Overlay look-and-feel polish (#9230)
* dev overlay polish

* increase size a bit
2023-11-29 14:18:01 -08:00
Arsh
3f28336d9a
fix(rendering): prevent error when slots is keyed into (#9179)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-29 15:47:48 -06:00
Houston (Bot)
c495f1ac17
[ci] release (beta) (#9228)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-29 13:50:18 -05:00
evelyn masso
8f8a40e93d
[i18n] During fallback, only remove locale if prefix-always is false (#9226)
* i18n: During fallback, only remove locale if prefix-always is false

* add test

* add changeset
2023-11-29 13:46:51 -05:00
Nate Moore
3b77889b47
Add new preferences module (#9115) 2023-11-29 12:43:40 -06:00
Erika
34e96b141a
feat: unflag dev overlay (#9232)
* feat: unflag dev overlay

* fix: oops

* fix: check for both config existing

* fix: don't use flag in e2e tests

* Disable view transition tests

* Disable more

* even more

---------

Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-11-29 12:49:48 -05:00
Fred K. Schott
8bfc205119
update error logging (#9129)
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-11-29 12:43:32 -05:00