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

1631 commits

Author SHA1 Message Date
Emanuele Stoppa
2aaed2d2a9
fix(middleware): don't import via entrypoint (#12707)
* fix(middleware): don't import via entrypoint

* fix(middleware): don't import via entrypoint
2024-12-10 20:48:38 +00:00
Amumu
7dc2fca2ee
chore: fix vite peer dependency issue for vue integration (#12688)
* chore: fix peer dependency issue for vue integration

* add changesets
2024-12-10 08:37:56 +00:00
Houston (Bot)
163cfd67f5
[ci] release (#12650)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-09 16:38:09 +01:00
Houston (Bot)
a5b17359c1
[ci] release (#12617)
* [ci] release

* Update packages/astro/CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-12-05 13:26:19 +00:00
Emanuele Stoppa
e216250146
fix(ssr): duplicate custom headers (#12518)
* fix(ssr): duplicate custom headers

* rebase
2024-12-05 13:18:00 +00:00
Emanuele Stoppa
74bfad07af
fix: experimental svg types (#12625)
* fix: experimental svg types

* apply suggestion
2024-12-04 15:38:50 +00:00
kyr0
62939add0b
Remove misleading warning when using a custom renderer (#12461)
* fix: this message adds no value to developers; it checks against a static list of renderers while Astro allows to dynamically add custom  renderers

* feat: added framework-custom example to demonstrate the use of custom renderers with the log message fixed

* chore: changeset added and package lock updated

* chore: fix lint issue, but keeping arguments commented out for reference (real-world use)

* chore: removed the example and updated the changeset accordingly

* test: added fixture and test to prove the new behaviour

* test: removing this specific test since it's only guarding if we ever revert this PR

* Update test

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-12-04 10:29:12 +00:00
Houston (Bot)
44af543c0d
[ci] release (#12606)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-03 23:28:40 +01: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
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
Emanuele Stoppa
2453caccd2
test: update sitemap tests to use the latest @astrojs/node (#12593) 2024-12-03 11:46:25 +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
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
Emanuele Stoppa
6031962ab5
chore: downgrade examples to not use beta releases (#12557) 2024-11-28 17:00:52 +00: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
Bjorn Lu
9f440196dc
Update Vite to 6.0.0 (#12524) 2024-11-27 18:00:35 +08: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
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
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
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
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
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
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
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
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
Jacob Jenkins
9fc2ab8cc8
Update to svelte 5 (#12364)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-11-14 23:31:51 +08: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
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
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
Houston (Bot)
d63d87dcae
[ci] release (beta) (#12370)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-06 23:47:57 +08:00
bluwy
7db86cf2b7 Merge branch 'main' into next 2024-11-06 23:17:39 +08:00
Houston (Bot)
e10b03e88c
[ci] release (#12369)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-06 22:55:41 +08:00
Bjorn Lu
c280655655
Update to Vite 6.0.0-beta.6 (#12323) 2024-11-06 22:51:55 +08:00
renovate[bot]
b7e46910fb
fix(deps): update all non-major dependencies (#12366)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-11-06 21:47:42 +08:00
Emanuele Stoppa
ed5a9f1b75
chore: codspeed benchmark (#12347) 2024-11-06 12:33:14 +00:00
Houston (Bot)
ec3113d25a
[ci] release (#12345)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-04 15:20:48 +01:00
Houston (Bot)
731b69712b
[ci] release (beta) (#12250)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-31 17:07:35 +08:00
bluwy
63b4ab95b9 Merge branch 'main' into next 2024-10-31 16:16:00 +08:00
Houston (Bot)
5f7bf49d38
[ci] release (#12290)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-31 15:56:38 +08:00
Emanuele Stoppa
c1786d64c4
fix(i18n): default locale in server islands (#12341) 2024-10-30 19:38:10 +00:00
renovate[bot]
ecc4402b3a
fix(deps): update all non-major dependencies (#12316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-28 22:00:15 +08:00