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

9034 commits

Author SHA1 Message Date
Luiz Ferraz
1dad448bef --wip-- [skip ci] 2024-12-03 16:26:20 -03:00
Emanuele Stoppa
2ee8412bbc [ci] format 2024-12-03 17:04:13 +00:00
Emanuele Stoppa
9b5f3a702d
refactor: use vitest for benchmarks (#12605)
* refactor: use `vitest` for benchmarks

* increase timeout

* increase timeout

* Restore correct label
2024-12-03 17:03:24 +00:00
Emanuele Stoppa
30722870da
chore: update examples to use latest node (#12603) 2024-12-03 16:53:32 +00:00
Matt Kane
557fdae9f3
chore: add null check (#12607) 2024-12-03 16:50:26 +00:00
Matt Kane
072492982b
fix: include undefined in types for getEntry with content layer (#12601) 2024-12-03 16:16:42 +00:00
Armand Philippot
c17a364b10 [ci] format 2024-12-03 15:42:14 +00:00
Armand Philippot
3be8eaba0b
fix(examples): update Sass usage in Starlog example (#12596)
* fix: replace Sass @imports with @use

* fix: move nested rules under top-level declarations
2024-12-03 15:41:25 +00:00
Houston (Bot)
7a02982455
[ci] release (#12595)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-03 13:28:23 +01:00
Kid
92c269b0f0
fix: devtools warnings about dev toolbar form fields (#12590)
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-12-03 13:08:30 +01:00
Erika
4f2fd0a0d6
fix: cleanup peer deps ranges (#12594) 2024-12-03 13:07:55 +01:00
Emanuele Stoppa
2453caccd2
test: update sitemap tests to use the latest @astrojs/node (#12593) 2024-12-03 11:46:25 +00:00
Emanuele Stoppa
f81f15aaf0
chore: remove next badge from readme (#12592) 2024-12-03 11:25:33 +00:00
Houston (Bot)
fcdd37f684
[ci] release (#12567)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-03 10:56:34 +00:00
Emanuele Stoppa
bc18c3cfe2
chore: exit pre-mode (#12553) 2024-12-03 10:52:51 +00:00
Matt Kane
b731b3de73
fix: make image endpoint highest priority (#12591)
* fix: make image endpoint highest priority

* Use config for endpoint

* Add test
2024-12-03 10:51:34 +00:00
Chris Swithinbank
3a144b1a69
Update examples for v5 (#12588)
* Revert "chore: downgrade examples to not use beta releases (#12557)"

This reverts commit 6031962ab5.

* Update blog template for new content collections

* Update portfolio template for new content collections

* Update starlog template for new content collections
2024-12-03 11:00:43 +01:00
Chris Swithinbank
1dc8f5eb7c
Node 22 housekeeping (#12559) 2024-12-03 00:16:53 +01:00
Emanuele Stoppa
3a76353248
fix: update tests (#12586)
Co-authored-by: matthewp <361671+matthewp@users.noreply.github.com>
2024-12-02 17:03:55 +00:00
Emanuele Stoppa
10c6b8d720 [ci] format 2024-12-02 15:40:23 +00:00
Emanuele Stoppa
315c5f3b2a
Merge commit from fork
* fix: enforce check origin logic

* address feedback
2024-12-02 15:39:22 +00:00
Wes Souza
07b9ca802e
fix(actions): explicitly import index.ts to fix types when moduleResolution is NodeNext (#12578) 2024-12-02 14:48:01 +00:00
Arpan Patel
b139390deb
fix(upgrade): enhance version comparison by normalizing targetVersion (#12577) 2024-12-02 22:38:05 +08:00
Matt Kane
fa07002352
fix(markdoc): correctly render boolean HTML attributes (#12584) 2024-12-02 14:37:00 +00:00
Adriaan van der Bergh
15f000c3e7
fix: remove value and writable properties from headers descriptor (#12552) 2024-12-02 22:35:11 +08:00
Matt Kane
74ee2e45ec [ci] format 2024-11-29 16:02:58 +00:00
Matt Kane
97f413f118
fix: generate types even without src/content (#12565)
* fix: generate types even without src/content

* chore: add test
2024-11-29 16:02:12 +00:00
Emanuele Stoppa
6031962ab5
chore: downgrade examples to not use beta releases (#12557) 2024-11-28 17:00:52 +00:00
Emanuele Stoppa
c50882daf6
Merge pull request #12551 from withastro/next 2024-11-28 11:12:46 +00:00
Emanuele Stoppa
875f8b9185
ci: remove next from workflows (#12550) 2024-11-28 10:43:47 +00:00
Bjorn Lu
6f4793656e
Use node 22 in CI (#12540) 2024-11-27 23:59:58 +08:00
Chris Swithinbank
84ce4be522 Merge branch 'main' into next 2024-11-27 16:12:44 +01:00
Chris Swithinbank
04aede3255
Examples fixes and preview.astro.new support (#12543)
Co-authored-by: Emanuele Stoppa <602478+ematipico@users.noreply.github.com>
2024-11-27 16:08:37 +01:00
Houston (Bot)
218267c0b3
[ci] release (beta) (#12534)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-27 14:34:47 +00:00
Emanuele Stoppa
5bdc8cd094 update lock file 2024-11-27 14:31:30 +00:00
Emanuele Stoppa
2da81e53c3 Merge branch 'main' into next 2024-11-27 14:31:09 +00:00
Houston (Bot)
6eac6ba733
[ci] release (#12536)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-27 14:21:09 +00:00
Bjorn Lu
827093e617
Drop node 21 support (#12539) 2024-11-27 21:54:00 +08:00
Aleksandr Kadykov
65e50eb7b6
Fix JPEG image size determination (#12542) 2024-11-27 13:05:56 +00:00
Matt Kane
f71052df01
ci: fetch changeset base branch when snapshot (#12508)
* ci: fetch changeset base branch

* Update .github/workflows/snapshot-release.yml

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

* Remove redundant changeset pre exit command

* Fix indentation in snapshot-release workflow

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-11-27 11:34:44 +00:00
Bjorn Lu
9f440196dc
Update Vite to 6.0.0 (#12524) 2024-11-27 18:00:35 +08:00
renovate[bot]
6fc29e3c24
fix(deps): update all non-major dependencies (#12410)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-11-27 16:20:16 +08:00
Emanuele Stoppa
cf0d8b08a0
fix(i18n): render 404.astro when i18n is enabled (#12525)
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>


Co-authored-by: delucis <357379+delucis@users.noreply.github.com>
Co-authored-by: bluwy <34116392+bluwy@users.noreply.github.com>
2024-11-26 15:21:06 +00:00
Emanuele Stoppa
8b0e36ca91
chore: fix linting warnings (#12526) 2024-11-26 13:06:04 +00:00
Houston (Bot)
a2f90ced77
[ci] release (beta) (#12503)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-26 11:38:33 +00:00
Emanuele Stoppa
c34803205e Merge branch 'main' into next 2024-11-26 11:37:16 +00:00
Emanuele Stoppa
1b61fdf038
refactor(mdx): add entrypoint as full path file (#12533)
Co-authored-by: Princesseuh <3019731+Princesseuh@users.noreply.github.com>
2024-11-26 11:31:32 +00:00
Houston (Bot)
36d8d921db
[ci] release (#12501)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-26 09:03:38 +00:00
Michael Stramel
cb9322c763
fix: handle other elements before the svg element (#12516)
* fix multiple root nodes

* add changeset

* remove conditional

* handle no svg case
2024-11-25 20:27:01 +00:00
Sarah Rainsberger
1ec852e204
Update links in errors-data.ts (#12523) 2024-11-25 11:33:46 -04:00