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
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
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
Emanuele Stoppa
a3df9d83ca
fix(core): don't noop shared modules ( #9828 )
...
* fix(core): don't noop shared modules
* address feedback
* add test
* changeset
* check astro pages
* address feedback
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-26 17:17:32 +00:00
Houston (Bot)
8281ebddaa
[ci] release ( #9802 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-26 13:30:42 +00:00
Emanuele Stoppa
d777adc5ca
[ci] format
2024-01-25 16:18:40 +00:00
Emanuele Stoppa
fc21a3c306
chore(@astrojs/node): use Node.js for testing ( #9758 )
...
* chore(@astrojs/node): use Node.js for testing
* revert file
* address feedback
* feedback
* Run tests in a single process (#9823 )
* Run tests in a single process
* Make test less flaky
* chore: remove module
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-01-25 16:17:31 +00:00
Marvin
6206fa91e5
[ci] format
2024-01-25 10:24:46 +00:00
Marvin
a12196d6b5
feat(node): add trailingSlash support ( #9080 )
...
* feat(node): add trailing slash support
* add changeset
* test(node): add base route test in trailing-slash.js
detected an infinite loop in base path when trailingSlash: never
* fix(node): avoid infinite redirect when trailingSlash: never
* address test failures after rebase pt.1
* address test failures after rebase pt.2
---------
Co-authored-by: lilnasy <69170106+lilnasy@users.noreply.github.com>
2024-01-25 10:23:27 +00:00
Bjorn Lu
b3f313138b
Fix env var replacement for export const prerender ( #9807 )
2024-01-24 14:42:24 +00:00
Houston (Bot)
2292d0b580
[ci] release ( #9709 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-18 10:30:19 +00:00
Emanuele Stoppa
9680cf2780
[ci] format
2024-01-17 13:11:46 +00:00
Emanuele Stoppa
d6edc75408
Adapter enhancements ( #9661 )
...
* quality of life updates for `App` (#9579 )
* feat(app): writeResponse for node-based adapters
* add changeset
* Apply suggestions from code review
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Apply suggestions from code review
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* add examples for NodeApp static methods
* unexpose createOutgoingHttpHeaders from public api
* move headers test to core
* clientAddress test
* cookies test
* destructure renderOptions right at the start
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Fallback node standalone to localhost (#9545 )
* Fallback node standalone to localhost
* Update .changeset/tame-squids-film.md
* quality of life updates for the node adapter (#9582 )
* descriptive names for files and functions
* update tests
* add changeset
* appease linter
* Apply suggestions from code review
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* `server-entrypoint.js` -> `server.js`
* prevent crash on stream error (from PR 9533)
* Apply suggestions from code review
Co-authored-by: Luiz Ferraz <luiz@lferraz.com>
* `127.0.0.1` -> `localhost`
* add changeset for fryuni's fix
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Luiz Ferraz <luiz@lferraz.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* chore(vercel): delete request response conversion logic (#9583 )
* refactor
* add changeset
* bump peer dependencies
* unexpose symbols (#9683 )
* Update .changeset/tame-squids-film.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Luiz Ferraz <luiz@lferraz.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-17 13:10:43 +00:00
Houston (Bot)
d854330571
[ci] release ( #9541 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-02 10:26:33 -05:00
Arsh
af59b83162
[ci] format
2023-12-29 15:49:10 +00:00
Arsh
48f47b50a0
fix(node): prevent crash on stream error ( #9533 )
...
* fix(node): prevent crash on stream error
* add changeset
* Apply suggestions from code review
2023-12-29 21:17:52 +05:30
Houston (Bot)
98fa8f02ab
[ci] release ( #9491 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-27 13:34:07 -05:00
Sarah Rainsberger
36bedf1a5f
[ci] format
2023-12-21 20:36:15 +00:00
Sarah Rainsberger
1baf0b0d3c
[docs] minimal integration READMEs ( #9479 )
...
Co-authored-by: Emanuele Stoppa <602478+ematipico@users.noreply.github.com>
Co-authored-by: Elian <15145918+ElianCodes@users.noreply.github.com>
Co-authored-by: Alexander Niebuhr <45965090+alexanderniebuhr@users.noreply.github.com>
2023-12-21 16:35:11 -04:00
Houston (Bot)
97342d218e
[ci] release ( #9457 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-20 17:39:13 +00:00
Alex Nguyen
6bf470cfb8
Fix typo in @astrojs/node README ( #9471 )
2023-12-19 08:28:43 +00:00
Houston (Bot)
f47b85ce6f
[ci] release ( #9365 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-11 11:57:19 +00:00
Arsh
1b4e918981
chore: update peer dependencies ( #9366 )
2023-12-07 23:34:14 +08:00
Houston (Bot)
5f13e7e0dc
[ci] release ( #9307 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-12-05 09:39:16 -04:00
Erika
4aa8091582
fix: enforce separate type imports ( #9288 )
2023-12-04 17:56:32 +01:00
bluwy
05628aaa3c
Merge branch 'main' into next
2023-11-30 22:42:29 +08:00
Houston (Bot)
c495f1ac17
[ci] release (beta) ( #9228 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-29 13:50:18 -05:00
Arsh
49aa215a01
Switch app.render
signature ( #9199 )
...
* feat(app): app.render optional object
* tests
* update vercel and node
* update changeset
* deprecation notice and loggin
* clarify changeset
* add node, vercel changeset
* deduplicate code
2023-11-29 21:08:42 +05:30
Houston (Bot)
d0d5ff78c9
[ci] release ( #9202 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-28 10:07:52 -06:00
Erika
000e8f4654
feat: implement overlay main screen redesign ( #9118 )
...
* feat: implement redesign
* fix: make it build
* feat: visual tweaks
* feat(overlay): update styling, integration endpoint
* feat: add fallback icons
* Clean up tests (#9183 )
* Add `@astrojs/upgrade` package for automatic package upgrades (#8525 )
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* [ci] format
* fix: links with same path but different search params not prefetched (#9189 )
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* fix: discord icon
* chore: changeset
---------
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Spencer Whitehead <35475068+SpencerWhitehead7@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-11-28 09:39:38 -05:00
Matthew Phillips
6e0292a1fa
[ci] format
2023-11-28 13:48:11 +00:00
Matthew Phillips
8f1d509574
Support immutable cache headers for _astro assets ( #9125 )
...
* Support immutable cache headers for _astro assets
* Update .changeset/twelve-fishes-fail.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update packages/integrations/node/src/http-server.ts
* Update expected max-age
* Add teh docs
* Update .changeset/twelve-fishes-fail.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/integrations/node/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-28 08:46:26 -05:00
Houston (Bot)
415fec54f8
[ci] release (beta) ( #9114 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-27 12:59:31 -05:00
Bjorn Lu
cdabf6ef02
Remove support for simple objects in endpoints ( #9181 )
...
* Deprecate simple object from endpoints
* Update changeset
* Add missing Response return
Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>
* Update .changeset/clever-beds-notice.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-27 12:51:57 -05:00
Bjorn Lu
153a5abb90
Remove deprecated features from Astro 3.0 ( #9168 )
2023-11-28 00:44:20 +08:00
Bjorn Lu
328d999999
Clean up tests ( #9183 )
2023-11-28 00:33:10 +08:00
Bjorn Lu
abf601233f
Update all dependencies ( #9138 )
...
Co-authored-by: delucis <delucis@users.noreply.github.com>
2023-11-21 12:09:19 +08:00
Houston (Bot)
8366cd7775
[ci] release ( #9107 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-16 21:50:47 +08:00
pilcrowOnPaper
1862fb44eb
[ci] format
2023-11-15 23:41:21 +00:00
pilcrowOnPaper
c9487138d6
Cancel response stream when connection closes ( #9071 )
...
* cancel stream on close
* add changeset
* add test
* Update .changeset/modern-ways-develop.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: lilnasy <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-16 05:09:41 +05:30
Bjorn Lu
ec7f531682
Fix examples smoke test fail ( #8923 )
2023-10-26 19:13:43 +08:00
Bjorn Lu
c8976440ff
Prevent bumping peer deps ( #8893 )
2023-10-26 18:07:02 +08:00
Houston (Bot)
a86b41c852
[ci] release ( #8895 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-24 12:26:45 -04:00
Houston (Bot)
42a83ffcfe
[ci] release ( #8861 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-23 17:22:50 +08:00
Houston (Bot)
c6e0d8e1cd
[ci] release ( #8848 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-18 13:31:13 +01:00
Houston (Bot)
3468c06f56
[ci] release ( #8820 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-17 03:28:33 +05:30