Commit graph

338 commits

Author SHA1 Message Date
Houston (Bot)
9b84a7ef96
[ci] release (#8590)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-19 17:21:05 +08:00
Rishi Raj Jain
d0e513f214
fix: Vercel serverless adapter logs too much (#8581) 2023-09-18 19:22:55 +08:00
Houston (Bot)
fca6892f8d
[ci] release (#8540)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-14 12:44:09 -04:00
matthewp
8376f24b47 [ci] format 2023-09-14 12:17:20 +00:00
Matthew Phillips
b79e11f3c4
Change functionPerRoute to false by default (#8546)
* Change functionPerRoute to false by default

* Update test that depends on functionPerRoute

* Update .changeset/cool-pianos-smell.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/cool-pianos-smell.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update packages/integrations/vercel/README.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update packages/integrations/vercel/README.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/cool-pianos-smell.md

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-09-14 08:15:11 -04:00
Chris
2e8726feec
[@astrojs/vercel] Individually enable Speed Insights and Web Analytics (#8021)
* Individually enable Speed Insights and Web Analytics

* Update pnpm-lock.yaml

* Remove .only on tests

* Fix build

* Move `beforeSend` out of config

* Address feedback from review

* Update README.md

* Add back the `analytics` property and add deprecation warning when used

* Add migration guide for the deprecated `analytics` property

* Update packages/integrations/vercel/README.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update README.md

* Fix external dependency issue

* Simplify plugin and reduce scope

* Update .changeset/sixty-teachers-tap.md

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* Apply feedback from review

* Move exposeEnv to speed-insights since it's only used there

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-09-14 08:02:11 -04:00
Erika
91380378ce
feat(vercel): Use Sharp in dev instead of Squoosh by default (#8445)
* feat(vercel): Use Sharp in dev instead of Squoosh by default

* fix(build):

* nit: adjust with feedback

* fix: imports

* Update packages/integrations/vercel/README.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* docs: small change in other part of the README

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-09-13 18:40:02 +02:00
Erika
4e395a6cab
config: migrate us to moduleResolution: 'node16' (#8519) 2023-09-13 16:49:22 +02:00
Houston (Bot)
c23ddb9ab3
[ci] release (#8501)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-12 14:29:39 -04:00
Houston (Bot)
0a2567c288
[ci] release (#8465)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-08 10:08:35 -04:00
Houston (Bot)
98d501bde6
[ci] release (#8442)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-08 13:55:26 +02:00
Erika
7ea32c7fbf
feat: pass our domains and remote config to the Vercel config (#8452)
* feat: pass our domains and remote config to Vercel'S

* chore: changeset

* test: update test to test for this

* docs: update README
2023-09-07 18:12:00 +02:00
Houston (Bot)
88c76a9a42
[ci] release (#8439)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-06 16:35:56 -05:00
Houston (Bot)
14273d8f44
[ci] release (#8415)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-06 09:56:58 -04:00
ematipico
eb8c4cc2fc [ci] format 2023-09-06 04:46:18 +00:00
Slawek Kolodziej
9ffa1a84e8
fix: include route prefix in vercel func names, fix #8401 (#8408)
* fix: include route prefix in vercel func names

* chore: add changeset

* chore: update pnpm lockfile

* refactor: simplify logic that generates vercel func names

* fix: properly remove entryFile prefix from func name

* refactor: change how vercel function names are generated

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-09-06 05:43:53 +01:00
Julien Déramond
fd6ce9a99a
fix: funcitonPerRoutefunctionPerRoute in vercel integ package (#8406) 2023-09-05 07:28:23 +01:00
Houston (Bot)
e43ae88528
[ci] release (#8372)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-04 10:09:43 +01:00
Houston (Bot)
e34175be34
[ci] release (#8356) 2023-09-01 18:26:05 -05:00
Houston (Bot)
1b9de31737
[ci] release (#8335)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-01 15:19:30 +01:00
Erika
0eb09dbab1
fix(vercel): Don't output an error message for failing to resolve sharp (#8354)
* fix(vercel): Don't output an error message for failing to resolve sharp

* chore: changeset
2023-09-01 16:14:15 +02:00
ematipico
cc99b2814f [ci] format 2023-09-01 13:35:21 +00:00
Emanuele Stoppa
5f2c55bb54
fix(@astrojs/vercel): slowness and symbolic link (#8348) 2023-09-01 14:33:04 +01:00
Houston (Bot)
84427f33c1
[ci] release (#8330)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-31 13:42:22 -04:00
Emanuele Stoppa
c58472756e
fix(@astrojs/vercel): include astro feature map and adapter features to the static adapter (#8318) 2023-08-31 17:01:43 +01:00
Houston (Bot)
61ac0eb3d8
[ci] release (#8326)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-31 11:36:25 -04:00
Matthew Phillips
8fff0e9aeb
Update Vercel warning verbiage (#8328)
* Update Vercel warning verbiage

* Changeset and suggestion of functionPerRoute: false
2023-08-31 11:06:09 -04:00
Emanuele Stoppa
dc29e0f797
fix(@astrojs/vercel): warn user when functionPerRoute is true (#8319) 2023-08-31 15:36:37 +01:00
Houston (Bot)
1efd51fb47
[ci] release (#8304)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-30 16:31:20 -04:00
Emanuele Stoppa
d4a6ab7339
fix(ssr): inline middleware during the build, not rely on file system (#8300)
* fix(ssr): inline middleware during the build, not rely on file system

* feedback

* chore: fix lint

---------

Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-30 12:56:10 -05:00
Houston (Bot)
2a94614433
[ci] release (#8296)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-30 18:14:12 +02:00
Houston (Bot)
f8c171c944
[ci] release (#8288)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-30 10:35:16 -04:00
Matthew Phillips
ef37f9e290
Revert "[ci] release (#8285)" (#8290)
This reverts commit b4e67a0b1b.
2023-08-30 10:31:24 -04:00
Houston (Bot)
b4e67a0b1b
[ci] release (#8285)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-30 10:13:29 -04:00
Houston (Bot)
5598feb718
[ci] release (#8279)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-30 13:38:28 +02:00
Houston (Bot)
28a49f8e0d
[ci] release (rc) (#8272)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-29 15:50:45 -04:00
Houston (Bot)
834a00d2d3
[ci] release (rc) (#8267)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-29 14:18:54 -04:00
Houston (Bot)
6f47c6c919
[ci] release (rc) (#8256)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-29 10:58:09 -04:00
Houston (Bot)
0a97524e38
[ci] release (rc) (#8238)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-28 12:23:04 -04:00
Emanuele Stoppa
c7921e9e1b
refactor: use new Astro internals (#8254)
* refactor: use new Astro internals

* chore: update tests

---------

Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-08-28 17:19:04 +01:00
Matthew Phillips
52f0837bde
Vercel adapter default changes (#8239)
* Vercel adapter default changes

* Update .changeset/silly-dolphins-try.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Fix tests

* chore: correctly export `pageModule` when using `functionPerRoute`

* Update .changeset/silly-dolphins-try.md

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* Update .changeset/silly-dolphins-try.md

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* Make throw be the entrypoint

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-08-28 12:10:28 -04:00
Houston (Bot)
23096dbee8
[ci] release (rc) (#8233)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-25 14:10:30 -04:00
Houston (Bot)
2b5d739bd9
[ci] release (rc) (#8215)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-25 12:52:51 -04:00
Emanuele Stoppa
44bd0cd825 Merge remote-tracking branch 'origin/main' into next 2023-08-24 13:02:27 +01:00
Bjorn Lu
048846fd53
Update breaking dependencies (#8201) 2023-08-24 16:34:33 +08:00
Houston (Bot)
ee06c4fe5c
[ci] release (#8172)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-23 22:12:09 +08:00
Bjorn Lu
353dcb23e8
Update non-major dependencies (#8199) 2023-08-23 19:52:13 +08:00
Jothish JJ
1e8942c438
Add h3 for Installing dependencies manually (#8155) 2023-08-23 11:40:19 +01:00
Houston (Bot)
9f1881455a
[ci] release (rc) (#8147)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-22 10:19:18 -04:00
Emanuele Stoppa
d43ca69c1d Merge remote-tracking branch 'origin/main' into next 2023-08-21 14:21:53 +01:00