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
Matt Kane
bbf1d8894e
fix: handle requests for double slash in dev ( #12733 )
...
* fix: handle requests for double slash in dev
* Handle base
* Oops
* Snapshots
* Move redirect out of routing
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2025-01-16 12:40:49 +00:00
Matt Kane
2e12f1d752
fix: defer validation of reference entries ( #12990 )
2025-01-16 09:24:48 +00:00
Matt Kane
2d259cf4ab
fix: better handling of resync and restarts in content layer ( #12984 )
...
* fix: better handling of resync and restarts
* Always regenerate content layer on sync
* Formatting
2025-01-16 09:05:40 +00:00
Houston (Bot)
0968069aaf
[ci] release ( #12978 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-15 14:32:17 +08:00
Florian Lefebvre
1a026afb42
fix: 404 status in dev ( #12980 )
2025-01-14 17:58:07 +01:00
Louis Escher
ea603aec80
Add warnings if multiple JSX renderers are used ( #12887 )
...
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2025-01-14 11:52:51 +00:00
Braden Wong
c30070b927
fix: 404 and 500 route matching ( #12182 )
...
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2025-01-13 16:05:44 +00:00
Bjorn Lu
0ef1613ea3
Fix component render in markdoc when nodes.document.render
is null
( #12967 )
2025-01-13 23:59:56 +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
Florian Lefebvre
80067c032f
fix: load env earlier ( #12977 )
2025-01-13 16:09:44 +01:00
Chris Kanich
3aff68a419
Remove encryption of empty props to allow server island cacheability ( #12956 )
...
* tests for cacheable server islands with no props
* changeset
* allow server islands to omit encrypted props when they do not have any props
* prod and dev tests
2025-01-13 11:24:30 +00:00
Bjorn Lu
c7642fb80b
Remove custom optimizeDeps.include in react integration ( #12923 )
2025-01-13 10:36:10 +00:00
mtwilliams
57be3494e2
Fix i18n current locale ( #12839 )
...
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2025-01-10 15:32:58 +00:00
Matt Kane
d864e0991e
fix: delete old entry when frontmatter slug changed ( #12966 )
2025-01-10 15:12:52 +00:00
Matt Kane
4b7a2ce9e7
fix: check if content layer files have changed before writing ( #12962 )
2025-01-10 14:42:38 +00:00
enu
1f9571b2b9
Version transitions in CLI outputs ( #12739 )
...
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2025-01-10 15:03:32 +01:00
liruifengv
f00c2ddc31
fix(errors): fix error messages rendering incorrectly ( #12942 )
...
* fix(errors): fix error messages rendering incorrectly
* fix(errors): fix error messages rendering incorrectly
* add `@message` for jsdoc
* Create tame-hats-kiss.md
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2025-01-10 09:44:17 +00: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
Adam Chalemian
faf74af522
Improve Static Asset Generation Performance ( #12922 )
...
* fix(perf): do not `await` in `for` loop to enqueue asset transforms. Fixes #12845
* fix: avoid `queue.add()` during async for loop
* Update changeset
---------
Co-authored-by: Matt Kane <m@mk.gg>
2025-01-10 09:15:54 +00:00
Martin Trapp
db447f2816
Adds blocking and disabled attributes to the TypeScript definition of the HTML link element ( #12955 )
2025-01-10 06:04:33 +01:00
Bjorn Lu
51ab7b5722
Support checking react 19 components ( #12948 )
2025-01-10 10:17:46 +08:00
Matt Kane
3c2292f2f0
fix: explicitly set dev mode for data store ( #12947 )
...
* fix: explicitly set dev mode for data store
* Error handling
* Add check for file before saving
* rm unused import
* Use explicit command
* Ensure dir before writing
2025-01-09 16:10:04 +00:00
Bjorn Lu
a20a4d7b8f
Fix markdoc render code block in if tag ( #12930 )
2025-01-09 22:57:02 +08:00