Bot releases are visible (Hide)
Published by thdxr over 2 years ago
Update using:
$ npx sst update v1.0.0-beta.9
$ yarn sst update v1.0.0-beta.9
Published by thdxr over 2 years ago
Update using:
$ npx sst update 0.69.4
$ yarn sst update 0.69.4
Published by thdxr over 2 years ago
There are a couple of common issues we've observed with people using SST:
We restructured the constructs to address these issues. You can read more about the details in the migration guide: https://docs.serverless-stack.com/constructs/v0/migration#goals
Most of the changes are reorganizing and renaming construct properties, attributes, and adding TS Docs. The underlying resources (ie. the CloudFormation template) are mostly not impacted. There should be zero downtime during the upgrade.
Follow the steps in the migration guide to update.
Give it a try and let us know what you think! We are looking to launch v1 by the end of the month.
Published by fwang over 2 years ago
sst start
is booting up (@alistairstead)--profile
option (@RichiCoder1)--outputs-file
option (@drewfish)Update using:
$ npx sst update 0.69.3
$ yarn sst update 0.69.3
Published by fwang over 2 years ago
StaticSite
We made some changes to how StaticSite
, ReactStaticSite
, and ViteStaticSite
handle orphaned files during the deployment.
Prior to this release, on each deployment, files that were previously deployed but are no longer in the current deployment are NOT removed. This caused an issue where removed files/pages are still accessible after they have been removed from the site. Starting with this release, orphaned files will be removed by default.
You can control this behavior by setting purgeFiles
to false
.
new StaticSite(this, "Site", {
Β Β path: "path/to/src",
purgeFiles: false,
});
This affects the StaticSite
, ReactStaticSite
, and ViteStaticSite
constructs.
Update using:
$ npx sst update 0.69.1
$ yarn sst update 0.69.1
Published by fwang over 2 years ago
Update using:
$ npx sst update 0.68.0
$ yarn sst update 0.68.0
Published by thdxr over 2 years ago
Published by fwang over 2 years ago
This update features a new API Explorer that lets you to make HTTP requests to your sst.Api
and sst.ApiGatewayV1Api
. Easily set headers, query params and body to make a request against any of your routes and view the function logs as well as the response.
Update using:
$ npx sst update 0.67.0
$ yarn sst update 0.67.0
Published by fwang over 2 years ago
Update using:
$ npx sst update 0.66.2
$ yarn sst update 0.66.2
Published by fwang over 2 years ago
Published by thdxr over 2 years ago
This update features a new DynamoDB Explorer that lets you query your sst.Table directly from the web console. You can scan the table, query specific keys and create/edit items.
Published by thdxr over 2 years ago
Published by thdxr over 2 years ago
Update using:
$ npx sst update 0.65.5
$ yarn sst update 0.65.5
Published by fwang over 2 years ago
Update using:
$ npx sst update 0.65.4
$ yarn sst update 0.65.4
Published by fwang over 2 years ago
DebugStack
When you run sst start
, SST deploys a debug stack to setup Live Lambda Development environment. Prior to this release, you only could customize the debug stack after the stack had been created using the debugStack()
callback. Starting with this release, you have full control over the DebugStack.
debugStack(app, stack, props)
to debugApp(app)
;DebugStack
inside the debugApp
callback; new sst.DebugStack(app, "debug-stack");
props.stage
, change it to app.stage
If you were adding a custom tag like this:
export function debugStack(app, stack, props) {
cdk.Tags.of(app).add("my-stage", props.stage);
}
Change it to:
export function debugApp(app) {
new sst.DebugStack(app, "debug-stack");
cdk.Tags.of(app).add("test", `${app.stage}-${app.region}`);
}
You can also customize the stack name and the synthesizer.
export function debugApp(app) {
new sst.DebugStack(app, "debug-stack", {
stackName: app.logicalPrefixedName("live-debug"),
synthesizer: new cdk.DefaultStackSynthesizer({
qualifier: 'randchars1234',
}),
});
cdk.Tags.of(app).add("test", `${app.stage}-${app.region}`);
}
Read more about customizing the DebugStack.
Update using:
$ npx sst update 0.65.3
$ yarn sst update 0.65.3