0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-10 23:01:26 -05:00
Commit graph

4362 commits

Author SHA1 Message Date
Dani Fernández
1b5037bd77
Update netlify adapter to integrate includeFiles and excludeFiles options (#13194)
* feat: integrated includeFiles and excludeFiles on netlify adapter

* feat: added netlify include and exclude files tests

* feat: changelogs added

* fix: avoid problems with glob file url on windows

* feat: improved JS Docs to include examples and important information

* feat: removed non necessary root path as glob is already absolute

* Apply suggestions from code review

* Update packages/integrations/netlify/src/index.ts

Co-authored-by: Matt Kane <m@mk.gg>

* Update .changeset/ninety-clouds-judge.md

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

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
2025-02-12 14:08:38 +00:00
Houston (Bot)
ea9868d7fd
[ci] release (#13189)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-12 12:14:03 +00:00
Josh Kennedy
6bac644241
Fix:changes the paginate function to allow readonly array types (#13213)
* changes the paginate function to allow readonly array types

* Update paginate function to accept readonly arrays

---------

Co-authored-by: Matt Kane <m@mk.gg>
2025-02-12 11:44:43 +00:00
Matt Kane
8e5b89c5eb
chore: unpin vercel routing lib (#13224)
* chore: unpin vercel routing lib

* Lock

* Changeset
2025-02-12 11:42:36 +00:00
Josh Kennedy
fb3884074f
Fix: Adds clarity around output setting log statement (#13212)
* log to clarify buildOutput and output build command

* adds changelog

* labels log statement of what it is internally

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

* fix log

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2025-02-12 11:14:44 +00:00
Matt Kane
23094a1f48
fix: use shared helper for file extensions (#13223)
* fix: use shared helper for file extensions

* Lock
2025-02-12 10:34:32 +00:00
Emanuele Stoppa
9d5660223b
fix(i18n): bypass server island with base (#13205)
* fix(i18n): bypass server island with base

* Update packages/astro/src/core/routing/match.ts

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2025-02-10 16:34:40 +00:00
Emanuele Stoppa
7bc825649b
fix: error message text (#13188) 2025-02-07 15:23:56 +00:00
Houston (Bot)
817fe55389
[ci] release (#13135)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-04 16:19:08 +00:00
Sean Boult
ac4358052a
Tailwind v4 onboarding enhancements (#13119)
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2025-02-04 15:27:17 +01:00
Emanuele Stoppa
e76aa8391e
fix(routing): skip middleware for external redirects (#13133)
Co-authored-by: Matt Kane <m@mk.gg>
2025-02-04 12:36:51 +00:00
Houston (Bot)
f98e29d141
[ci] release (#13129)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-04 09:57:13 +00:00
Matt Kane
d60c74243f
fix: ignore trailing slash for endpoints with file extensions (#13131)
* fix: ignore trailing slash for endpoints with file extensions

* Fix test
2025-02-04 09:48:41 +00:00
Matt Kane
b71bd10989
fix: correct handling of collapsing slashes (#13130) 2025-02-04 09:44:01 +00:00
Hugo Nogueira
c497491cfe
chore(preact): upgrade @preact/preset-vite (#12950)
Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2025-02-03 10:07:56 +01:00
Houston (Bot)
7ccf950203
[ci] release (#13114)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-31 17:37:07 +00:00
Emanuele Stoppa
0fa5c82977
fix(i18n): server island request (#13112)
Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
2025-01-31 16:15:20 +00:00
unprintable123
3a26e45417
fix: correctly handle pathname for dynamic routing in rewrite (#13113) 2025-01-31 15:57:38 +00:00
Matt Kane
23978ddfe1
fix: remove special handling for injected endpoint slashes (#13111) 2025-01-31 14:57:18 +00:00
Houston (Bot)
6430aee5c7
[ci] release (#13108)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-31 12:31:39 +00:00
Matt Kane
187c4d3244
fix: exclude tailwind package when installing integration (#13106)
* fix: exclude tailwind package when installing integration

* Update .changeset/green-sloths-switch.md

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2025-01-31 10:32:14 +00:00
Houston (Bot)
3b10b97a4f
[ci] release (#13096)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-30 16:06:55 +00:00
Matt Kane
740eb6019f
fix: exclude Vite requests from trailing slash handling (#13095)
* fix: exclude Vite requests from trailing slash handling

* Add test

* remove extraneous config file

* Update changeset
2025-01-30 16:04:07 +00:00
Houston (Bot)
f6b7839411
[ci] release (#13086)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-30 11:21:41 +00:00
Thom van den Akker
037495d437
feat: content layer typings (#12666)
* Add additional typings for referenced content collection entries

* Add changeset

* Default typings to string for easier use

---------

Co-authored-by: Matt Kane <m@mk.gg>
2025-01-30 10:33:37 +00:00
Matt Kane
536175528d
feat: redirect trailing slashes on on-demand rendered pages (#12994)
Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com>
Co-authored-by: matthewp <361671+matthewp@users.noreply.github.com>
Co-authored-by: sarah11918 <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: bluwy <34116392+bluwy@users.noreply.github.com>
2025-01-29 11:54:15 +00:00
Emanuele Stoppa
e621712109
feat(routing): external redirects (#12979)
Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
Co-authored-by: sarah11918 <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: yanthomasdev <61414485+yanthomasdev@users.noreply.github.com>
2025-01-29 11:53:40 +00:00
Emanuele Stoppa
0f3be3104e
feat: new virtual module astro:config (#13084)
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
Co-authored-by: sarah11918 <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: yanthomasdev <61414485+yanthomasdev@users.noreply.github.com>
2025-01-29 11:53:04 +00:00
Florian Lefebvre
2ed4bd90f2
feat(tailwind): support v4 (#13049)
Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
2025-01-29 11:52:21 +00:00
Colin Bate
db252e0692
feat(markdown): add support for TOML frontmatter in Markdown files. (#12850) 2025-01-29 11:51:55 +00:00
Houston (Bot)
0879cc2ce7
[ci] release (#13056)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-27 11:46:43 +00:00
Matt Kane
e36837f914
fix: correctly handle multiple wildcard path aliases (#13059) 2025-01-24 12:53:35 +00:00
Arturo Silva
3c90d8f3e0
Adds experimental support for disabling streaming (#13036)
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
2025-01-24 11:34:16 +00:00
Matt Kane
1a14b53678
fix: correct broken import formatting (#13058) 2025-01-24 10:46:58 +00:00
mtwilliams
c7f1366413
Fix get relative locale (#13045)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2025-01-24 09:47:39 +00:00
Houston (Bot)
821d642753
[ci] release (#13027)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-23 16:15:26 +01:00
Louis Escher
8f520f1cc6
Improve errors for invalid IDs in content collections (#12892)
* Improve error handling for content collection entries where ID isn't a string

* Add passthrough to zod schema to still access other properties after validation

* Add new test for numbers as IDs, add changeset

* Update error for invalid IDs

* Update test for new error message

* Update .changeset/dry-dragons-shout.md

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

* Update errors-data.ts to (possibly) fix tests failing

* Update errors-data.ts

---------

Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: Matt Kane <m@mk.gg>
2025-01-22 21:05:36 +00:00
jasonlav
820eee334b
fix(alpinejs): start on DOMContentLoaded (#13014)
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2025-01-22 08:46:42 +01:00
Florian Lefebvre
f5765196e9
Revert "Revert "feat(server-islands): only encode ETAGO delimiter (#11513)"" (#13031) 2025-01-21 15:09:57 +01:00
Wren Etheredge
8911bdacab
Update for WAI-ARIA 1.2 (#12986)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2025-01-21 13:04:15 +00:00
Matt Kane
1d272f6a5a
fix: allow imports of Markdown files as raw text (#13026)
* fix: allow imports of Markdown files as raw text

* Switch to hasSpecialQueries

* Update test

* Update changeset
2025-01-21 12:24:11 +00:00
Houston (Bot)
0a0b1978a7
[ci] release (#12991)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-20 17:16:15 +00:00
Matt Kane
d06518246f
Revert "feat(server-islands): only encode ETAGO delimiter (#11513)" (#13013)
This reverts commit f64b73cb8a.
2025-01-20 17:06:16 +00:00
Jacob Groß
f64b73cb8a
feat(server-islands): only encode ETAGO delimiter (#11513)
Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2025-01-20 16:26:46 +01:00
Matt Kane
cf3088060d
fix: upgrade Vite and update tests (#13011)
* fix: upgrade Vite and update tests

* chore: remove cors header snapshot

* chore: upgrade Vitest

* chore: revert edit

* chore: changeset
2025-01-20 14:52:16 +00:00
Kynson Szetau
9ce0038021
fix: audit incorrectly flagging images as above the fold (#12993) (#12998)
* fix: audit incorrectly flag images as above the fold (#12993)

* chore: add changeset

* Add additional tests for perf audit
2025-01-20 09:59:41 +00:00
Bjorn Lu
429aa75475
Fix server islands for prerender-only sites (#12982) 2025-01-17 23:25:51 +08:00
Bjorn Lu
80c6801b4f
Remove react integration ssr.external config (#12996) 2025-01-17 21:50:09 +08:00
Matt Kane
627aec3f04
fix: do not inject env vars into non-source files (#13001) 2025-01-17 12:34:06 +00:00
Florian Lefebvre
78fd73a0df
fix: actions codegen types (#12995) 2025-01-16 18:34:28 +01:00