Bot releases are hidden (Show)
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
Published by fwang over 2 years ago
Update using:
$ npx sst update 0.65.2
$ yarn sst update 0.65.2
Published by thdxr over 2 years ago
This update features a new GraphQL Explorer that lets you query your GraphQLApi
or AppSyncApi
directly from the web console.
The ApolloApi
has been renamed to GraphQLApi
in preparation for some larger GraphQL focused features. Simply changing your code to use sst.GraphQLApi
is all you should need to do.
Update using:
$ npx sst update 0.65.1
$ yarn sst update 0.65.1
Published by thdxr over 2 years ago
This update features a brand new tab in the SST Console that is meant to be used with our new RDS Construct. You can use the query editor to execute queries to inspect your database or insert new data. You can also use the migrations panel to view all of your migrations and execute them.
Update using:
$ npx sst update 0.64.1
$ yarn sst update 0.64.1
Published by fwang over 2 years ago
NextjsSite
The NextjsSite
construct uses the @sls-next/lambda-at-edge package from the serverless-next.js project to build and package your Next.js app to a structure that can be deployed to Lambda@Edge and CloudFront.
Prior to this release, SST used to include the @sls-next/lambda-at-edge
package as a dependency. It caused two problems:
@sls-next/lambda-at-edge
@sls-next/lambda-at-edge
is installed even if you are not using the NextjsSite
constructStarting with this release, you are responsible for installing @sls-next/lambda-at-edge
as a dependency in your SST app to use the NextjsSite
construct.
npm install -s @sls-next/lambda-at-edge
// or
yarn add @sls-next/lambda-at-edge
That's it! This should be a seamless transition for most people without any code changes. However, if you are hardcoding the bucket name, you need to change the name because this release will replace the bucket, and CloudFormation cannot replace it with the same name. For example, change this:
new NextjsSite(this, "Site", {
path: "path/to/src",
s3Bucket: {
bucketName: "my-bucket",
},
});
to
new NextjsSite(this, "Site", {
path: "path/to/src",
s3Bucket: {
bucketName: "my-new-bucket",
},
});
Update using:
$ npx sst update 0.63.0
$ yarn sst update 0.63.0
Published by thdxr over 2 years ago
This update features a brand new tab in the SST Console. It allows you to explore user pools in your app and create new users or delete existing users.
Update using:
$ npx sst update 0.62.0
$ yarn sst update 0.62.0
Published by fwang over 2 years ago
StaticSite
We made some changes to the StaticSite
, ReactStaticSite
, and ViteStaticSite
constructs to speed up the deployment time.
Prior to this release, on each deployment, the site is deployed to a new folder inside the S3 bucket, and the CloudFront distribution is updated to point to the new folder. This process can sometimes take more than 5 mins. On rare occasions, this process can also causes intermittent downtime for low traffic sites. Starting with this release, the site is deployed to the root of the S3 bucket. And each subsequent deployment overwrites the files of the previous deployment.
This should be a seamless transition for most people without any code changes. However, if you are hardcoding the bucket name, you need to change the name because this release will replace the bucket, and CloudFormation cannot replace it with the same name. For example, change this:
new StaticSite(this, "Site", {
Β Β path: "path/to/src",
Β Β s3Bucket: {
Β Β Β Β bucketName: "my-bucket",
Β Β },
});
to
new StaticSite(this, "Site", {
Β Β path: "path/to/src",
Β Β s3Bucket: {
Β Β Β Β bucketName: "my-new-bucket",
Β Β },
});
This affects the StaticSite
, ReactStaticSite
, and ViteStaticSite
constructs.
Update using:
$ npx sst update 0.61.3
$ yarn sst update 0.61.3
Published by thdxr over 2 years ago
Update using:
$ npx sst update 0.61.1
$ yarn sst update 0.61.1