0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-24 23:21:57 -05:00
Commit graph

2981 commits

Author SHA1 Message Date
Nate Moore
b832cd1901
Vue: Remove hasDefaultExport check from appEntrypoint logic () 2023-12-05 18:38:29 -06:00
Nate Moore
cfb20550d3
Update vitefu version () 2023-12-05 17:41:12 -06:00
Houston (Bot)
339be4dbff
[ci] release ()
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 ()
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 () 2023-12-05 10:22:13 -06:00
Houston (Bot)
79e191ae42
[ci] release ()
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 () 2023-12-05 14:31:51 +00:00
Matthew Phillips
2f110a5016
Add changeset for Tailiwind () 2023-12-05 09:02:53 -05:00
Houston (Bot)
5f13e7e0dc
[ci] release ()
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 () 2023-12-05 07:15:56 -05:00
Houston (Bot)
4b9d657ff2
[ci] release (beta) ()
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 () 2023-12-04 15:41:40 -05:00
Houston (Bot)
b1199c5342
[ci] release (beta) ()
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 ()
* 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" ()
* 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 ()
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-12-04 13:56:37 -06:00
Houston (Bot)
8dd7deb7b7
[ci] release (beta) ()
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 ()
* 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 ()
* 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 ()
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 ()
* Fix i18n routing param

* Add changeset
2023-12-04 00:00:01 -05:00
Houston (Bot)
d71e937492
[ci] release (beta) ()
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 ()
* 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) ()
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 ()
* 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 ()
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-12-02 00:59:22 +08:00
Bjorn Lu
d83991ae8b
Remove @astrojs/prefetch integration () 2023-12-01 10:50:15 -05:00
Bjorn Lu
459b264366
Rework Vite and Astro logger for HMR messages () 2023-12-01 16:58:05 +08:00
Matthew Phillips
b750a161e0
Use fixed positioning on x-ray when inside of fixed containers ()
* 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 ()
* Add instructions on how to hide the dev overlay

* Add missing link
2023-11-30 16:40:32 -05:00
Emanuele Stoppa
b4b851f5a4
feat(i18n): refined locales ()
* 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 ()
* add test case

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

* fix: index can be 0!!

* tests should have the correct configuration
2023-11-30 13:54:15 -05: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 () 2023-11-30 22:28:15 +08:00
Houston (Bot)
349afeeb16
[ci] release ()
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 ()
* 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 () 2023-11-30 11:27:26 +01:00
Fred K. Schott
60cfa49e44
Overlay look-and-feel polish ()
* 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 ()
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) ()
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 ()
* 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 () 2023-11-29 12:43:40 -06:00
Fred K. Schott
8bfc205119
update error logging ()
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-11-29 12:43:32 -05:00
Matthew Phillips
f4401c8c1f
Improve high contrast mode with the dev overlay ()
* 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 () 2023-11-29 11:07:46 -05:00
Arsh
49aa215a01
Switch app.render signature ()
* 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(): fix style HMR in certain cases () 2023-11-29 09:12:43 -06:00
Nate Moore
c421a3d179
Unflag view transitions form handling () 2023-11-29 09:06:38 -06:00
Matthew Phillips
4b8a42406b
Ensure dev overlay x-ray highlight goes over the island ()
* Ensure dev overlay x-ray highlight goes over the island

* oops
2023-11-29 08:46:35 -05:00