fix(deps): update dependency sst to v2.40.3 #57
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.20.1->2.40.3Release Notes
sst/sst (sst)
v2.40.3Compare Source
Changes
e9847fb13- Cli: fix deploy status event not shownUpdate using:
v2.40.1Compare Source
Changes
92a8de72aThanks @bayssmekanique! - Astro: add client address propertyUpdate using:
v2.40.0Compare Source
Changes
1ca805d26- Update CDK to v2.124.0729e5fe15Thanks @BLucky-gh! - Function: Add cache options for python bundlingUpdate using:
v2.39.13Compare Source
Changes
b4a826ae3- SsrSite: handle s3 upload rate limit errorUpdate using:
v2.39.12Compare Source
Changes
ecba06be8- Function: fix build hook run after CDK creates artifacts folder for container runtimeUpdate using:
v2.39.11Compare Source
Changes
4f2302921- NextjsSite: support per-route logging for Route HandlersUpdate using:
v2.39.10Compare Source
Changes
953a1ac70Thanks @mathisobadia! - Job: Allow setting nodejs version of container imagec8ac970af- Bootstrap: bump version to trigger CDK custom resource runtime update0d9cf1172Thanks @morficus! - NextjsSite: new option to specify custom build output pathUpdate using:
v2.39.9Compare Source
Changes
83d013b35- NextjsSite: fix warming when streaming is enabledUpdate using:
v2.39.8Compare Source
Changes
b29ce15fa- SsrSite: support customization via "cdk.transform" propUpdate using:
v2.39.7Compare Source
Changes
2bba12c7b- preset: fix eventscfb9f5814- Revert adding @smithy/util-endpointsUpdate using:
v2.39.6Compare Source
Changes
ff3abe365- fix: removed broken ion codeUpdate using:
v2.39.5Compare Source
Changes
daec2ff64- Revert adding @smithy/util-endpointsUpdate using:
v2.39.4Compare Source
Changes
d47ea4e18- ion: resource linkingUpdate using:
v2.39.3Compare Source
Changes
4bf0d9ceb- Function: experimental support for prefetching secretsd45f36cd3Thanks @bayssmekanique! - Astro: fix greedy routes bug5201a37f0Thanks @auvred! - Properly calculate content-length for cfn custom resource responsese099dcc7e- workaround breaking change in aws-sdk v3Update using:
v2.39.2Compare Source
Changes
9f709ed0c- event: fix expect errorUpdate using:
v2.39.1Compare Source
Changes
49ef014f3- event: type error fixUpdate using:
v2.39.0Compare Source
Changes
af704d761- There is a slight breaking change in this release if you are using SST Events withcreateEventBuilder()- you should receive type errors for all the issues. We now support specifying any validation library so will need to configure that.To continue using Zod you can specify the validator like so
Additionally we no longer assume you are passing in a zod object as the schema.
You'll have to update code from:
to this:
This also allows you to specify non-objects as the event properties. Additionally, if you were using advanced inference the
shapefield has been replaced withtypeof MyEvent.$input,typeof MyEvent.$output, andtypeof MyEvent.$metadataceed328d5- Job: expose codebuild project via cdk7e859e629Thanks @bayssmekanique! - EdgeFunction: fixes copyFile prop to actually copy files to deployed handler function.366ffedaaThanks @coronapl! - IoT: Fix connection closed after 5 minutesb82790482Thanks @bayssmekanique! - SsrSite: fixes function bundler to match deployment target on bundled dependencies.Update using:
v2.38.8Compare Source
v2.38.7Compare Source
Changes
69b41b9f7- internal: add back old context implementationUpdate using:
v2.38.6Compare Source
Changes
7d2f92b0dThanks @justindra! - Calling init project does not replace stage if it was called previously491ffbfb6Thanks @oyed! - fix: cjs being thrown in to providerUpdate using:
v2.38.5Compare Source
Changes
36bf1b86d- Function: use descriptive copy for description and handler namebc30b03afThanks @dylanirion! - Container: fix docker host not resolved in wsl environmentb8a22b459- sst dev: detect regions without AWS IoT supportfc4871967- Function: support dot in handler filenameUpdate using:
v2.38.4Compare Source
Changes
5bbfb70c9Thanks @bayssmekanique! - SsrSite: pin bundled sharp version until deployment issues resolved86df9a351Thanks @bayssmekanique! - AstroSite: optimize CF function86df9a351Thanks @bayssmekanique! - SsrSite: minify CF functionsUpdate using:
v2.38.3Compare Source
Changes
50fff51f5- AstroSite: fix duplicate cf functionUpdate using:
v2.38.2Compare Source
Changes
e2457c9b7- AstroSite: create host only cf function for server routesUpdate using:
v2.38.1Compare Source
Changes
12baa36d5- AstroSite: include cf function for server routesUpdate using:
v2.38.0Compare Source
Changes
428810411- Service: require port to be setUpdate using:
v2.37.2Compare Source
Changes
4d7d69d4eThanks @bayssmekanique! - astro-sst: support StarlightUpdate using:
v2.37.1Compare Source
Changes
d5d31fddaThanks @bayssmekanique! - AstroSite: add sharp image processingbafb2a05cThanks @omikader! - Service: support configuration of ephemeral storage4b795b815Thanks @TheUncharted! - Add Apple adapter to index filece2944150- Sites: check missing domainName in customDomain0229f9892Thanks @bayssmekanique! - astro-sst: update to Astro v4Update using:
v2.37.0Compare Source
Changes
4533f9f11Thanks @berenddeboer! - refactor: skip logging ResponseURL as this contains an IAM access id8da51f1b4Thanks @justindra! - fix future/auth to allow session.use using binding on other apisd4bc8e532Thanks @KONFeature! - Remove unused import ofcontext/context.tsb6e433325Thanks @TheUncharted! - Add AppleAdapter for future authf78f408a6- astrosite: inline regex0f60b635cThanks @zvictor! - fix EISDIR errorUpdate using:
v2.36.8Compare Source
Changes
c17c1cf92- astro: compress functionUpdate using:
v2.36.7Compare Source
Changes
cb7e85c69- util: fix data loader issueUpdate using:
v2.36.6Compare Source
Changes
67e91b64e- SsrSite: fix aws-sdk not found in edge lambda391e8f83e- SsrSite: handle warmer requestsUpdate using:
v2.36.5Compare Source
Changes
09dcf20e4Thanks @jaydeebee! - dns-validated-certificate: bundle aws-sdk7c45504e3Thanks @jlanzarotti! - Function: add Lambda URL streaming optionUpdate using:
v2.36.4Compare Source
Changes
4732d21ec- Update CDK to 2.110.16bcf40c13- Update constructs to 10.3.0eb0e725eb- Function: add support for Node.js 20 runtime69e4ab7d5Thanks @san4d! - Update AWS SDK dependencies to 3.454.0dff29e502- Function: add support for Python 3.12 runtimedff29e502- Function: add support for Java 21 runtimeUpdate using:
v2.36.3Compare Source
Changes
2a73ed809- NextjsSite: fix warming requests error outUpdate using:
v2.36.2Compare Source
Changes
4f3762b6b- create-sst: do not force pnpm on nextjs preset5b88c84ea- Sites: fix S3Uploader resource id thrash with old Python uploadercbd4510b1- Update runtime to nodejs16.x for custom resources4cb0b191c- Function: sort sourcemap by CDK pathbaa1e904f- bus: export EventPayload typec7284c8c3Thanks @jaydeebee! - WebSocketApi: support route returnResponse6a8b100ddThanks @rubythulhu! - Make sourcemap ordering deterministicUpdate using:
v2.36.1Compare Source
Changes
dd01a3075- Function: track sourcemap enabled in metadataeb0fb1498- cli: regionUpdate using:
v2.36.0Compare Source
📢 Per-route logging and Sourcemaps for
NextjsSiteNextjsSite now sends logs for individual routes to separate log groups. To continue using a single log group, set logging to combined.
new NextjsSite(stack, "Site", { + logging: "combined", });For Console users, make sure you enable Sourcemaps in your
next.config, and the errors will get correct line numbers with source context. Read more here — https://docs.sst.dev/constructs/NextjsSite#sourcemapsChanges
131589451- NextjsSite: enable per-route logging by default36eaf03c3- NextjsSite: update to OpenNext 2.3.1Update using:
v2.35.1Compare Source
Changes
d8406f775Thanks @dkershner6! - SsrSite: support customizing S3 origin props33d05c006- SsrSite: fix constructor props types97bc385e2Thanks @bayssmekanique! - AstroSite: fixes bug with config override causing issues with MDX pluginUpdate using:
v2.35.0Compare Source
📢 Default
Functionruntime updated to Node.js 18The default runtime for functions has been updated from
nodejs16.xtonodejs18.xin response to AWS Lambda's deprecation announcement for the Node.js 16 runtime. To continue using Node.js 16, specifynodejs16.xas the defaultruntime.app.setDefaultFunctionProps({ + runtime: "nodejs16.x", });.Changes
74564805cThanks @adityavm! - Function: update default runtime to Node.js 18ffa4b0fe9- AstroSite: support server function sourcemap7e94c96b0- Sites: invalidate cache after S3 uploader completesUpdate using:
v2.34.7Compare Source
Changes
acbe1615fThanks @BradDobson2! - AppSyncApi: improve multiple schema functionality07bd1b296Thanks @kelvinCJJ! - RDS: add support for MySQL 8.09238c1d37Thanks @wpoynter! - StaticSite: set correct content type for wasm filesUpdate using:
v2.34.6Compare Source
Changes
cf125d460- StaticSite: fix nested files not uploaded on WindowsUpdate using:
v2.34.5Compare Source
Changes
a52f7247b- function: splitting should always output .mjsUpdate using:
v2.34.4Compare Source
Changes
0d185ec85- create-sst: add ".sst" and ".open-next" to ".gitignore"9da56a1c5- function: expose splitting optionfc3dd92a6Thanks @jackschu! - Auth: Prevent throwing on CDK idUpdate using:
v2.34.3Changes
3c12694c9Thanks @bayssmekanique! - astro-sst: unify regional and edge adapters3c12694c9Thanks @bayssmekanique! - AstroSite: infer edge deployment from astro-sst adapter5f09d4305Thanks @dkershner6! - NextjsSite: Dynamic RevalidationInsertFunction provisioning based on prerender-manifest size91af56670- NextjsSite: update to OpenNext 2.3.0Update using:
v2.33.3Changes
b02173721- cli: link console to exact app/stagec68a1a36e- Cli: remove sst connect command0948f0131Thanks @suil! - Service: expose application load balancerfe4ac3a98Thanks @bayssmekanique! - AstroSite: fix Edge Function handler path for windowsUpdate using:
v2.33.0Compare Source
Changes
3d72f1c79Thanks @rubythulhu! - Adds support for bypassing docker build for python (via an optional flag), and moves python file-copy processes to a place that can be async.fc0a18d1b- deps: bump aws iot package2e2d425dcThanks @michaelgmcd! - fix: add delete parameters permissions to AuthKeys roleUpdate using:
v2.32.2Compare Source
Changes
88733817d- create-sst: update aws-cdk-lib to 2.101.1390b7d5d5- cli: dispose context object for node buildsf3a378f66- Job: fix job type shows "never"db7d815f9- create-sst: fix react dependencyUpdate using:
v2.32.1Compare Source
Changes
68ed1d280- Service: do not exclude.sst/typesfor docker build8a7e6beb3Thanks @alexabidri! - SsrSite: allow customize "cdk.viewerProtocolPolicy"988093b7a- AppSyncApi: respect scope for lazily added resolvers and data sourcesUpdate using:
v2.32.0Compare Source
Changes
2b6528ec3Thanks @bitpavel! - SsrSite: addinvalidationprop to customize CloudFront invalidation88ce024a8- NextjsSite: upload sourcemaps to bootstrap bucketUpdate using:
v2.31.0Compare Source
Enhanced cache support for SSR sites
NextjsSite,AstroSite,RemixSite,SvelteKitSite,SolidStartSite, andStaticSitenow support enhanced file options with theassetsprop. ReplacefileOptionswithassets.fileOptions, asfileOptionsis deprecated.new NextjsSite(stack, "Site", { - fileOptions: [ - { - exclude: "*", - include: "*.zip", - cacheControl: "public,max-age=31536000,immutable", - }, - ], + assets: { + fileOptions: [ + { + files: "**/*.zip", + cacheControl: "public,max-age=31536000,immutable", + }, + ], + }, });Changes
8e655cfb9- Sites: addassetsoption to allow customizing static file options5613c727a- NextjsSite: finalize per-route loggingUpdate using:
v2.30.4Compare Source
Changes
b3abbfd19- NextjsSite: add beta option for per-route logging [wip]Update using:
v2.30.3Compare Source
Changes
48c432320- cli: rollback clearing dist folder on every synthbd4986a8c- Update CDK to v2.101.1Update using:
v2.30.2Compare Source
Changes
7bb494883- NextjsSite: addopenNextVersionto specify the OpenNext version for building the Next.js siteUpdate using:
v2.30.1Compare Source
Changes
73943d36d- cli: prevent concurrent synthc76d0fa05- sst types: do not require AWS credentials to generate typesc823382f8Thanks @bayssmekanique! - SsrSite: improve cache deployment behavior and invalidation strategy220ef51d7Thanks @dkershner6! - NextjsSite: expose a static function to create server cache policy220ef51d7Thanks @dkershner6! - NextjsSite: expose a static function to create server cache policy9b719087b- NextjsSite: fix wrapper function for streamingc8a3509ffThanks @bayssmekanique! - astro-set: Fixed invalid format for set-cookie headers in server response8f9c4900b- NextjsSite: fix edge import orderUpdate using:
v2.29.2Compare Source
Changes
364f696a9- cli: limit sst dev to 4 concurrent function builds794d8bfa6- Print out correct error message for deprecated node versionsUpdate using:
v2.29.0Compare Source
Changes
c1e2fffc3- cli: require node 18Update using:
v2.28.6Compare Source
Changes
f1bffc551- NextjsSite: sort routes in metadataf1bffc551- NextjsSite: fix cannot find routes file when running sst devUpdate using:
v2.28.5Compare Source
Changes
ecd5b68a0- NextjsSite: update to OpenNext v2.2.3ecd5b68a0- NextjsSite: store routes in metadataUpdate using:
v2.28.3Compare Source
Changes
f760343c1Thanks @bayssmekanique! - Fixes Astro Site error response pagesUpdate using:
v2.28.1Compare Source
Changes
b9853e668Thanks @bayssmekanique! - Fixes Astro streaming6c5b72aeeThanks @michaelgmcd! - Auth: batch delete keys on removef9f58dc48Thanks @blytheaw! - Function: support disabling CloudWatch logscdcf410b2- cli: fix error in go function creating error in cli during live devUpdate using:
v2.28.0Compare Source
Changes
db36c2451Thanks @conico974! - NextjsSite: support OpenNext v2.2.1db36c2451Thanks @conico974! - NextjsSite: support on-demandrevalidatePathandrevalidateTagdb36c2451Thanks @conico974! - NextjsSite: support streaming response62c709d16Thanks @bayssmekanique! - AstroSite: fixes build bug introduced with astro-sst changesbb1e8c473- Service: allow customizing CloudFront distributionUpdate using:
v2.27.0Compare Source
📢
AstroSitenow supports "hybrid" modeAstroSitehas been re-architectured to support deploying Astro sites in a "hybrid" mode, coupled with other SSR improvements. sites should operate seamlessly, as the update is largely backward compatible. However, if your Astro app contains non-GET routes, such us form submissions, logins, or API endpoints, you'll need to specify them manually:new AstroSite(stack, "Site", { path: "my-astro-app/", + regional: { + serverRoutes: [ + "feedback", // Feedback page which requires POST method + "login", // Login page which requires POST method + "user/*", // Directory of user routes which are all SSR + "api/*" // Directory of API endpoints which require all methods + ] + } });Read more about
serverRoutes.Changes
3299f350fThanks @bayssmekanique! - AstroSite: support "hybrid" modebd9605ca6Thanks @bayssmekanique! - Fixes props passing to SSR function3299f350fThanks @bayssmekanique! - AstriSite: improves SSR support3299f350fThanks @bayssmekanique! - AstroSite: handle redirect in CloudFront functions1ce715444Thanks @bayssmekanique! - Fixes warmer for SSR sitesUpdate using:
v2.26.11Compare Source
Changes
cd2cd55e4- Service: expose fargateService and taskDefinitionUpdate using:
v2.26.10Compare Source
Changes
1e39f6490- cli: clear build dir on synth4a433ce1b- future/auth: fix index urlUpdate using:
v2.26.9Changes
47c5c0733- cli: remove unnecessary console.logUpdate using:
v2.26.7Compare Source
Changes
01d8dbf9c- future/auth: support connect flow, check deprecated functionsUpdate using:
v2.26.6Compare Source
Changes
f294d8e68Thanks @dfoulger! - Update "secrets load" command to support the --fallback option5e25178ac- cli: dev startup performanceUpdate using:
v2.26.5Compare Source
Changes
3c98abc65- function: use less memory for local invocation cacheUpdate using:
v2.26.4Changes
c215530de- RemixSite: add support for Remix v2Update using:
v2.26.2Compare Source
Changes
6605fe06b- function: rollback sourcemap uploader dependencyUpdate using:
v2.25.6Compare Source
Changes
f554d4bd7- function: fix bridge throwing error when stack trace is missingUpdate using:
v2.25.5Compare Source
Changes
93ed65728Thanks @khuezy! - NextjsSite: update OpenNext to 2.1.5Update using:
v2.25.4Compare Source
Changes
86b894dd6- future/auth: support allowClient callbackUpdate using:
v2.25.3Compare Source
Changes
d0bb94461Thanks @rekotiira! - node/event-bus: Fix incompatible type inference in exported function74657375aThanks @jamesgibbons92! - AppSyncApi: Update deprecated appsync schema prop47cb76700Thanks @berenddeboer! - SsrSite: enforce ssl on bucket to get security hubad6429b7e- Function: bring back using user provided runtime for Java0321ac44aThanks @Nirlah! - RemixSite: do not enforce ESMUpdate using:
v2.25.2Compare Source
Changes
c47a18930- future/auth: fix typing problem with response.sessionUpdate using:
v2.25.1Compare Source
Changes
89827c084- RemixSite: add support for esm841eb05c9- SsrSite: support warming for all SSR sites49b68ef55Thanks @adamelmore! - AstroSite: support streaming compressionUpdate using:
v2.25.0Compare Source
Changes
62dede23c- Update CDK to v2.95.12749ba60eThanks @DanielTatarkin! - StaticSite: Upgrade S3 uploader and handler Pyhon versions 3_7 -> 3_11c2c886ca1Thanks @dani-mp! - SsrSite: supportcopyFilesfor server functionUpdate using:
v2.24.28Compare Source
Changes
90e93a206- future/auth: expose privateKey if it needs to be boundUpdate using:
v2.24.27Compare Source
Changes
715dc3e5dThanks @omikader! - SsrSite: Upgrade s3 handler python versions8627a6a3d- cli: bun related fixesUpdate using:
v2.24.26Compare Source
Changes
4a890f9bd- create-sst: upgrade templates to node1835d3bae46- create-sst: fix typechecking issue on base templates1ec49e7f1- Job: ensure unique handler function idUpdate using:
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.