sst

SST v2

MIT License

Downloads
117.3K
Stars
21.5K
Committers
318

Bot releases are hidden (Show)

sst - v0.68.1

Published by thdxr over 2 years ago

πŸ› Bug Fix

  • #1508 Fix: do not use dynamic file migrator in production (@thdxr)

Update using:

$ npx sst update 0.68.1
$ yarn sst update 0.68.1
sst - v0.68.0

Published by fwang over 2 years ago

πŸš€ Enhancement

πŸ› Bug Fix

  • #1498 Console: fix KinesisStream consumers not showing in functions tab (@Manitej66)

πŸ“ Documentation


Update using:

$ npx sst update 0.68.0
$ yarn sst update 0.68.0
sst - v0.67.2

Published by thdxr over 2 years ago

πŸš€ Enhancement

  • #1483 Better packaging for @serverless-stack/node (@thdxr)
  • #1459 Console: copy signed url of object instead of s3 url (@Manitej66)

πŸ› Bug Fix

  • #1470 Console: fix undefined error stack trace crash (@fwang)

πŸ“ Documentation

sst - v0.67.0

Published by fwang over 2 years ago

πŸ†• SST Console / API

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.

πŸš€ Enhancement

πŸ“ Documentation


Update using:

$ npx sst update 0.67.0
$ yarn sst update 0.67.0
sst - v0.66.3

Published by fwang over 2 years ago

πŸ› Bug Fix

  • #1449 Function: do not set esbuild "external" without "bundle" is disabled (@fwang)

Update using:

$ npx sst update 0.66.3
$ yarn sst update 0.66.3
sst - v0.66.2

Published by fwang over 2 years ago

πŸš€ Enhancement

  • #1448 sst start: add Lambda contexts required by Lambda power tool logger (@fwang)

πŸ› Bug Fix

  • #1439 sst start: need to hit ctrl-c twice to exit the process (@danieloi)

πŸ“ Documentation

Contributors


Update using:

$ npx sst update 0.66.2
$ yarn sst update 0.66.2
sst - v0.66.1

Published by fwang over 2 years ago

πŸ› Bug Fix

  • #1443 sst start: setting NODE_OPTIONS in Lambda environment causes VSCode breakpoint not working (@fwang)
  • #1441 sst start: fix large payload IllegalLocationConstraintException error in new regions (@fwang)

Update using:

$ npx sst update 0.66.1
$ yarn sst update 0.66.1
sst - v0.66.0

Published by thdxr over 2 years ago

πŸ†• SST Console / DynamoDB

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.
image

πŸš€ Enhancement

  • #1418 Explorer: Dynamo Console (@thdxr)
  • #1413 Allow overriding s3 bucket and function props in debug stack (@fwang)
  • #1431 sst start: show descriptive error message when remote Lambda timed out (@fwang)
  • #1430 sst start: show descriptive message for "Unable to find function" (@fwang)
  • #1412 Auth: import existing UserPool (@fwang)

πŸ› Bug Fix

πŸ“ Documentation

Committers:

sst - v0.65.6

Published by thdxr over 2 years ago

πŸ› Bug Fix

  • #1414 Copy migration to temp file to bust cache (@thdxr)
  • #1411 Check for instanceof DebugStack is not reliable inside DebugApp (@fwang)

πŸ“ Documentation


Update using:

$ npx sst update 0.65.6
$ yarn sst update 0.65.6
sst - v0.65.5

Published by thdxr over 2 years ago

πŸ› Bug Fix

Committers:


Update using:

$ npx sst update 0.65.5
$ yarn sst update 0.65.5
sst - v0.65.4

Published by fwang over 2 years ago

πŸš€ Enhancement

  • #1355 Add AAAA records to support IPv6 for APIs and static sites (@pupeno)

πŸ› Bug Fix

  • #1389 RDS: fix attachPermission does not grant secretsmanager:GetSecretValue (@fwang)

πŸ“ Documentation

  • #1375 Update README instructions for typescript-monorepo example (@abirtley)

Contributors


Update using:

$ npx sst update 0.65.4
$ yarn sst update 0.65.4
sst - v0.65.3

Published by fwang over 2 years ago

Major changes to customizing 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.

What do I need to do

  1. Rename the callback from debugStack(app, stack, props) to debugApp(app);
  2. Create DebugStack inside the debugApp callback;
  new sst.DebugStack(app, "debug-stack");
  1. If you used to reference props.stage, change it to app.stage

Examples

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.

πŸš€ Enhancement

πŸ› Bug Fix

  • #1388 ApiGatewayV1Api: cannot set restApiName (@fwang)

Update using:

$ npx sst update 0.65.3
$ yarn sst update 0.65.3
sst - v0.65.2

Published by fwang over 2 years ago

πŸš€ Enhancement

πŸ“ Documentation

Contributors


Update using:

$ npx sst update 0.65.2
$ yarn sst update 0.65.2
sst - v0.65.1

Published by thdxr over 2 years ago

πŸ†• SST Console / GraphQL

This update features a new GraphQL Explorer that lets you query your GraphQLApi or AppSyncApi directly from the web console.

image

πŸ’₯ Breaking Change to ApolloApi

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
sst - v0.64.1

Published by thdxr over 2 years ago

πŸ†• SST Console / RDS

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
sst - v0.63.0

Published by fwang over 2 years ago

Major changes to 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:

  1. You cannot use a different version of @sls-next/lambda-at-edge
  2. @sls-next/lambda-at-edge is installed even if you are not using the NextjsSite construct

Starting 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.

What do I need to do

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
sst - v0.62.0

Published by thdxr over 2 years ago

πŸ†• SST Console / Cognito

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
sst - v0.61.3

Published by fwang over 2 years ago

Major changes to 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.

Who is affected

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.

πŸš€ Enhancement


Update using:

$ npx sst update 0.61.3
$ yarn sst update 0.61.3
sst - v0.61.2

Published by fwang over 2 years ago

πŸš€ Enhancement

  • #1343 ViteStaticSite: generate types definition for JS projects (@fwang)
  • #1339 Cli: support AWS credentials with assume role and MFA (@fwang)

Update using:

$ npx sst update 0.61.2
$ yarn sst update 0.61.2
sst - v0.61.1

Published by thdxr over 2 years ago

πŸš€ Enhancement

  • #1335 Api: access log retention takes RetentionDays format (@fwang)

πŸ› Bug Fix

Committers:


Update using:

$ npx sst update 0.61.1
$ yarn sst update 0.61.1