0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
Commit graph

6882 commits

Author SHA1 Message Date
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
6686e03a75 Update the Toolbar rename changeset 2023-12-01 16:24:09 -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
5773e67456
Remove examples/vite-plugin-pwa (#9270) 2023-12-01 14:54:11 -06: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
Nate Moore
dff7421a2b
Chore: fix noisy peerDependency warnings (it's fine) (#9257) 2023-11-30 16:27:20 -06: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
Matthew Phillips
fbf145af8a
Merge pull request #9247 from withastro/next
Merge the `next` branch into `main` for the 4.0 release
2023-11-30 10:03:51 -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 (#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
Bjorn Lu
d34dc2c337
Enable releasing from 3-legacy branch (#9245) 2023-11-30 22:22:03 +08:00