0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
Commit graph

8841 commits

Author SHA1 Message Date
Matt Kane
74ace467fc Format 2024-10-01 13:27:47 +01:00
Reuben Tier
76c5fbd6f3
Fix non-stable versions for astro add (#12095) 2024-10-01 14:18:30 +08:00
bluwy
e748c480a7 Merge branch 'main' into next 2024-10-01 11:21:48 +08:00
Erika
12dae50c77
chore: changeset (#12084) 2024-09-30 19:21:06 +02:00
Florian Lefebvre
8679954bf6
feat(next): remove CCC (#12081)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-30 16:04:11 +02:00
Bjorn Lu
5b70610b0f
Update boxen to v8 (#12094) 2024-09-30 17:02:39 +08:00
renovate[bot]
928dc3111c
fix(deps): update all non-major dependencies (#12092)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 10:17:49 +08:00
Rohan Godha
21b5e806c5
feat: custom file formats in file content loader (#12047)
* add custom file format support

* add tests

* lint/format

* changeset

* nits

* finish tests

* add nested json test

* requested changes

* update changeset with @sarah11918 suggestions

* typos/formatting

* add map<id, data> yaml test

* fix tests and rebase
2024-09-29 19:41:15 +01:00
Florian Lefebvre
0a1036eef6
feat(next): codegenDir and update .astro paths (#11963)
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-26 17:13:17 +02:00
Bjorn Lu
a19530e377
Parse frontmatter ourselves (#12075) 2024-09-26 14:59:39 +01:00
renovate[bot]
2594eb088d
fix(deps): update all non-major dependencies (#12003)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-09-26 14:57:59 +01:00
Martin Trapp
d7779dfae7
View Transitions: Fixes Astro's fade animation to prevent flicker during morph transitions (#12046) 2024-09-26 14:14:00 +01:00
Bjorn Lu
acf264d8c0
Replace ora with yocto-spinner (#12073) 2024-09-25 16:17:02 +01:00
Bjorn Lu
1720c5b1d2
Fix injected endpoint prerender detection (#12043) 2024-09-25 15:14:04 +01:00
Emanuele Stoppa
9693ad4ffa
fix: check origin in static build (#12070)
* fix: check origin in static build

* address comment
2024-09-25 14:38:32 +01:00
Erika
61d248e581
feat: makes it so astro add does not set output server by default (#12071)
* feat: makes it so astro add does not set output server by default

* chore: changeset
2024-09-25 14:59:34 +02:00
renovate[bot]
da4bc2c8bc
chore(deps): update tj-actions/changed-files action to v45 (#11838)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 12:48:16 +01:00
The web walker
98831ee500
docs: fix typo in code comments (#11944)
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-09-25 12:46:38 +01:00
Houston (Bot)
7968eabcfc
[ci] release (beta) (#12017)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-24 11:10:24 +02:00
Princesseuh
d1e5977533
fix: dynamically imported middlewares 2024-09-24 09:51:47 +01:00
Princesseuh
7fa6f782cd
Merge branch 'main' into next 2024-09-24 09:42:32 +01:00
Erika
cb5d3ae6ee
Release a beta for Svelte and Vue (#12060)
* chore: changeset

* nit: better changeset

* chore: major
2024-09-24 10:12:51 +02:00
Houston (Bot)
7814a6cad1
[ci] release (#12037)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-23 19:26:46 +02:00
Emanuele Stoppa
72dc2313ec [ci] format 2024-09-23 15:42:36 +00:00
Emanuele Stoppa
25a104b451
refactor: dynamically import middleware (#11550)
* refactor: dynamically import middleware

* update tests

* chore: fix code merge

* address linting

* remove changeset

* feedback

* feedback

* fix test failing

* add suggestion

* change order of resolution to cache the middleware before inserting a route

* address comment
2024-09-23 16:39:06 +01:00
renovate[bot]
4c47c44619
fix(deps): update dependency @oslojs/encoding to v1 (#12058)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 09:29:19 +01:00
Emanuele Stoppa
243ecb6d61
fix(container): apply polyfill (#12042) 2024-09-20 18:09:37 +01:00
Matt Kane
dda78222c3 [ci] format 2024-09-20 11:20:35 +00:00
Matt Kane
26ea5e814a
fix: restore behavior of absolute images in v4 branch (#12038)
* fix: allow images with absolute path

* Add mroe tests

* changeset
2024-09-20 12:19:47 +01:00
Matt Kane
325a57c543
fix: correctly parse inline loader values (#12035) 2024-09-20 10:32:52 +01:00
Emanuele Stoppa
5b3ddfadcb
fix(routing): call middleware when rendering 404.astro (#12034) 2024-09-20 10:12:05 +01:00
Erika
ddc3a08e8f
fix: handle trailing slash on the image endpoint (#12022)
* feat: add trailing slash to import.meta.env for URLs building

* feat: add jsdoc

* feat: add trailing slash to config option directly

* chore: changeset
2024-09-19 17:14:08 +02:00
Emanuele Stoppa
fc3e40ecde
chore: remove eslint-plugin-no-only-tests (#12032) 2024-09-19 14:41:22 +01:00
Matt Kane
10a756ad87
fix: treat images with initial slash as local, and resolve with vite (#12030)
* fix: allow images with absolute path

* Add mroe tests

* changeset
2024-09-19 14:33:27 +01:00
Houston (Bot)
b4563f8542
[ci] release (#12021)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-19 14:13:53 +01:00
Emanuele Stoppa
e00a641f3a [ci] format 2024-09-19 12:58:36 +00:00
Emanuele Stoppa
8c0cae6d1b
fix(routing): compute APIContext.params when rewriting using next (#12031)
* fix(routing): compute `APIContext.params` when rewriting using `next`

* fix(routing): compute `APIContext.params` when rewriting using `next`
2024-09-19 13:57:47 +01:00
Matt Kane
83cc37d6fd chore: remove outdate config from test 2024-09-19 13:46:13 +01:00
Bjorn Lu
d3bd673392
Check route collision after getStaticPaths (#12028) 2024-09-19 20:43:01 +08:00
Bjorn Lu
40e7a1b05d
Lazily initialize the md and mdx processor (#12026) 2024-09-19 20:40:49 +08:00
François Violette
dd3b753aba
Add selected to the list of boolean attributes (#12027) 2024-09-19 19:51:26 +08:00
Uwe Jäger
9be3e1bba7
Remove dependency on path-to-regexp (#12001)
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-09-19 11:11:48 +02:00
Matt Kane
b0827022af Merge branch 'main' into next 2024-09-18 16:43:14 +01:00
Matt Kane
8d4eb95086 [ci] format 2024-09-18 14:16:40 +00:00
Matt Kane
53cb41e30e
fix: correctly handle head propagation in content layer deferred rendering (#12014)
* chore: run MDX tests against content layer

* Handle head propagation in deferred rendering

* Add changeset

* Update test
2024-09-18 15:15:51 +01:00
Houston (Bot)
8214114a90
[ci] release (#12002)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-18 00:21:35 +02:00
Matthew Phillips
dcd115892a
Make @astrojs/tailwind compat with Astro 5 (#12018) 2024-09-18 00:19:22 +02:00
Matthew Phillips
837ee3a4aa
Encode action result in cookie (#12016)
* Encode action result in cookie

* Add a changeset
2024-09-17 15:13:49 -04:00
Artem Zhirov
0b59fe74d5
Fix: prevent island re-rendering when using transition:persist (#11854) (#11915)
https://github.com/withastro/astro/issues/11854
2024-09-17 16:23:48 +02:00
Johannes Spohr
00ea675409 [ci] format 2024-09-17 14:12:42 +00:00