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
Emanuele Stoppa
673a518b01
fix(container): compiling error with pnpm ( #12934 )
2025-01-09 09:57:53 +00: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
oliverlynch
8e64bb727f
feat(assets): Store remote cached images in binary format ( #12926 )
...
* feat(assets): Store remote cached images in binary format
* test(core-image-ssg): Update 'has cache entries' test to support new cache format
* refactor(assets): destructure JSONData instead of casting
* chore: Add changeset, remove unused code
* test(core-image-ssg): Add 'writes remote image cache metadata' test
* Fix typo and improve grammar in changeset
---------
Co-authored-by: Matt Kane <m@mk.gg>
2025-01-09 07:16:41 +00:00
Emanuele Stoppa
30edb6d9d0
fix(routing): don't trigger get of headers ( #12937 )
...
* fix(routing): don't trigger get of headers
* remove bad copy-paste
2025-01-08 18:03:33 +00:00
Matt Kane
dbb04f3c04
fix: invalidate data store module when dev server starts ( #12938 )
...
* fix: invalidate data store module when dev server starts
* Check for dev
2025-01-08 16:52:35 +00:00
Florian Lefebvre
3caa337f0b
feat(underscore-redirects): update API to support new hook ( #12924 )
2025-01-08 15:23:42 +01:00
lam eu ler
fd12a26ac6
fix output path logging for build.format: preserve ( #12918 )
...
* fix output path logging for build.format: preserve
* add tests for output logging
* code format
2025-01-08 13:57:53 +00:00
Florian Lefebvre
0c0c66bf0d
feat: improve astro:env config error ( #12912 )
...
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
2025-01-08 14:29:01 +01:00
Matt Kane
44841fc281
fix: conditionally import image style ( #12925 )
...
* fix: conditionally import image style
* Use wrapper component for conditional style import
* changeset
* Add tests
* Fix tests
* Update markdoc tests
* Lint
2025-01-08 13:24:45 +00:00
Emanuele Stoppa
ad2a752662
fix(routing): multiple decoding ( #12927 )
2025-01-08 11:55:53 +00:00
Matt Kane
aeb7e1ac11
fix(mdx): don't import image component when no images are used ( #12921 )
...
* fix(mdx): don't import image component when no images are used
* Fix test
* Fix test
2025-01-07 17:07:33 +00:00
Bjorn Lu
8b9d530378
Process empty markdown body for remark/rehype plugins ( #12920 )
2025-01-07 23:05:01 +08:00
koyopro
2ffc0fcab7
fix: Reflect the configuration for esbuild ( #12676 )
2025-01-07 17:33:51 +08:00
Bjorn Lu
9a3b48c5c3
Make MDX integration check noop ( #12913 )
2025-01-07 17:30:38 +08: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
Florian Lefebvre
011fa0f00c
fix: do not generate a stub for content types ( #12909 )
2025-01-06 16:11:34 +01:00
Florian Lefebvre
dbf1275987
fix: pass server island route to astro:build:done routes ( #12907 )
2025-01-06 15:52:37 +01:00
Matt Kane
2d89492d73
fix: don't match all paths when returning empty array from getStaticPaths ( #12906 )
2025-01-06 11:49:39 +00:00
Florian Lefebvre
7fdbd4384d
fix(underscore-redirects): force type ( #12904 )
2025-01-06 11:04:50 +01:00
Eric Park
3acc65444c
fix: match index files only by using entire basename ( #12815 )
...
* fix: match index files only by using entire basename
The previous code would cause file names like `index.xml.ts` to be
treated as index files, when they aren't (the file basename excluding
the extension `.ts` is `index.xml`, and `index` should be the index
file). To match index files only, match the entire first half of the
basename when splitting by the last occurrence of the period/file
extension delimiter.
Pedantically this might not be correct -- i.e. some file extensions
actually span multiple delimiters, like index.tar.gz. But in that case
it's not an index file as well, so I think this is fine.
Fixes #12675
* Add changeset
2025-01-05 19:57:53 +00:00
Chris Kanich
fbac92f8bd
fix: clone session data on .set() ( #12883 )
...
* fix: clone session data on .set()
* weird race condition, +1 test for URL() thing
* cleanup
* ensure directory exists before using fs-lite sessions
* minor wording change
* alternate ensure-dir-exists implementation
* await session persistence before returning response
* update changeset
* formatting
* two changesets
2025-01-05 19:54:41 +00:00
Bjorn Lu
73a078835e
Fix sourcemap warning in server islands plugin ( #12877 )
2025-01-03 22:43:22 +08:00
Matt Kane
d7e97a775d
fix: add render() to stub content type defs ( #12884 )
...
* fix: add render() to stub content type defs
* Better wording
2025-01-03 12:01:33 +00:00