Houston (Bot)
3de7b2c7ec
[ci] release ( #10213 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-23 09:31:55 -05:00
Matthew Phillips
a013182d32
Fixes edge middleware calling nested routes ( #10215 )
2024-02-23 09:13:10 -05:00
Furkan Erdem
dddbb09fe0
[ci] format
2024-02-23 13:24:45 +00:00
Furkan Erdem
8cd38f0245
Fix(node): Custom headers are not present in responses from standalone Node server in preview mode ( #10208 )
...
* fix(node): add user specified headers to preview server responses
* docs: clarify comment
* style: new line
* test: remove test
* chore: add changeset
2024-02-23 08:23:33 -05:00
Houston (Bot)
3411e05ee4
[ci] release ( #10203 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-22 14:37:35 -05:00
Erika
c692d0c66a
fix: try the simple solution ( #10200 )
2024-02-22 14:21:31 -05:00
Houston (Bot)
0b4e5298d2
[ci] release ( #10192 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-22 11:17:25 -05:00
Matthew Phillips
3cc2010927
Fix cssesc from breaking browser code ( #10194 )
...
* Fix cssesc from breaking browser code
* Include specific thing instead
* Update .changeset/quick-bottles-march.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Fix ISR
* Remove query stripping altogether
* Warn on client usage
* Fix build
* oops
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-22 11:11:41 -05:00
Emanuele Stoppa
1e638c4019
chore: import sorting for test folder and e2e folder ( #10190 )
2024-02-22 13:58:10 +00:00
Houston (Bot)
2c2519204a
[ci] release ( #10177 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-21 14:40:40 -06:00
Emanuele Stoppa
6343f6a438
Revert "Add option to prefix sitemap" ( #10179 )
...
* Revert "Add option to prefix sitemap (#9846 )"
This reverts commit 9b78c99275
.
* changeset
* feedabck
* fix incorrect merging
2024-02-21 14:27:00 +00:00
Emanuele Stoppa
062623438b
chore: use biome to sort imports - only test files ( #10180 )
...
* chore: use biome to sort imports
* do the sorting
* Update package.json
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-02-21 14:08:19 +00:00
Piotr Losiak
8e51bf9ea9
[ci] format
2024-02-21 07:44:29 +00:00
Piotr Losiak
ec7d2ebbd9
fix(sitemap): url when rest parameter is used in page file names ( #9975 )
...
* fix(sitemap): url when rest parameter is used in page file names
* Update .changeset/sour-ties-sparkle.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Apply suggestions from code review
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-21 07:43:22 +00:00
Houston (Bot)
052d3271d4
[ci] release ( #10131 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-20 20:18:30 +05:30
ktym4a
9b78c99275
Add option to prefix sitemap ( #9846 )
...
* Add option to prefix sitemap
* Fix call resolve twice
* let to const
* Apply suggestions from code review
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* change changeset patch to minor
* use node:test
* Update changeset
* Add regex validation for prefix
* Update .changeset/eighty-falcons-tease.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update prefix regex in SitemapOptionsSchema
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-02-20 08:36:09 +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
ktym4a
5ff288f61b
chore: Change strictEqual
to equal
( #10140 )
2024-02-16 11:41:16 +00:00
Bjorn Lu
787e6f5247
Update to Vite 5.1 ( #10120 )
2024-02-15 17:20:38 +08: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
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
Florian Lefebvre
2ffc5721bc
fix(vercel): trailing slash conflict ( #10082 )
2024-02-13 11:36:22 +00:00
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
Emanuele Stoppa
09a6273fe2
test: mocha should ignore *.nodetest.js
files ( #10088 )
2024-02-12 13:03:22 +00: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
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
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
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
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
Bjorn Lu
436841e97e
Use eslint-plugin-regexp ( #9993 )
2024-02-07 20:43:19 +08: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
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
Fred K. Schott
055bd27d9d
[ci] format
2024-02-01 21:26:08 +00: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
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
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
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
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
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