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

9106 commits

Author SHA1 Message Date
Emanuele Stoppa
406a21fe46 [ci] format 2024-10-03 13:39:16 +00:00
Emanuele Stoppa
ea225585fd
fix(routing): incorrect assumption when loading the middleware () 2024-10-03 14:38:23 +01:00
lam eu ler
918953bd09
use shorthash for data url image to prevent ENAMETOOLONG ()
* use shorthash for filename of data url images

* add changeset

* add fixture to test processing of data url images

* run format

* update changeset

* fix test

* Update .changeset/dull-worms-own.md

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-10-03 10:54:01 +01:00
Matt Kane
fdba5f344f [ci] format 2024-10-03 08:21:59 +00:00
Matt Kane
d3a74da196
fix: handle immutable response object ()
* fix: handle immutable response object

* changeset
2024-10-03 09:21:11 +01:00
Sondre Aasemoen
fbe1bc51d8
feat(sitemap): add xslURL to enable styling ()
* feat(sitemap): add xslURL to enable styling

* Add test

* Update .changeset/proud-horses-cry.md

---------

Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-10-03 09:01:42 +01:00
Matt Kane
42037f33e6
fix: pass custom statusText in Response ()
* fix: pass custom statusText in Response

* Add changeset
2024-10-02 17:08:36 +01:00
Emanuele Stoppa
8f064fa5b9 fix changeset 2024-10-02 12:23:46 +01:00
Emanuele Stoppa
7febf1f6b5
feat(routing): decode pathname early, don't decode params ()
* feat(routing): decode pathname early

* linting

* Update packages/astro/src/core/fs/index.ts

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* address feedback

* Update .changeset/wet-foxes-walk.md

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* fix changeset

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-10-02 12:06:42 +01:00
Mark Jaquith
d49a537f2a
Use IE conditional comment placeholders for server island start markers ()
These placeholders are much less likely to be removed by HTML minifiers,
because they have traditionally been used to change the behavior of
site.
2024-10-01 15:58:14 -04:00
Matt Kane
a195629418 Merge branch 'main' into next 2024-10-01 16:06:44 +01:00
Matt Kane
11d447f66b
fix: defer check for schema references to content layer collections ()
* fix: defer check for schema references

* More comments
2024-10-01 16:05:45 +01:00
Houston (Bot)
ece03449e3
[ci] release (beta) ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-01 15:46:45 +02:00
Florian Lefebvre
2eb62d07b5 Merge branch 'main' into next 2024-10-01 15:39:00 +02:00
Houston (Bot)
f06feee7c4
[ci] release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-01 15:26:50 +02:00
Matt Kane
74ace467fc Format 2024-10-01 13:27:47 +01:00
Reuben Tier
76c5fbd6f3
Fix non-stable versions for astro add () 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 () 2024-09-30 19:21:06 +02:00
Florian Lefebvre
8679954bf6
feat(next): remove CCC ()
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-30 16:04:11 +02:00
Bjorn Lu
5b70610b0f
Update boxen to v8 () 2024-09-30 17:02:39 +08:00
renovate[bot]
928dc3111c
fix(deps): update all non-major dependencies ()
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 ()
* 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 ()
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 () 2024-09-26 14:59:39 +01:00
renovate[bot]
2594eb088d
fix(deps): update all non-major dependencies ()
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 () 2024-09-26 14:14:00 +01:00
Bjorn Lu
acf264d8c0
Replace ora with yocto-spinner () 2024-09-25 16:17:02 +01:00
Bjorn Lu
1720c5b1d2
Fix injected endpoint prerender detection () 2024-09-25 15:14:04 +01:00
Emanuele Stoppa
9693ad4ffa
fix: check origin in static build ()
* 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 ()
* 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 ()
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 ()
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-09-25 12:46:38 +01:00
Houston (Bot)
7968eabcfc
[ci] release (beta) ()
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 ()
* chore: changeset

* nit: better changeset

* chore: major
2024-09-24 10:12:51 +02:00
Houston (Bot)
7814a6cad1
[ci] release ()
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 ()
* 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 ()
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 () 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 ()
* 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 () 2024-09-20 10:32:52 +01:00
Emanuele Stoppa
5b3ddfadcb
fix(routing): call middleware when rendering 404.astro () 2024-09-20 10:12:05 +01:00
Erika
ddc3a08e8f
fix: handle trailing slash on the image endpoint ()
* 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 () 2024-09-19 14:41:22 +01:00
Matt Kane
10a756ad87
fix: treat images with initial slash as local, and resolve with vite ()
* fix: allow images with absolute path

* Add mroe tests

* changeset
2024-09-19 14:33:27 +01:00
Houston (Bot)
b4563f8542
[ci] release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-19 14:13:53 +01:00