Ming-jun Lu
c9cf8a93fb
chore: migrate static-build-code-component.test.js
to node:test
( #10045 )
2024-02-08 11:18:51 +01:00
Ming-jun Lu
40c95b4436
chore: migrate static-build-dir.test.js
to node:test
( #10046 )
2024-02-08 11:18:37 +01:00
Ming-jun Lu
0c246cc6dd
chore: migrate static-build-frameworks.test.js
to node:test
( #10047 )
2024-02-08 11:18:10 +01:00
Ming-jun Lu
4e506e0659
chore: migrate static-build-page-dist-url.test.js
to node:test
( #10048 )
2024-02-08 11:17:43 +01:00
Ming-jun Lu
2bff75282a
chore: migrate static-build-page-url-format.test.js
to node:test
( #10049 )
2024-02-08 11:17:10 +01:00
Ming-jun Lu
322b2b6c72
chore: migrate static-build-vite-plugins.test.js
to node:test
( #10050 )
2024-02-08 11:16:53 +01:00
Ming-jun Lu
aef8730f65
chore: migrate static-build.test.js
to node:test
( #10051 )
2024-02-08 11:16:29 +01:00
ktym4a
92b6eb0ac2
chore: Migrate custom-404-html.test.js
to node:test
( #10025 )
2024-02-08 11:14:48 +01:00
voxel!()
15b9e5a8c5
chore: Migrate astro-markdown-shiki.test.js
to node:test
( #10023 )
2024-02-08 11:13:54 +01:00
voxel!()
7f0e5026e3
chore: Migrate astro-markdown-remarkRehype.test.js
to node:test
( #10021 )
...
* migrate test
* remove old test
2024-02-08 11:12:59 +01:00
voxel!()
b05e6ac26a
chore: Migrate astro-markdown-plugins.test.js
to node:test
( #10020 )
...
* migrate test
* remove old test
* Update packages/astro/test/astro-markdown-plugins.nodetest.js
* Update packages/astro/test/astro-markdown-plugins.nodetest.js
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-02-08 11:11:56 +01:00
voxel!()
191fd39708
chore: Migrate astro-markdown-frontmatter-injection.test.js
to node:test
( #10019 )
...
* Add astro-markdown-frontmatter-injection.nodetest.js
* remove comment
* remove old test
2024-02-08 11:10:00 +01:00
Erika
14ce8a6ebf
feat(markdoc): Add support for using a custom component for images ( #9958 )
...
* feat(markdoc): Add support for using a custom component for images
* chore: changeset
* test: add test
* Update .changeset/shaggy-spies-sit.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-08 07:54:40 +01:00
ktym4a
8fb67c81bb
Change view transitions rule ( #9991 )
...
* WIP: change view transitions rule
* Apply suggestions from code review
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
* add changeset
* Apply suggestions from code review
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
---------
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
2024-02-07 23:49:10 +01:00
Houston (Bot)
ef00224a86
[ci] release ( #10018 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-07 23:55:29 +05:30
Arsh
3fc76efb2a
fix(astro:content): include required type declarations ( #10022 )
...
* include types/content.d.ts
* add changeset
* Update .changeset/cool-walls-fail.md
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-02-07 23:48:09 +05:30
StandardGage
20ca3154fb
Fix Issues with passing void elements to React with experimentalReactChildren
flag set ( #9849 )
...
* Create simple react element if element has no children
* Fix for when element has text
* add changeset
* minor -> patch
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-02-07 23:38:44 +05:30
Arsh
9836dddf82
[ci] format
2024-02-07 16:10:36 +00:00
Arsh
0699f34d5c
feat(vercel): middleware verification ( #9987 )
...
* feat(vercel): verification for edge middleware
* add changeset
* Apply suggestions from code review
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-02-07 21:39:39 +05:30
Emanuele Stoppa
9ef79173a6
chore: move i18n routing tests ( #10002 )
...
* chore: move i18n routing tests
* change some test
* ignore nodetest files
* let's try now
* rebase
2024-02-07 15:36:46 +00:00
Emanuele Stoppa
037e4f12dd
fix(i18n): don't consider URLs that start with the name of the defaut locale ( #10016 )
2024-02-07 14:42:51 +00:00
Houston (Bot)
fa9218e836
[ci] release ( #10014 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-07 15:38:45 +01:00
Chris Swithinbank
e6b5306a7d
Move astro:content
types declaration to manual ambient module ( #10013 )
...
* Move `astro:content` types declaration to manual ambient module
* Add changeset
---------
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-02-07 13:58:11 +00:00
Arsh
b07a3846f5
[ci] format
2024-02-07 13:37:44 +00:00
Arsh
e2fe51c828
feat(vercel): ISR ( #9714 )
...
* feat(vercel): isr
* bypass token
* exclusion of certain paths
* add test
* remove search params in dev mode
* Apply suggestions from code review
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Apply suggestions from code review
* Apply suggestions from code review
* fix missing await
* escape src for regex
* cleanup
* revalidate -> expiration
* update type docs
* always exclude /_image
* add changeset
* Apply suggestions from code review
* always create serverless function for /_image
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Apply suggestions from code review
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-02-07 19:06:37 +05:30
Markus Krogemann
88628a4f9e
Fix small typo in astro.ts ( #10008 )
2024-02-07 20:45:22 +08:00
Bjorn Lu
7596f0cd3b
[ci] format
2024-02-07 12:44:35 +00:00
Bjorn Lu
436841e97e
Use eslint-plugin-regexp ( #9993 )
2024-02-07 20:43:19 +08:00
Ben Holmes
ce4283331f
Fix: support strict()
on content collection schemas when slug
is present ( #10003 )
...
* fix: use correct data object when parsing schema
* feat(test): add `strict()` to slug schema test
* chore: changeset
* docs: "Adds support for"
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
---------
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2024-02-07 07:26:16 -05:00
Bjorn Lu
6eab46b84b
Fix bundle size script external for dev toolbar ( #9994 )
2024-02-07 17:52:14 +08:00
Houston (Bot)
e4999083bf
[ci] release ( #9973 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-06 16:28:12 +00:00
Emanuele Stoppa
18ac0940ea
fix(i18n): fix regression in current locale ( #9998 )
...
* fix(i18n): fix regression in current locale
* Update .changeset/shy-wolves-ring.md
* Update packages/astro/test/i18n-routing.test.js
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* Update .changeset/six-fishes-beg.md
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* fix test case
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-02-06 16:13:15 +00:00
Happydev
c53a31321a
Revert "fix(compiler): Support dynamic slot names ( #9605 )" ( #9999 )
...
* Revert "fix(compiler): Support dynamic slot names (#9605 )"
This reverts commit 8ce40a417c
.
* chore: changeset
* Update .changeset/weak-pans-sit.md
* chore: bump compiler version
* fix failing test
We were expecting the source code to produce an error, but in
2.4.0 of the compiler, that generates valid code
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-02-06 16:44:02 +01:00
Matthew Phillips
56db6ae246
[ci] format
2024-02-06 14:57:32 +00:00
Matthew Phillips
81acac24a3
Fix HMR in MDX deps in Content Collections ( #9956 )
...
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-02-06 22:56:22 +08:00
Simon He
6e30bef652
chore: typo ( #9988 )
2024-02-06 17:28:15 +08:00
Bjorn Lu
44c72a4f6f
Fix flaky streaming test ( #9985 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-02-05 12:27:49 -06:00
Florian Lefebvre
1352f06838
[ci] format
2024-02-05 17:54:17 +00:00
Florian Lefebvre
3c0876cbed
feat(astro): improve astro:content
types ( #9906 )
...
* feat: improve stro:content types
* fix: do not change tsconfig
* "astro/zod" -> "zod"
* `CollectionConfig` parameter extends `BaseSchema`
* fix: update import to zod
* feat: add fallbacks for every export
* Update .changeset/young-bulldogs-tickle.md
---------
Co-authored-by: lilnasy <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-02-05 11:53:18 -06:00
Alan Alickovic
5eb0597437
fix typo ( #9964 )
2024-02-05 21:02:50 +08:00
ktym4a
91197be618
Remove the same CSS properties ( #9962 )
2024-02-05 21:02:15 +08:00
Florian Lefebvre
b3b9f280c5
fix(rss): use node assert instead of chai ( #9980 )
2024-02-05 10:13:54 +01:00
voxel!()
19df112cf7
[ci] format
2024-02-04 19:59:55 +00:00
voxel!()
4260ecf1ff
chore(@astrojs/rss
): Migrate tests to node:test
( #9939 )
...
* Progressively add new tests (remove old later)
* Finalize tests
* Remove unused comments
* Assert that errors are not present and add jsdocs to util function
* Fix
* Remove mocha deps
2024-02-04 19:58:44 +00:00
Marco Campos
8b8f26fdf2
FIX: allow rss feeds to have an enclosure with length of 0 ( #9967 )
...
* fix: allow rss feeds to have an enclosure with length of 0
* chore: add changeset
* fix: typo on test
* fix: update changeset description
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-04 20:42:26 +01:00
Houston (Bot)
57ab98f531
[ci] release ( #9948 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-02 15:59:15 -05:00
Matthew Phillips
bc1742df94
Revert "Provide better ignores for Vercel's file tracer ( #9885 )" ( #9955 )
...
* Revert "Provide better ignores for Vercel's file tracer (#9885 )"
This reverts commit 49e0c24d7f
.
* Changeset
2024-02-02 15:43:30 -05:00
ktym4a
6c894af5ab
Fix: 404.html load correctly on preview ( #9907 )
...
* Move vite 404 middleware
* Add custom 404.html rendering test for preview routing
* add a changest
* add TODO comment
2024-02-02 22:28:08 +05:30
ktym4a
cd67dd0a4f
Add new test cases for non-UTF-8 and space file names ( #9947 )
2024-02-02 13:40:39 +00:00
Emanuele Stoppa
9f0d89fa7e
fix: don't log warning if i18nDomains
isn't enabled ( #9932 )
...
* fix: don't log warning if isn't enabled
* fix regression
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-02-02 13:40:00 +00:00