0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-13 22:11:20 -05:00
Commit graph

2068 commits

Author SHA1 Message Date
Bjorn Lu
0ef1613ea3
Fix component render in markdoc when nodes.document.render is null (#12967) 2025-01-13 23:59:56 +08:00
renovate[bot]
7a0855b264
fix(deps): update all non-major dependencies (#12579)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-13 23:59:09 +08:00
Stefano
3d89e62822
fix: align esbuild to vite (#12361)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2025-01-13 23:19:44 +08:00
Houston (Bot)
6c68269c0e
[ci] release (#12960)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-13 16:15:24 +01:00
Bjorn Lu
c7642fb80b
Remove custom optimizeDeps.include in react integration (#12923) 2025-01-13 10:36:10 +00:00
Viktor Szépe
cca3bc934c
fix: correct more typos (#12971) 2025-01-13 11:54:09 +08:00
Bjorn Lu
bee7df7409
Add inline mdx component test (#12965) 2025-01-10 22:55:57 +08:00
Houston (Bot)
2f9ba982fe
[ci] release (#12945)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-10 17:24:35 +08:00
Bjorn Lu
3a267f33a2
Revert "Make MDX integration check noop (#12913)" (#12959) 2025-01-10 17:18:37 +08:00
Bjorn Lu
51ab7b5722
Support checking react 19 components (#12948) 2025-01-10 10:17:46 +08:00
Bjorn Lu
a20a4d7b8f
Fix markdoc render code block in if tag (#12930) 2025-01-09 22:57:02 +08:00
Houston (Bot)
5f16a4c524
[ci] release (#12919)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-09 09:46:30 +00:00
Matt Kane
44841fc281
fix: conditionally import image style (#12925)
* fix: conditionally import image style

* Use wrapper component for conditional style import

* changeset

* Add tests

* Fix tests

* Update markdoc tests

* Lint
2025-01-08 13:24:45 +00:00
Matt Kane
0770810aa4 [ci] format 2025-01-07 17:08:23 +00:00
Matt Kane
aeb7e1ac11
fix(mdx): don't import image component when no images are used (#12921)
* fix(mdx): don't import image component when no images are used

* Fix test

* Fix test
2025-01-07 17:07:33 +00:00
Bjorn Lu
9a3b48c5c3
Make MDX integration check noop (#12913) 2025-01-07 17:30:38 +08:00
renovate[bot]
cbd9bab89f
fix(deps): update dependency @preact/signals to v2 (#12811)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-03 20:32:00 +08:00
renovate[bot]
047589dbd4
fix(deps): update dependency @astrojs/node to v9 (#12687)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-03 20:30:07 +08:00
renovate[bot]
5997af826f
fix(deps): update dependency htmlparser2 to v10 (#12857)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-03 20:17:23 +08:00
Houston (Bot)
161df286c3
[ci] release (#12801)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-02 13:29:02 +00:00
Amine Ilidrissi
8809b85747
Fix Vue & Svelte server renderer types (#12776)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2025-01-02 09:56:07 +00:00
Scott Davis
1fab2f2ef6
patch: update partytown dependencies (#12822) 2024-12-24 11:21:20 +00:00
Houston (Bot)
5f4c543609
[ci] release (#12790)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-20 12:10:36 +00:00
Matt Kane
739dbfba42
fix(deps): upgrade Vite (#12799) 2024-12-20 12:01:14 +00:00
Matt Kane
b4fec3c7d1
Sessions API (#12441)
* wip: experimental sessions

* feat: adds session options (#12450)

* feat: add session config

* chore: add session config docs

* Fix

* Expand doc

* Handle schema

* Remove example

* Format

* Lock

* Fix schema

* Update packages/astro/src/types/public/config.ts

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

* Update packages/astro/src/types/public/config.ts

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

* Add link to Sessions RFC in config.ts

* Move session into experimental

---------

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

* Lock

* feat: prototype session support (#12471)

* feat: add session object

* Add tests and fix logic

* Fixes

* Allow string as cookie option

* wip: implement sessions (#12478)

* feat: implement sessions

* Add middleware

* Action middleware test

* Support URLs

* Remove comment

* Changes from review

* Update test

* Ensure test file is run

* ci: changeset base

* ci: exit from changeset pre mode

* Lockfile

* Update base

* fix: use virtual import for storage drivers (#12520)

* fix: use virtual import for storage drivers

* Don't try to resolve anythign in build

* Fix test

* Polyfill node:url

* Handle custom drivers directly

* No need for path

* Update packages/astro/src/core/session.ts

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* Fix jsdoc

* fix: set default storage path

* Update changeset config for now

* Revert config workaround

* Lock

* Remove unneeded ts-expect-error directive

* fix: [sessions] import storage driver in manifest (#12654)

* wip

* wip

* Export manifest in middleware

* Changeset conf

* Pass session to edge middleware

* Support initial session data

* Persist edge session on redirect

* Remove middleware-related changes

* Refactor

* Remove vite plugin

* Format

* Simplify import

* Handle missing config

* Handle async resolution

* Lockfile

* feat(sessions): implement ttl and flash (#12693)

* feat(sessions): implement ttl and flash

* chore: add unit tests

* Make set arg an object

* Add more tests

* Add test fixtures

* Add comment

* Remove session.flash for now (#12745)

* Changeset

* Apply suggestions from code review

Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
2024-12-18 13:55:49 +00:00
Houston (Bot)
a44cfb874a
[ci] release (#12753)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-16 14:51:44 -05:00
Cody Olsen
75de4a8c73 [ci] format 2024-12-16 19:20:28 +00:00
Cody Olsen
0ac0f25c18
fix: add support for react-compiler-runtime (#12735) 2024-12-16 14:19:38 -05:00
Emanuele Stoppa
901c21f4f0
test: make tailwind test more stable (#12732) 2024-12-13 14:37:25 +00:00
Florian Lefebvre
110fc01a5b
chore: remove unused imports (#12696) 2024-12-11 16:01:06 +01:00
Houston (Bot)
929ce28325
[ci] release (#12698)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-11 11:07:58 +00:00
Brian Kimball
97c9265754
Add React 19 stable as peer dependency for React integration (#12678)
* Add React 19 as peer dependency

* Add React 19 as peer dependency

---------

Co-authored-by: bskimball <brian.kimball@bdkonline.com>
2024-12-11 09:02:41 +00:00
Emanuele Stoppa
495f46bca7
fix(svg): conditional opt-in (#12694)
* fix(svg): conditional opt-in

* add todo

* Update packages/astro/src/assets/utils/node/emitAsset.ts

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-12-10 09:53:58 +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)
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
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
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
Matt Kane
fa07002352
fix(markdoc): correctly render boolean HTML attributes (#12584) 2024-12-02 14:37:00 +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
2da81e53c3 Merge branch 'main' into next 2024-11-27 14:31:09 +00:00
Bjorn Lu
827093e617
Drop node 21 support (#12539) 2024-11-27 21:54:00 +08: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
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
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
Ben Holmes
14feaf30e1
Rename Action query param to _action (#12510)
* rename _astroAction to _action

* changeset
2024-11-25 08:43:15 +00: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