Bjorn Lu
3c73441eb2
Fix Astro HMR style-only change detection ( #10139 )
2024-02-19 21:56:13 +08:00
Abid
43f87467c6
Implement test using using assert.fail and assert to check ENOENT. ( #10156 )
2024-02-19 09:36:53 +00:00
Reuben Tier
0c2ab5b155
Fix docs markdown link ( #10155 )
2024-02-18 20:41:18 +00:00
Emanuele Stoppa
ddf0f924b5
chore: move nodetest.js
to test.js
( #10142 )
...
* chore: move `nodetest.js` to `test.js`
* chore: move `nodetest.js` to `test.js`
* remove script
2024-02-16 16:20:49 +00:00
Emanuele Stoppa
2351c5e5de
chore: fix failing tests and skip some ( #10141 )
2024-02-16 14:02:18 +00:00
Bjorn Lu
41a6baa080
Update Vite ws property to hot ( #10138 )
2024-02-16 21:15:46 +08:00
ktym4a
5ff288f61b
chore: Change strictEqual
to equal
( #10140 )
2024-02-16 11:41:16 +00:00
Ming-jun Lu
7bdcfb750a
chore: migrate several tests to node:test
( #10133 )
...
* chore: migrate test files whose names start with `a` to `node:test`
* update assertion
* chore: remove mocha script
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-15 17:58:17 +00:00
ktym4a
4b62bfbe76
chore: move test to node ( #10134 )
2024-02-15 16:04:54 +00:00
Bjorn Lu
1da9c5f2f3
Remove server-destroy dependency ( #10132 )
2024-02-15 22:59:03 +08:00
Mohamed
1f598b3724
fix(cli): load polyfill before loading config during astro add
( #10105 )
...
* Adds crypto import to Vercel adapter
* Update the 'crypto' import to 'node:crypto'
* load polyfills before loading config
* add changeset
* load polyfills for `astro info`, `astro preferences` etc
* update changeset
* clarify impact
---------
Co-authored-by: lilnasy <69170106+lilnasy@users.noreply.github.com>
2024-02-15 07:42:03 -07:00
Emanuele Stoppa
4f6b0def42
chore: move tests that starts with i and j ( #10129 )
...
* chore: move tests that starts with i and j
* add missing `after`
2024-02-15 14:11:52 +00:00
Yan Thomas
d278e66ec6
Remove unhelpful message in errors-data.ts
( #10128 )
2024-02-15 14:33:56 +01:00
ktym4a
f134358bcf
chore: move test to node ( #10125 )
...
* chore: move test to node
* `strictEqual` to `strict`
2024-02-15 12:49:28 +00:00
Emanuele Stoppa
9eb37a31a7
chore: move tests to node ( #10127 )
...
* chore: move tests to node
* revert
* skip one test for now
2024-02-15 12:22:53 +00:00
Emanuele Stoppa
e845fb2eaa
chore: move tests to node ( #10123 )
...
* chore: move tests to node
* fix
2024-02-15 11:51:12 +00:00
Houston (Bot)
141f2fb757
[ci] release ( #10109 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-15 12:00:03 +01:00
Marawan Mohamed
40a2e03ffb
chore: move tests to node ( #10115 )
2024-02-15 10:27:05 +00:00
Atharva
0f3d4ae30b
[ci] format
2024-02-15 09:55:44 +00:00
Atharva
8701cfee23
chore: move css-
related tests to node:test
( #10114 )
2024-02-15 09:54:45 +00:00
Oliver Speir
b386d2d7ae
[ci] format
2024-02-15 09:25:15 +00:00
Oliver Speir
91f75afbc6
Add inferSize
to getImage so width and height are optional for remote images ( #9976 )
...
* add remote image dimension probing, and param for getImage options, and new astro error
* add inferSize parameter to getImage, which probes remote image size, and respective types to picture and image component
* add fixture and tests
* add changeset
* attempt to fix pnpm-lock.yaml
* fix pnpm-lock.yaml again
* pnpm-lock spacing
* fix pnpm-lock AGAIN
* better description of error for docgen
* improve failed to probe error message and correct required dimensions error
* increase timeout for mdx tests
* increasing mdx timeout to 2min to see if it passes, will reduce if it does
* setting mdx timeout to 70 seconds
* Update packages/astro/src/assets/services/service.ts
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
* refactor to move logic to getImage instead of validateOptions and to not add a third type to image and picture
* fix broken link created by docs PR
* remove the probe-image-size library due to its use of node APIs
* undo all changes to service.ts that were left after moving inferSize logic to getImage
* update error message
* remove probe-image-size library all together, update error message, add vendored version of complete image-size library instead of refactored version
* Update .changeset/tame-cameras-change.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/tame-cameras-change.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* reword the error message based on Sarah's previous review
* remove probe-image-size from pnpmlock
* fix lockfile?
* update error message name
* move image-size into vendor folder
* add eslint ignore to a line in image-size
* test if change to mdx test timeout was needed
* Update .changeset/tame-cameras-change.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* update changset syntax
* patch parse heif to account for filetype block being out of order
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-15 10:24:03 +01:00
Bjorn Lu
787e6f5247
Update to Vite 5.1 ( #10120 )
2024-02-15 17:20:38 +08:00
Arsh
e9cedf0bbc
[ci] format
2024-02-14 22:28:51 +00:00
Arsh
4bcc249a9f
fix(dev): preload matched routes sequentially ( #10116 )
...
* fix(dev): preload matched routes sequentially
* add changeset
2024-02-14 17:27:53 -05:00
Hippo
51b6ff7403
Fix invalid URLs being returned from getRegistry
, synchronize all copies ( #10117 )
2024-02-14 17:27:18 -05:00
Emanuele Stoppa
ef080d5b93
chore: move tests to node ( #10113 )
...
* chore: move tests to node
* forgot to rename it
* Update packages/astro/test/solid-component.nodetest.js
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
* test hanging, let's skip it
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-02-14 17:09:30 +00:00
Erika
476b79a611
Rename Astro app to astro:home ( #10112 )
...
* Rename Astro app to astro:home
* Create silent-hotels-approve.md
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-14 16:37:37 +01:00
Matthew Phillips
e34eeb146e
[ci] format
2024-02-14 15:15:02 +00:00
Matthew Phillips
d469bebd7b
Improve Node.js performance using an AsyncIterable ( #9614 )
...
* Improve Node.js performance using an AsyncIterable
* Oops
* Get rid of extra abstraction
* Update .changeset/hip-cherries-behave.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Check if already resolved
* Resolve on done
* Get rid of unneeded "done"
* Done when length is zero
* Let errors resolve
* Update packages/astro/src/runtime/server/render/astro/render.ts
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Move doctype to top-level
* Document the new function
* Update .changeset/hip-cherries-behave.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Update .changeset/hip-cherries-behave.md
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-14 10:14:05 -05:00
Emanuele Stoppa
8c14143d06
chore: move tests to node ( #10111 )
2024-02-14 14:11:19 +00:00
Martin Trapp
50da330a95
[ci] format
2024-02-14 14:08:36 +00:00
Martin Trapp
b340f8fe3a
Re-encode view-transition-names ( #10099 )
...
* Fixes an issue with view transition names containing spaces or punctuation.
* reworked, more robust approach
* better readability and also escapes the escape character (_)
* update changeset
* add comemnts to describe the re-encoding
* updated changeset
* typos
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* simplify decoding it ever required.
* better coverage and now also checks animation behavior
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-14 14:07:31 +00:00
Erika
7443929381
feat(audits): Add UI with list of audits ( #10074 )
...
* feat(audits): Add UI with list of audits
* style: slightly better UI
* requested design changes
* chore: changeset
* add test
* remove unwanted file
2024-02-14 14:46:36 +01:00
Erika
31de1ea8b8
[ci] format
2024-02-14 13:02:54 +00:00
Erika
6884b103c8
feat(audits): Add initial perf audits ( #10015 )
...
* feat(audits): Add initial perf audits
* feat(audits): Setup dev astro-island
* fix(audits): Don't take scroll into account when getting an element's position
* nit: lint
* Fix tests
* chore: changeset
* maybe: Move this.hydrator outside the perf check
* Update packages/astro/e2e/dev-toolbar.test.js
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* address feedback
* address feedback
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-02-14 14:01:53 +01:00
Atharva
f9aebe74a1
[ci] format
2024-02-14 10:52:08 +00:00
Atharva
f7f20069c3
chore: migrate alias
tests to node:test
( #10108 )
2024-02-14 10:51:03 +00:00
Ben Holmes
748b2e87cd
Refine content collection warnings ( #10001 )
...
* feat: remove nonexistent collection warning
* fix: remove markdown syntax from console.warn
* fix: respect configured collections in types when dir is missing
* chore: changeset
* chore: revert test schema
* docs: "Removes"
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
---------
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2024-02-14 10:09:31 +00:00
Luiz Ferraz
5759fd9947
[ci] format
2024-02-14 10:07:40 +00:00
Luiz Ferraz
227cd83a51
Fixes regression on routing priority for multi-layer index pages ( #10096 )
...
* Reproduce regression
* Simplify sorting algorithm
* Add changeset
* Fix changeset typo
* Rename assertion utility function
* Fix index detection
* Add changeset for index fix
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-14 10:06:38 +00:00
Houston (Bot)
e24db1d8a6
[ci] release ( #10092 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-13 14:25:59 -07:00
Arsh
d851387a2d
[ci] format
2024-02-13 17:29:30 +00:00
Arsh
71273edbb4
qol(islands): improve hydration errors ( #10075 )
...
* improve error messages for island hydration
* add changeset
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-02-13 10:28:28 -07:00
YS.Y
73bd900754
Fixes audit when multiple role
values exist. ( #9857 )
...
* fix: Fixing the issue of errors caused by multiple values in the role, when multiple roles exist, check each role.
fix #9856
* Update .changeset/eight-flowers-remain.md
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-02-13 11:27:33 -06:00
Mohamed
2168635a6f
chore: Migrate some astro-*.test.js
to node:test
( #10078 )
...
* chore: Migrate some astro-*.test.js to node:test
* revert astro-dev-headers and astro-client-only
* replace strictEqual with equal in astro-class-list
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-13 15:51:48 +00:00
Emanuele Stoppa
f13d897002
chore: remove some weird stuff ( #10103 )
2024-02-13 15:51:26 +00:00
Emanuele Stoppa
11639b120d
chore: fix test that was failing ( #10101 )
...
* chore: fix test that was failing
* change assertion
2024-02-13 15:28:38 +00:00
Atharva
b742646d4e
[ci] format
2024-02-13 14:43:52 +00:00
Atharva
3387f75c99
chore: Migrate content-collection-**.test.js
to node:test
( #10098 )
...
* test: move to node:test
* test: move content-collections-render to node:test
* chore: bring back isWindows
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-13 14:42:55 +00:00
Shoaib Khan
3007d24c98
chore: Migrate all packages/create-astro/test
to node:test ( #10084 )
...
* chore: Migrate All packages/create-astro/test to node:test
* Some minor fix
* Requested Changes done
* Reopen
* Apply suggestions from code review
* let's test with concurrency
* chore: fix possible false positive tests
* todo test
* skip tests
* Apply suggestions from code review
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-13 14:41:59 +00:00
Bjorn Lu
bd877d389a
Fix mocha run ( #10100 )
2024-02-13 22:25:30 +08:00
Ming-jun Lu
bcd9202228
[ci] format
2024-02-13 13:24:10 +00:00
Ming-jun Lu
37c75108e7
chore(@astrojs/vercel): migrate tests to node:test
( #10010 )
...
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-13 13:23:07 +00:00
Emanuele Stoppa
a326124f5a
test: move unit tests to use node:test ( #10090 )
...
* test: move some unit tests to use node:test
* add `before`
* address feedback
* remove mocha command
* fix test
2024-02-13 12:19:06 +00:00
Florian Lefebvre
2ffc5721bc
fix(vercel): trailing slash conflict ( #10082 )
2024-02-13 11:36:22 +00:00
Ming-jun Lu
77e784d6aa
[ci] format
2024-02-13 11:29:20 +00:00
Ming-jun Lu
d9266c4467
Fix an issue where ReadableStream wasn't canceled in dev mode ( #9971 )
...
* Fix an issue where ReadableStream wasn't canceled in dev mode
* Add changeset
* add test
---------
Co-authored-by: lilnasy <69170106+lilnasy@users.noreply.github.com>
2024-02-13 11:28:14 +00:00
Emanuele Stoppa
bedb3b0930
test: mocha should ignore nodetest.js
files during unit testing ( #10093 )
2024-02-12 15:51:03 +00:00
Arsh
071c329f25
[ci] format
2024-02-12 15:26:57 +00:00
Arsh
8106178043
qol(routing): improve endpoint error message ( #10072 )
...
* Clarify error messages in endpoint routing.
* add changeset
2024-02-12 20:55:46 +05:30
Houston (Bot)
7371e1b5fc
[ci] release ( #10029 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-12 14:25:50 +00:00
Mohamed
1b528d2e50
chore: Migrate some astro-*.test.js
to node:test
( #10085 )
...
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-12 14:09:45 +00:00
Marawan Mohamed
dac759798c
Fix and update shikiji core ( #10063 )
...
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-12 21:26:25 +08:00
Emanuele Stoppa
09a6273fe2
test: mocha should ignore *.nodetest.js
files ( #10088 )
2024-02-12 13:03:22 +00:00
Shoaib Khan
2dbb6a3e08
chore: Migrate All packages/markdown/remark/tests
to node:test ( #10083 )
...
* chore: Migrate All packages/markdown/remark/tests to node:test
* Some minor fixes
2024-02-12 12:25:29 +00:00
Atharva
b2a6ee5c81
[ci] format
2024-02-12 12:22:56 +00:00
Atharva
116cfb63e3
chore: migrate vue related tests to node:test
( #10061 )
...
* chore: migarte slots-vue.testjs to node
* chore: migrate vue-**.test.js to node:test
* fix: add missing imports, remove expect script
2024-02-12 12:21:47 +00:00
Mohamed
2a70113f7e
chore: Migrate ssr-*.test.js
to node:test
( #10053 )
...
* chore: Migrate ssr-*.test.js to node:test
* revert Production function in ssr-error-pages
* revert ssr-error-pages.test.js
* fix: add missing path at ssr-split-manifest
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-12 12:20:34 +00:00
Emanuele Stoppa
8f37cf72cb
test: move some unit tests to use node:test ( #10070 )
2024-02-09 15:46:03 +00:00
Arsh
0b5685a70f
[ci] format
2024-02-09 15:23:05 +00:00
Arsh
1810309e65
fix(integration api): improve module resolution ( #10060 )
...
* fix(integration api): improve module resolution
* add changeset
2024-02-09 08:22:04 -07:00
Emanuele Stoppa
989ea63bb2
fix(i18n): regression where emitted URLs had //
( #10067 )
...
* fix(i18n): regression
* fix(i18n): regression
* fix bug regression
* remove double changeset
2024-02-09 14:58:09 +00:00
Mohamed
30acdcbb0d
chore: Migrate error-build-location.test.js to node:test ( #10038 )
...
* chore: Migrate error-build-location.test.js to node:test
* fix: remove unnecessary line
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-02-08 14:18:58 +01:00
ktym4a
c002236523
chore: Migrate custom-404-static.test.js
to node:test
( #10035 )
2024-02-08 14:17:57 +01:00
ktym4a
eaf2fb6a71
[ci] format
2024-02-08 10:30:29 +00:00
ktym4a
ccb08ea7c8
chore: Migrate custom-404-implicit-rerouting.test.js
to node:test
( #10026 )
2024-02-08 11:26:03 +01:00
voxel!()
a941de1d6d
chore: Migrate ssr-markdown.test.js
to node:test
( #10027 )
2024-02-08 11:25:48 +01:00
voxel!()
3d32724003
chore: Migrate astro-markdown-url.test.js
to node:test
( #10028 )
2024-02-08 11:25:35 +01:00
voxel!()
d67a23a3f0
chore: Migrate astro-markdown.test.js
to node:test
( #10031 )
2024-02-08 11:25:14 +01:00
voxel!()
8555c2e3c7
chore: Migrate markdown.test.js
to node:test
( #10032 )
2024-02-08 11:23:56 +01:00
ktym4a
ec0ac4a840
chore: Migrate custom-404-injected-from-dep.test.js
to node:test
( #10033 )
2024-02-08 11:23:27 +01:00
ktym4a
3cc04fd3ec
chore: Migrate custom-404-injected.test.js
to node:test
( #10034 )
2024-02-08 11:23:12 +01:00
ktym4a
283a822121
chore: Migrate custom-404-md.test.js
to node:test
( #10036 )
2024-02-08 11:22:54 +01:00
Mohamed
a6b62254e4
chore: Migrate error-bad-js.test.js to node:test ( #10037 )
2024-02-08 11:22:40 +01:00
Mohamed
98e5f2202f
chore: Migrate error-non-error.test.js to node:test ( #10039 )
2024-02-08 11:21:53 +01:00
Mohamed
9e3487e13c
chore: Migrate html-component.test.js
to node:test
( #10040 )
2024-02-08 11:21:38 +01:00
Mohamed
d65332af89
chore: Migrate html-escape-complex.test.js
tonode:test
( #10041 )
2024-02-08 11:21:21 +01:00
Mohamed
3c0e2c728e
chore: Migrate html-escape.test.js
to node:test
( #10042 )
2024-02-08 11:21:03 +01:00
Mohamed
aa7680e75e
[ci] format
2024-02-08 10:20:36 +00:00
Mohamed
372c34b84b
chore: Migrate html-page.test.js
to node:test
( #10043 )
2024-02-08 11:19:33 +01:00
Mohamed
648e714e3e
chore: Migrate html-slots.test.js
to node:test
( #10044 )
2024-02-08 11:19:16 +01:00
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
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
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
Atharva
a79db060b7
chore(@astrojs/underscore-redirects
): use Node.js for testing ( #9923 )
...
* chore: migrate underscore-redirects tests to node
* fix: remove chai/mocha devDependencies
* Update packages/underscore-redirects/package.json
* update lockfile
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-02 11:38:17 +00:00
Mohamed
8578159194
[ci] format
2024-02-02 11:18:39 +00:00
Mohamed
f4c2ba870e
chore(@astrojs/integrations/lit): use Node.js for testing ( #9944 )
2024-02-02 11:17:32 +00:00
voxel!()
587b373009
[ci] format
2024-02-02 11:16:26 +00:00
voxel!()
c1a3e80dfe
chore(telemetry): Migrate tests to node:test
( #9886 )
...
* Migrate Telemetry tests to node:test
* Remove fallback to chai
* Remove chai and mocha dependencies
* Fix trailing comma
* Fix pnpm-lock.yaml desync
* Add back old tests with progression
* Remove mocha tests again
* Remove trailing comma
2024-02-02 11:15:29 +00:00
Houston (Bot)
2ac371404d
[ci] release ( #9926 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-01 17:15:45 -05:00
ktym4a
b176825b34
fix: route matching for encoded pathnames ( #9934 )
...
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2024-02-01 17:08:05 -05:00
Nate Moore
9d2fdb293d
Improve astro sync
error handling ( #9888 )
...
* fix(#9711 ): improve `astro sync` error handling
* Update .changeset/healthy-jokes-deny.md
* update unit tests
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-02-01 16:59:14 -05:00
Arsh
756f9595e7
[ci] format
2024-02-01 21:49:11 +00:00
Arsh
1568afb78a
fix(middleware): load while retrieving ssr manifest for prerendering ( #9938 )
...
* fix(middleware): load while retrieving ssr manifest for prerendering
* add test
* add changeset
2024-02-01 16:46:42 -05:00
Fred K. Schott
055bd27d9d
[ci] format
2024-02-01 21:26:08 +00:00
Fred K. Schott
5d08a69f83
fix semver check ( #9937 )
2024-02-01 16:25:11 -05:00
Arsh
4467441896
fix(NodeApp): fix responses with null bodies never completing ( #9931 )
...
* fix(NodeApp): fix responses with null bodies never completing
* add changeset
* add test
* chore(tests): restore correct assertions
* adjust incorrect test
* added Astro.redirect and Response.redirect test cases
* updated incorrect HTTP status
* adjust api-routes.test.js after cherry-pick
* bup markdoc test timeout
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Friedemann Sommer <friedemannsommer@users.noreply.github.com>
2024-02-01 16:24:21 -05:00
Sarah Rainsberger
b956149b28
[docs] update typo in error message ( #9929 )
2024-02-01 12:39:30 -04:00
Chris Swithinbank
7e2c2c52f9
Fix indentation formatting in types JSDoc ( #9927 )
2024-02-01 16:51:29 +01:00
Kristian Binau
27ea080e24
fix: use publicDir & base for 'include your base in url' error message ( #9841 )
...
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-02-01 23:13:58 +08:00
Larry Ivan Villegas Costas
d52529e094
Add a name property for DetailsHTMLAttributes ( #9918 )
...
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-01 23:02:47 +08:00
Luiz Ferraz
54dbaebf50
fix(docs): Fix import in changelog example ( #9924 )
2024-02-01 13:58:32 +00:00
Emanuele Stoppa
8fb9624b08
fix(docs): add missing variant ( #9922 )
2024-02-01 11:29:37 +00:00
Emanuele Stoppa
b31a46673e
chore: fix alignment docs ( #9920 )
...
* chore: fix alignment docs
* apply Sarah suggestion
2024-02-01 10:29:07 +00:00
Houston (Bot)
2561c99598
[ci] release ( #9904 )
...
* [ci] release
* Update packages/astro/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/integrations/vercel/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-02-01 10:04:19 +00:00
Arsh
d702d6ae50
[ci] format
2024-02-01 07:03:42 +00:00
Arsh
2f6d1faa6f
fix(NodeApp): end with "Internal server error" on mid-stream error ( #9908 )
...
* fix(NodeApp): end with "Internal server error" on mid-stream error
* add changeset
* add test
* Apply suggestions from code review
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-02-01 07:02:40 +00:00
Nate Moore
aaedb848b1
Silently ignore adapters that don't export start()
( #9911 )
2024-01-31 13:51:56 -06:00
Matthew Phillips
520be8b113
[ci] format
2024-01-31 15:31:41 +00:00
Matthew Phillips
49e0c24d7f
Provide better ignores for Vercel's file tracer ( #9885 )
...
* Provide better ignores for Vercel's file tracer
* Improve the changeset
2024-01-31 10:30:35 -05:00
Fabian Kachlock
7be5f94dcf
fix: content types reference to config on windows ( #9877 )
...
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-31 23:28:23 +08:00
Atharva
38e40f1cc2
chore(@astrojs/vue
): use Node.js for testing ( #9901 )
...
* chore: migrate vue tests to node
* chore: prune chai/mocha from package-lock
2024-01-31 14:58:44 +00:00
Matthew Phillips
694fd86739
[ci] format
2024-01-31 14:40:19 +00:00
Matthew Phillips
fad4f64aa1
Implements build.format: 'preserve' ( #9764 )
...
* Implements build.format: 'preserve'
* Restructure test
* Add a test for base
* Update .changeset/tame-flies-confess.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Add trailing slash + i18n testing
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/tame-flies-confess.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* tiny punctuation/conjunction nit fixes
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-31 14:39:20 +00:00
Oliver Speir
84c100dd33
[ci] format
2024-01-31 14:00:11 +00:00
Oliver Speir
d4b886141b
Allow images in content collections folder to be used without relative import prefix ( #9755 )
...
* adds the ./ prefix to the import statement for user
* remove accidental new line added
* add tests
* add changeset
* Update young-eyes-film.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-31 13:59:06 +00:00
Bjorn Lu
7d937c1589
Add CLI shortcuts ( #9159 )
...
* Add CLI shortcuts
* Update changeset
* Remove server urls shortcut
* feat: improve CLI shortcut formatting
* chore: remove unused import
* Cleanup
* Cleanup
---------
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-01-31 13:57:34 +00:00
Erika
58f9e393a1
Add ComponentProps
util ( #9839 )
...
* chore: changeset
* Update .changeset/cuddly-moons-hang.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-31 13:56:44 +00:00
Emanuele Stoppa
cddbec4619
[ci] format
2024-01-31 13:56:11 +00:00
Emanuele Stoppa
041fdd5c89
feat(i18n): domain support ( #9143 )
...
* i18n(domains): validation and updated logic (#9099 )
* feat(i18n): domain with lookup table (#9112 )
* chore: add changelog, fix types and enable experimental support in node/vercel
* rebase and update lock file
* chore: fix failing test
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
* Update .changeset/tidy-carrots-jump.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* wip
* chore: rebase, conflicts and tests
* update lock file
* chore: correct configuration
* chore: correct configuration
* fix: regressions
* chore: fix conflicts and add more tests
* chore: add more validation
* chore: more tests and add more restrictions
* fix changeset
* change and revert adapters
* add another restriction
* lock file update
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* wat
* fix syntax error
* fix config example
* Fix for #9673 (#9680 )
* Fix for #9673
* 🦋 add changeset file
* Update breezy-plants-smoke.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* ⚡ ️ simplified normalizeConfigPath
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Fix env var replacement for export const prerender (#9807 )
* feat(alpinejs): allow customizing the Alpine instance (#9751 )
* feat(alpinejs): allows customzing the Alpine instance
* chore: add e2e tests
* fix: rename script
* Update index.ts
* fix: lockfile
* [ci] format
* chore: use correct lock file
* chore: rebase
* fix regressions in tests
* fix regressions in tests
* fix build
* add description
* fix missing types
* chore: fix tests, again :D
* eslint
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* chore: address feedback
* chore: fix regressions
* chore: refactor naming
* Update packages/astro/src/core/app/index.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* chore: address feedback
* update lock file
* chore: infer routing from options, not strategy
* merge from main
* merge from main
* Experimental support in vercel adapter
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/tidy-carrots-jump.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* better changesets
* Updates both experimental.i18nDomains and i18ndomains for experimental strategy
* fix link syntax
* consistent tabs/spaces
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* apply suggestion
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Lou Cyx <git@lou.cx>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Florian Lefebvre <ematipico@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-31 13:55:03 +00:00
Houston (Bot)
43391ac60d
[ci] release ( #9879 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-31 10:40:01 +00:00
ktym4a
bfc145b778
chore(@astrojs/markdoc): use Node.js for testing ( #9897 )
2024-01-31 10:37:39 +00:00
Ming-jun Lu
8dc7b39a62
chore(@astrojs/sitemap): migrate tests to node:test
( #9892 )
...
* chore(@astrojs/sitemap): migrate tests to `node:test`
* chore(@astrojs/sitemap): remove `chai` and `mocha` from devDependencies
2024-01-31 09:47:33 +00:00
Emanuele Stoppa
1c4a263d8f
Revert "chore(@astrojs/integrations/sitemap): use Node.js for testing ( #9891 )" ( #9900 )
...
This reverts commit 82de54979e
.
2024-01-31 09:47:21 +00:00
Alex Nguyen
11d5e52710
migrate MDX tests ( #9894 )
2024-01-31 08:37:34 +00:00
Mohamed
6dbafb8f5f
[ci] format
2024-01-31 08:32:27 +00:00
Mohamed
82de54979e
chore(@astrojs/integrations/sitemap): use Node.js for testing ( #9891 )
2024-01-31 08:31:12 +00:00
voxel!()
4349254376
chore(@astrojs/integrations/react) Migrate tests to node:test
for @astrojs/react
( #9899 )
...
* Migrate Telemetry tests to node:test
* Remove fallback to chai
* Remove chai and mocha dependencies
* Fix trailing comma
* Fix pnpm-lock.yaml desync
* Add back old tests with progression
* Convert tests to node:test
* Remove unused dependencies
* Remove artifact changes
* Revert more artifacts
* Fix more
2024-01-31 08:29:26 +00:00
Arsh
84e9935a91
[ci] format
2024-01-31 06:08:21 +00:00
Arsh
37369550ab
fix(dev): prevent comma-separating multiple Set-Cookie headers ( #9884 )
...
* fix(dev): prevent comma-separating multiple Set-Cookie headers
* add changeset
* add test
2024-01-31 06:07:25 +00:00
Nate Moore
a8383173da
[ci] format
2024-01-30 23:17:37 +00:00
Nate Moore
13c3b712c7
Improves YAML error handling consistency ( #9882 )
...
* fix: improves yaml error handling consistency
* chore: add changeset
2024-01-30 17:16:31 -06:00
Arsh
70ae19d500
[ci] format
2024-01-30 17:17:06 +00:00
Arsh
a40a0ff588
fix(ssg): consider trailingSlash for url ( #9878 )
...
* fix(ssg): consider trailingSlash for url
* add changeset
2024-01-30 22:46:10 +05:30
Friedemann Sommer
e9027f194b
Fix endpoint response with immutable header ( #9876 )
...
* add test
* added runtime endpoint test for `new Response`
* added `try..catch` for reroute directive handling
Fixes #9871
* added changeset
* replaced `try..catch` with HTTP status code check
based on the suggestion of @lilnasy
* updated changeset description
* added more tests for the endpoint reroute header
* fixed grammar in `renderEndpoint` comment
* updated endpoint tests to check for the reroute directive header in lower-case
* updated changeset description
2024-01-30 22:45:26 +05:30
Houston (Bot)
3a50cbf6ed
[ci] release ( #9843 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-30 15:41:06 +00:00
Furkan Erdem
202d3fbaa9
chore(@astrojs/integrations/tailwind): use Node.js for testing ( #9875 )
...
* chore(@astrojs/integrations/tailwind): use Node.js for testing
* chore: update pnpm lock
2024-01-30 15:17:32 +00:00
Emanuele Stoppa
bcc504dae0
chore: add rule switch-exhaustiveness-check
( #9867 )
...
* chore: add rule `switch-exhaustiveness-check`
* apply feedback
* routing is always defined
2024-01-30 08:35:08 +00:00
ktym4a
44c957f893
Fix a bug that Japanese files were not displayed correctly. ( #9866 )
...
* Fix: Fix a bug that Japanese files were not displayed correctly.
* chore: generate change description
* Update .changeset/cool-colts-watch.md
* add test case for non-UTF-8 file name
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-01-29 16:42:44 +00:00
Arsh
a994d609b3
[ci] format
2024-01-29 15:44:12 +00:00
Arsh
0a06d87a1e
fix(i18n): use define
to deliver config to virtual module ( #9838 )
...
* fix(i18n): use import.meta.env to deliver config to virtual module
* add changeset
* prevent destructing i18n config unless enabled
* use defined variable instead
* Update packages/astro/src/i18n/vite-plugin-i18n.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-01-29 21:13:14 +05:30
Emanuele Stoppa
00ba9f1947
fix(i18n): compute current locale from route instead of request ( #9865 )
...
* fix(i18n): compute current locale from route instead of request
* Update .changeset/large-kangaroos-camp.md
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-01-29 14:47:40 +00:00
Chris Swithinbank
70fdf1a5c6
Expose ContentConfig
type from astro:content
( #9840 )
...
* Expose `ContentConfig` type from `astro:content`
* Add changeset
2024-01-27 06:44:37 +00:00
Houston (Bot)
a407eb5ac2
[ci] release ( #9837 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-26 17:33:19 -06:00