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

9076 commits

Author SHA1 Message Date
Matt Kane
c6a31e3978
ci: fix changeset action (#12504) 2024-11-22 11:43:45 +00:00
Matt Kane
a0811758e3 Merge branch 'main' into next 2024-11-22 11:06:44 +00:00
Matt Kane
3dc714ae4b
ci: exit pre if needed (#12502)
* ci: exit pre if needed

* bump changeset cli
2024-11-22 11:03:46 +00:00
Emanuele Stoppa
b140a3f6d8
fix(routing): don't access Request headers (#12498)
Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
2024-11-22 10:26:48 +00:00
Houston (Bot)
10beb174e5
[ci] release (beta) (#12491)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-21 11:12:29 -05:00
Matthew Phillips
23dc937435
Merge main into next (#12493)
* [ci] release (#12490)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Update solid version

* update lockfile

* fix vue changelog

---------

Co-authored-by: Houston (Bot) <108291165+astrobot-houston@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-21 10:51:47 -05:00
Houston (Bot)
3bed8050b9
[ci] release (#12490)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-21 09:47:58 -05:00
Matthew Phillips
dc3d842e4c
Call server island early so it can set headers (#12486)
Add changeset

Proper fix

changeup
2024-11-21 08:00:03 -05:00
Houston (Bot)
a9ce785146
[ci] release (beta) (#12430)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-21 12:45:51 +00:00
Emanuele Stoppa
285c6e3598 chore: merge fixes 2024-11-21 12:02:21 +00:00
Florian Lefebvre
8309c61f0d
feat(next): astro:routes:resolved (#12329)
Co-authored-by: Luiz Ferraz <luiz@lferraz.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-11-21 12:30:49 +01:00
Houston (Bot)
b9c05f45b2
[ci] release (#12452)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-21 11:12:37 +00:00
Eldar Kasmamytov
8a46e8074d
Resolve peer dependency problem in the integration packages (SolidJS, Vue, Svelte, React) (#12481)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com>
Co-authored-by: bluwy <34116392+bluwy@users.noreply.github.com>
2024-11-21 11:12:00 +00:00
Matt Kane
3f02d5f12b
feat: support new location for content config (#12475)
* feat: support new location for content config

* Test fixes

* Handle missing dir

* Handle missing content dir

* chore: changes from review

* Revert legacy fixtures

* Clarify changeset
2024-11-21 10:45:02 +00:00
Arpan Patel
e329657a00 [ci] format 2024-11-21 09:32:06 +00:00
Arpan Patel
a23985b021
fix: return correct locale in root 404 and 500 page with i18n (#12365)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-11-21 09:31:17 +00:00
Emanuele Stoppa
28dd3ce522
fix: server island hydration (#12444) 2024-11-20 15:08:26 +00:00
Matt Kane
18a04c008a
chore: better images changeset pt 2 (#12484) 2024-11-20 13:51:45 +00:00
Matt Kane
3f8b0725da
chore: better images changeset (#12483) 2024-11-20 13:12:39 +00:00
Matt Kane
e1a5e65ad7
chore: clarify wording of responsive image props (#12482) 2024-11-20 13:12:17 +00:00
Emanuele Stoppa
ab0580bc94
refactor(build): don't emit middleware.mjs (#12479) 2024-11-20 11:21:40 +00:00
Matthew Phillips
c3b7e7cfa1
Remove default throw behavior in astro:env (#12480)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-11-20 11:09:43 +00:00
Michael Stramel
c48916cc4e
feat(astro): add Built-in SVG component support (#12067)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-11-19 16:51:37 +00:00
Emanuele Stoppa
46f6b386b3
fix(build): generated entry (#12477) 2024-11-19 16:12:40 +00:00
Florian Lefebvre
80a9a5299a
fix: content layer glob deletion (#12476) 2024-11-19 16:56:28 +01:00
Emanuele Stoppa
f64934086e [ci] format 2024-11-18 13:35:34 +00:00
Emanuele Stoppa
3bde4aa751
chore: use Biome VCS ignore file (#12465) 2024-11-18 13:34:43 +00:00
Emanuele Stoppa
cc03d907c1
ci: filter paths of when running the benchmark action (#12470) 2024-11-18 11:33:58 +00:00
Emanuele Stoppa
733d6c1601
ci: remove owner check to enable external PR jobs (#12466) 2024-11-18 10:59:19 +00:00
Marijn Kneppers
6a243bf3c4
Update links to linting and formatting files in the style guide (#12468) 2024-11-18 10:48:54 +00:00
oliverlynch
25baa4ed0c
Ensure final asset directory exists before writing cached files (#12418)
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-11-15 18:25:42 +01:00
Sarah Rainsberger
e246dc5232
Update markdown.shiki configuration docs (#12447) 2024-11-15 12:45:46 -04:00
Bjorn Lu
cec4af8fe5
Add publint checks (#12445) 2024-11-15 23:43:34 +08:00
Matt Kane
af867f3910
feat: experimental responsive images (#12377)
* chore: changeset

* feat: add experimental responsive images config option (#12378)

* feat: add experimental responsive images config option

* Apply suggestions from code review

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

* Update config types

* Move config into `images`

* Move jsdocs

---------

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

* feat: add responsive image component (#12381)

* feat: add experimental responsive images config option

* Apply suggestions from code review

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

* Update config types

* Move config into `images`

* Move jsdocs

* wip: responsive image component

* Improve srcset logic

* Improve fixture

* Lock

* Update styling

* Fix style prop handling

* Update test (there's an extra style for images now)

* Safely access the src props

* Remove unused export

* Handle priority images

* Consolidate styles

* Update tests

* Comment

* Refactor srcset

* Avoid dupes of original image

* Calculate missing dimensions

* Bugfixes

* Add tests

* Fix test

* Correct order

* Lint

* Fix fspath

* Update test

* Fix test

* Conditional component per flag

* Fix class concatenation

* Remove logger

* Rename helper

* Add comments

* Format

* Fix markdoc tests

* Add test for style tag

---------

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

* feat: add crop support to image services (#12414)

* wip: add crop support to image services

* Add tests

* Strip crop attributes

* Don't upscale

* Format

* Get build working properly

* Changes from review

* Fix jsdoc

* feat: add responsive support to picture component (#12423)

* feat: add responsive support to picture component

* Add picture tests

* Fix test

* Implement own define vars

* Share logic

* Prevent extra astro-* class

* Use dataset scoping

* Revert unit test

* Revert "Fix test"

This reverts commit f9ec6e2938.

* Changes from review

* docs: add docs for responsive images (#12429)

* docs: add responsive images flag docs

* docs: adds jsdoc for image components

* chore: updates from review

* Fix jsdoc

* Changes from review

* Add breakpoints option

* typo

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-11-15 13:29:52 +00:00
Matt Kane
c8f877cad2
fix: skip legacy typegen by default (#12438) 2024-11-15 13:28:40 +00:00
Houston (Bot)
8e135b6f03
[ci] release (#12443)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-15 20:59:51 +08:00
Bjorn Lu
bde49f186e
Publish missing file for svelte integration (#12442) 2024-11-15 20:50:01 +08:00
bluwy
671f50c7d3 Merge branch 'main' into next 2024-11-15 19:37:28 +08:00
Houston (Bot)
5509117415
[ci] release (#12427)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-15 19:27:27 +08:00
Martin Trapp
453ec6b12f
prevents access to the history state if not set (#12436) 2024-11-15 16:09:05 +08:00
Emanuele Stoppa
e64ec5f9df
chore: breakdown of benchmarks (#12433) 2024-11-14 16:26:50 +00:00
Jacob Jenkins
9fc2ab8cc8
Update to svelte 5 (#12364)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-11-14 23:31:51 +08:00
Emanuele Stoppa
4364bff273
fix(actions): internal symbol check (#12424) 2024-11-14 12:41:16 +00:00
Arpan Patel
bdc0890061 [ci] format 2024-11-14 08:34:43 +00:00
Arpan Patel
0462219612
Fix script injection during build (#12392)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-11-14 08:33:57 +00:00
Houston (Bot)
b745e382f1
[ci] release (beta) (#12405)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-13 14:32:01 +00:00
Emanuele Stoppa
3c72cdbc61 Merge branch 'main' into next 2024-11-13 14:25:36 +00:00
Houston (Bot)
3b3bc9b8cd
[ci] release (#12422)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-13 14:21:47 +00:00
Emanuele Stoppa
acac0af534
fix(routing): middleware in dev (#12420) 2024-11-13 13:34:35 +00:00
Houston (Bot)
e723e9e8ea
[ci] release (#12403)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-12 19:00:58 -05:00