sst

SST v2

MIT License

Downloads
117.3K
Stars
21.5K
Committers
318

Bot releases are visible (Hide)

sst - v1.0.0-beta.9

Published by thdxr over 2 years ago

πŸš€ Enhancement

πŸ› Bug Fix

Committers:


Update using:

$ npx sst update v1.0.0-beta.9
$ yarn sst update v1.0.0-beta.9
sst - v0.69.5

Published by fwang over 2 years ago

πŸ› Bug Fix

  • #1605 Cli: fix missing region in config error (@fwang)
  • #1603 Cli: stack xxxx does not exist error on successful deploy (@fwang)

Update using:

$ npx sst update 0.69.5
$ yarn sst update 0.69.5
sst - v0.69.4

Published by thdxr over 2 years ago

πŸ› Bug Fix

πŸ“ Documentation

Committers


Update using:

$ npx sst update 0.69.4
$ yarn sst update 0.69.4
sst - v1.0.0-beta.5

Published by thdxr over 2 years ago

πŸ’₯ v1 Beta is here

The problems we are trying to address

There are a couple of common issues we've observed with people using SST:

  1. How do I know a prop I'm configuring is a CDK prop vs a SST prop?
    • And related, do I need to read CDK docs and import CDK dependencies?
  2. How to configure underlying CDK constructs?
  3. How to access the CDK constructs created internally inside an SST construct?
  4. Lack of warnings when specifying invalid construct props
  5. Having to constantly visit the SST docs

The fix

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.

sst - v0.69.3

Published by fwang over 2 years ago

πŸš€ Enhancement

πŸ› Bug Fix

  • #1566 sst-env: fix cannot find environment when custom stack names are used (@hans-m-song)
  • #1571 Fix "Cannot find app handler" when using custom file name in sst.json main entry (@fwang)
  • #1559 Cli: handle previous exports not imported for auto export check (@fwang)

πŸ“ Documentation

Contributors


Update using:

$ npx sst update 0.69.3
$ yarn sst update 0.69.3
sst - v0.69.2

Published by fwang over 2 years ago

πŸ› Bug Fix


Update using:

$ npx sst update 0.69.2
$ yarn sst update 0.69.2
sst - v0.69.1

Published by fwang over 2 years ago

Changes to 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.

πŸš€ Enhancement

  • #1541 StaticSite: support removing old files (@fwang)
  • #1533 StaticSite: replace environment in all html files (@fwang)

πŸ“ Documentation

Contributors


Update using:

$ npx sst update 0.69.1
$ yarn sst update 0.69.1
sst - v0.69.0

Published by thdxr over 2 years ago

πŸš€ Enhancement

πŸ“ Documentation

Committers


Update using:

$ npx sst update 0.69.0
$ yarn sst update 0.69.0
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