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

4178 commits

Author SHA1 Message Date
Matt Kane
e2a417a28c Revert config workaround 2024-11-28 09:17:55 +00:00
Matt Kane
7f4aa1e1f2 Update changeset config for now 2024-11-27 11:15:48 +00:00
Matt Kane
daa94b54d7 Merge branch 'next' into astro-dot-session 2024-11-27 10:44:46 +00:00
Bjorn Lu
9f440196dc
Update Vite to 6.0.0 () 2024-11-27 18:00:35 +08:00
Houston (Bot)
a2f90ced77
[ci] release (beta) ()
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 ()
Co-authored-by: Princesseuh <3019731+Princesseuh@users.noreply.github.com>
2024-11-26 11:31:32 +00:00
Houston (Bot)
36d8d921db
[ci] release ()
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 ()
* fix multiple root nodes

* add changeset

* remove conditional

* handle no svg case
2024-11-25 20:27:01 +00:00
Matt Kane
3e53f85c98 Merge branch 'next' into astro-dot-session 2024-11-25 14:08:57 +00:00
Matt Kane
33b0e305fe
fix: allow content config in underscored dir () 2024-11-25 13:59:31 +00:00
Ben Holmes
14feaf30e1
Rename Action query param to _action ()
* rename _astroAction to _action

* changeset
2024-11-25 08:43:15 +00:00
Michael Stramel
d023682d6c
Fix SVG Component sprite ids ()
* fix: sprite ids per page

* update tests to cover the failed scenario

* add changeset
2024-11-23 09:52:31 +00:00
Matt Kane
85552de4e8 Update base 2024-11-22 11:26:15 +00:00
Matt Kane
6763eff576 Merge branch 'next' into astro-dot-session 2024-11-22 11:09:25 +00:00
Matt Kane
a0811758e3 Merge branch 'main' into next 2024-11-22 11:06:44 +00:00
Emanuele Stoppa
b140a3f6d8
fix(routing): don't access Request headers ()
Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
2024-11-22 10:26:48 +00:00
Matt Kane
6f8f5467b0 ci: changeset base 2024-11-22 10:06:54 +00:00
Matt Kane
cc28da35df Merge branch 'next' into astro-dot-session 2024-11-22 09:23:36 +00:00
Houston (Bot)
10beb174e5
[ci] release (beta) ()
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 ()
* [ci] release ()

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 ()
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 ()
Add changeset

Proper fix

changeup
2024-11-21 08:00:03 -05:00
Houston (Bot)
a9ce785146
[ci] release (beta) ()
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 ()
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 ()
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) ()
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 ()
* 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
a23985b021
fix: return correct locale in root 404 and 500 page with i18n ()
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-11-21 09:31:17 +00:00
Emanuele Stoppa
28dd3ce522
fix: server island hydration () 2024-11-20 15:08:26 +00:00
Matt Kane
18a04c008a
chore: better images changeset pt 2 () 2024-11-20 13:51:45 +00:00
Matt Kane
3f8b0725da
chore: better images changeset () 2024-11-20 13:12:39 +00:00
Matthew Phillips
c3b7e7cfa1
Remove default throw behavior in astro:env ()
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-11-20 11:09:43 +00:00
Matt Kane
2a9907dd4a Merge branch 'next' into astro-dot-session 2024-11-20 10:05:57 +00:00
Michael Stramel
c48916cc4e
feat(astro): add Built-in SVG component support ()
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 () 2024-11-19 16:12:40 +00:00
Florian Lefebvre
80a9a5299a
fix: content layer glob deletion () 2024-11-19 16:56:28 +01:00
oliverlynch
25baa4ed0c
Ensure final asset directory exists before writing cached files ()
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-11-15 18:25:42 +01:00
Matt Kane
d55cd1af9e
Merge branch 'next' into astro-dot-session 2024-11-15 16:12:03 +00:00
Matt Kane
af867f3910
feat: experimental responsive images ()
* chore: changeset

* feat: add experimental responsive images config option ()

* 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 ()

* 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 ()

* 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 ()

* 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 ()

* 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 () 2024-11-15 13:28:40 +00:00
Houston (Bot)
8e135b6f03
[ci] release ()
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 () 2024-11-15 20:50:01 +08:00
Matt Kane
6d8c64e1d4 wip: experimental sessions 2024-11-15 12:29:52 +00:00
Houston (Bot)
5509117415
[ci] release ()
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 () 2024-11-15 16:09:05 +08:00
Jacob Jenkins
9fc2ab8cc8
Update to svelte 5 ()
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-11-14 23:31:51 +08:00
Emanuele Stoppa
4364bff273
fix(actions): internal symbol check () 2024-11-14 12:41:16 +00:00
Arpan Patel
0462219612
Fix script injection during build ()
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-11-14 08:33:57 +00:00