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
Nate Moore
4a5f2cde17
Fix dev overlay style leak ( #9220 )
...
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-11-29 10:17:13 -06:00
Matthew Phillips
f4401c8c1f
Improve high contrast mode with the dev overlay ( #9218 )
...
* Improve high contrast mode with the dev overlay
* Update packages/astro/src/runtime/client/dev-overlay/overlay.ts
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-29 11:08:16 -05:00
Matthew Phillips
279e3c1b3d
Ensure dev-overlay-window is anchored to the bottom ( #9222 )
2023-11-29 11:07:46 -05:00
Arsh
49aa215a01
Switch app.render
signature ( #9199 )
...
* feat(app): app.render optional object
* tests
* update vercel and node
* update changeset
* deprecation notice and loggin
* clarify changeset
* add node, vercel changeset
* deduplicate code
2023-11-29 21:08:42 +05:30
Nate Moore
067a65f5b4
fix( #9216 ): fix style HMR in certain cases ( #9219 )
2023-11-29 09:12:43 -06:00
Nate Moore
c421a3d179
Unflag view transitions form handling ( #9225 )
2023-11-29 09:06:38 -06:00
Matthew Phillips
4b8a42406b
Ensure dev overlay x-ray highlight goes over the island ( #9227 )
...
* Ensure dev overlay x-ray highlight goes over the island
* oops
2023-11-29 08:46:35 -05:00
Erika
4fe523b006
Small polish to the overlay ( #9214 )
2023-11-29 13:52:11 +01:00
Alexander Niebuhr
c0383ea0c1
chore: remove deprecated matchNotFound
options ( #9212 )
...
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-11-29 08:23:23 +01:00
Houston (Bot)
1e8d28de7f
[ci] release ( #9217 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-28 15:31:12 -06:00
Nate Moore
54e57fe9d7
fix(upgrade): Remove semver parse ( #9213 )
2023-11-28 15:20:16 -06:00
Florian Lefebvre
0dc99c9a28
feat(astro): use plaintext lang if lang does not exist ( #9193 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-28 12:14:22 -06:00
Houston (Bot)
d0d5ff78c9
[ci] release ( #9202 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-28 10:07:52 -06:00
Houston (Bot)
4ded9cd1bc
[ci] release (beta) ( #9211 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-28 09:53:42 -05:00
Erika
000e8f4654
feat: implement overlay main screen redesign ( #9118 )
...
* feat: implement redesign
* fix: make it build
* feat: visual tweaks
* feat(overlay): update styling, integration endpoint
* feat: add fallback icons
* Clean up tests (#9183 )
* Add `@astrojs/upgrade` package for automatic package upgrades (#8525 )
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* [ci] format
* fix: links with same path but different search params not prefetched (#9189 )
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* fix: discord icon
* chore: changeset
---------
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Spencer Whitehead <35475068+SpencerWhitehead7@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-11-28 09:39:38 -05:00
Matthew Phillips
6e0292a1fa
[ci] format
2023-11-28 13:48:11 +00:00
Matthew Phillips
8f1d509574
Support immutable cache headers for _astro assets ( #9125 )
...
* Support immutable cache headers for _astro assets
* Update .changeset/twelve-fishes-fail.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update packages/integrations/node/src/http-server.ts
* Update expected max-age
* Add teh docs
* Update .changeset/twelve-fishes-fail.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/integrations/node/README.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-11-28 08:46:26 -05:00
Spencer Whitehead
d90714fc3d
fix: links with same path but different search params not prefetched ( #9189 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-28 17:13:18 +08:00
Nate Moore
e7ce779ff8
[ci] format
2023-11-27 23:02:46 +00:00
Nate Moore
5a38750188
Add @astrojs/upgrade
package for automatic package upgrades ( #8525 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-27 17:00:59 -06:00
Houston (Bot)
415fec54f8
[ci] release (beta) ( #9114 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-27 12:59:31 -05:00
Bjorn Lu
cdabf6ef02
Remove support for simple objects in endpoints ( #9181 )
...
* Deprecate simple object from endpoints
* Update changeset
* Add missing Response return
Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>
* Update .changeset/clever-beds-notice.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-27 12:51:57 -05:00
Bjorn Lu
37697a2c55
Remove shiki lang path property support ( #9196 )
2023-11-28 00:46:46 +08:00
Bjorn Lu
153a5abb90
Remove deprecated features from Astro 3.0 ( #9168 )
2023-11-28 00:44:20 +08:00
Bjorn Lu
328d999999
Clean up tests ( #9183 )
2023-11-28 00:33:10 +08:00
Bjorn Lu
c7953645ee
Remove deprecated markdown-remark APIs ( #9182 )
2023-11-28 00:32:39 +08:00
bluwy
88f40846d4
Merge branch 'main' into next
2023-11-27 23:47:51 +08:00
Houston (Bot)
2ef75fe752
[ci] release ( #9180 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-27 21:04:52 +05:30
Bjorn Lu
a145ac07e7
Remove vercel deprecated analytics option ( #9184 )
2023-11-24 22:00:03 +08:00
Martin Trapp
607542c7cf
fix scroll restoration issue on webKit browsers ( #9186 )
...
* fix scroll restoration issue on webKit browsers
* add changeset
* Update .changeset/shaggy-socks-glow.md
* Update .changeset/shaggy-socks-glow.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-23 19:08:37 +01:00
Arsh
04fdc1c613
fix(middleware): rename internal middleware id ( #9173 )
...
* rename internal middleware id
* add changeset
2023-11-23 07:13:18 +05:30
Martin Trapp
481c13a08c
fix: Changelog formatting for 3.6.0 View Transition events ( #9176 )
...
Co-authored-by: Eva Decker <itsevadecker@gmail.com>
2023-11-23 00:20:33 +01:00
Eva Decker
ae4d949e7d
[ci] format
2023-11-22 21:49:55 +00:00
Eva Decker
7c485ffc86
Fix View Transitions code block formatting ( #9174 )
2023-11-22 16:48:15 -05:00
Bjorn Lu
bd0c2e9ae3
Rename entryPoint to entrypoint ( #9161 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-22 23:05:19 +08:00
Bjorn Lu
560ff29e74
Fix esbuild warning for local dev ( #9160 )
2023-11-22 22:42:13 +08:00
bluwy
19fd19f393
Merge branch 'main' into next
2023-11-22 22:37:18 +08:00
Houston (Bot)
4d1274c479
[ci] release ( #9165 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-22 09:14:05 -05:00
Bjorn Lu
710be505c9
Refactor virtual modules exports ( #9150 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-22 21:11:57 +08:00
Smit Barmase
0ea4bd47e0
Fallback to tap prefetch strategy on slow connection ( #9092 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-11-22 21:10:09 +08:00
Martin Trapp
0970fd635c
[ci] format
2023-11-22 12:55:48 +00:00
Martin Trapp
c87223c21a
New events for Astro's view transition API ( #9090 )
...
* draft new view transition events
* initial state for PR
* remove intraPageTransitions flag based on review comments
* add createAnimationScope after review comments
* remove style elements from styles after review comments
* remove quotes from animation css to enable set:text
* added changeset
* move scrollRestoration call from popstate handler to scroll update
* Update .changeset/few-keys-heal.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Less confusing after following review comments
* Less confusing after following review comments
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-22 07:54:09 -05:00
Bjorn Lu
addb57c8e8
Fix RemarkRehype types ( #9147 )
2023-11-22 11:17:29 +08:00
Bjorn Lu
0fe3a7ed5d
Remove vendored Vite importMeta.d.ts ( #9149 )
2023-11-22 11:17:21 +08:00
Houston (Bot)
ac908b7839
[ci] release ( #9155 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-21 16:44:16 -05:00
Emanuele Stoppa
7ff8d62bf8
Revert "fix(i18n): fallback should create consistent directories (#9142… ( #9157 )
2023-11-21 15:40:59 -06:00
Arsh
4aca47beca
[ci] format
2023-11-21 17:21:41 +00:00
Arsh
af43fb5172
fix(react): make children undefined
with experimentalReactChildren
( #9141 )
...
* add test script
* make children `undefined` with self-closing tags
* add changeset
* refactor: simplify
2023-11-21 22:49:43 +05:30
Houston (Bot)
d9e72cea39
[ci] release ( #9116 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-21 22:52:08 +08:00
Bjorn Lu
abf601233f
Update all dependencies ( #9138 )
...
Co-authored-by: delucis <delucis@users.noreply.github.com>
2023-11-21 12:09:19 +08:00
Emanuele Stoppa
7ab5137ba7
fix: test case for #9095 ( #9127 )
2023-11-20 14:11:26 -06:00
Martin Trapp
7742fd7dc2
Extend the 'click' listener of view transitions to handle links in SVGs and areas in image maps ( #9140 )
...
* handle clicks on SVGAElements and image maps
* add changeset
2023-11-20 21:10:35 +01:00
Emanuele Stoppa
7d55cf68d8
fix(i18n): fallback should create consistent directories ( #9142 )
2023-11-20 12:23:52 -06:00
Fred K. Schott
6201bbe96c
Logging rewrite 2 ( #9105 )
...
* update logging
add back warning for header access
improve labels and formatting
improve error logging
remove outdated error
fix build
new error messages and hints
new error messages and hints
* walk back error message changes
* fix rebase issues
* add changeset
* Remove accidental log
* revert bad env change
* Update index.ts
* Update packages/astro/src/core/build/index.ts
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-11-18 00:38:54 -08:00
Emanuele Stoppa
306781795d
fix(i18n): review fallback system ( #9119 )
2023-11-17 13:18:40 -06:00
Zhang Zhipeng
f4efd1c808
Warn if astro add fetch failed with non 404 status ( #9121 )
...
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-11-17 22:28:47 +08:00
Bjorn Lu
1c48ed2865
Support Vite 5 ( #9122 )
2023-11-17 22:02:05 +08:00
Emanuele Stoppa
e3dce215a5
feat(i18n): add Astro.currentLocale
( #9101 )
2023-11-16 08:54:10 -06:00
Houston (Bot)
8366cd7775
[ci] release ( #9107 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-16 21:50:47 +08:00
brandonsdebt
ac5633b8f6
Add compatibility with cloudflare node ( #8925 )
2023-11-16 21:47:46 +08:00
pilcrowOnPaper
1862fb44eb
[ci] format
2023-11-15 23:41:21 +00:00
pilcrowOnPaper
c9487138d6
Cancel response stream when connection closes ( #9071 )
...
* cancel stream on close
* add changeset
* add test
* Update .changeset/modern-ways-develop.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: lilnasy <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-16 05:09:41 +05:30
Emanuele Stoppa
eeac288551
[ci] format
2023-11-15 18:45:38 +00:00
Emanuele Stoppa
536c6c9fd3
feat(i18n): apply specific routing logic only to pages ( #9091 )
2023-11-15 13:43:57 -05:00
Erika
60e8210b0c
feat(dev-overlay): Hide plugins into a separate menu when there's too many enabled ( #9102 )
2023-11-15 16:50:11 +01:00
Bjorn Lu
6e4dd54cfa
[ci] format
2023-11-15 15:42:17 +00:00
Bjorn Lu
a600c14837
Support Svelte 5 (experimental) ( #9098 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-15 23:40:23 +08:00
Houston (Bot)
e63aac94ca
[ci] release ( #9078 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-14 23:20:35 +08:00
bluwy
0aee43fc16
[ci] format
2023-11-14 15:01:58 +00:00
Bjorn Lu
4537ecf0d0
Refactor shikiji syntax highlighting code ( #9083 )
2023-11-14 23:00:17 +08:00
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