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

1659 commits

Author SHA1 Message Date
github-actions[bot]
f6b41dc644 [ci] release 2025-01-13 16:07:46 +00: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
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
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
Daniel
3d47e6baff
pass original locals to the 404 page render (#12935)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2025-01-09 09:42:42 +00:00
Houston (Bot)
84b07969dd
[ci] release (#12878)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-06 18:17:11 +01:00
Matt Kane
383c2abc1f
chore(examples): add node types dep (#12905) 2025-01-06 10:05:00 +00:00
renovate[bot]
78bcad952e
chore(deps): update dependency @codspeed/vitest-plugin to v4 (#12742)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-03 13:36:21 +00: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]
e2dc04bfee
chore(deps): update dependency undici to v7 (#12580)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-03 20:29:09 +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
Bjorn Lu
6bbb3f5e5e
Bump vitest to v3 beta (#12876) 2025-01-03 16:55:53 +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
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
f632b94527
fix: pass raw frontmatter to when parsing markdown in glob loader (#12789) 2024-12-19 16:49:01 +00:00
Houston (Bot)
3f557b2e32
[ci] release (#12762)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-19 12:23:46 +00:00
Matt Kane
1ec5b44ce3
chore(deps): update unstorage and use new syntax (#12783) 2024-12-19 11:10:55 +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)
3ff00a6655
[ci] release (#12759)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-16 22:02:50 -05: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
Houston (Bot)
d891d5dff5
[ci] release (#12748)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-16 12:40:13 -05:00
Houston (Bot)
33ae7320e8
[ci] release (#12716)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-16 16:29:28 +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
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