sst

SST v2

MIT License

Downloads
117.3K
Stars
21.5K
Committers
318

Bot releases are hidden (Show)

sst - v1.1.0

Published by fwang over 2 years ago

πŸš€ Enhancement

  • Update CDK to v2.24.0
  • Support "nodejs16.x" Lambda runtime

Update using:

$ npx sst update v1.1.0
$ yarn sst update v1.1.0
sst - v1.0.6

Published by thdxr over 2 years ago

πŸš€ Enhancement

  • Support passing schema directly in graphql handler

Update using:

$ npx sst update v1.0.6
$ yarn sst update v1.0.6
sst - v1.0.4

Published by thdxr over 2 years ago

πŸš€ Enhancement

  • #1671 Update CDK to 2.22.0 (@fwang)
  • Fix windows issue with create-sst
  • Add getStack and dependsOn utilities for functional stacks
  • Loosen typing on Api Authorizers

πŸ› Bug Fix

  • #1670 Cli: hide site env in deploy output if no env (@fwang)

Update using:

$ npx sst update v1.0.4
$ yarn sst update v1.0.4
sst - v1.0.2

Published by thdxr over 2 years ago

πŸ› Bug Fix

  • Fix create-sst javascript starter to not include typescript references
  • Fix functions with periods in the name

Update using:

$ npx sst update v1.0.1
$ yarn sst update v1.0.1
sst - v1.0.0

Published by fwang over 2 years ago

Announcement time! + a surprise!

After having v1 in beta for a month, SST v1 is finally out! We really appreciate all the folks that tried it out and gave us their feedback.

Moving forward we'll stop adding updates to v0. But we are here, in case anybody needs help migrating to v1. v1 gives us a good base to build on and we've got some exciting features lined up!

A conference??

With SST v1, we are entering into a new phase of development. We wanted to do something special to commemorate the v1 launch. So we are putting together a virtual event for it!

SST 1.0 Conf is a free virtual event happening on May 17th at 9am PDT. We've got a couple of folks from Comcast, The LEGO Group, Shell, and Analog Devices that'll be speaking. A couple of us from the SST team will be doing workshops as well. If you'd like to give a talk, here's a little form we'd like you to fill out. All the talks will be super short, around 10 minutes: https://forms.gle/KTdbCLUy5oNwos2m7

We'll share more details about the conference in a couple of days but we wanted to give you all a heads up before we share it with the world. We want to use this event as a way to bring our community together and to share what we've all learnt!

Cue the excitement! πŸŽ‰

Migrating to v1

Follow the steps in the migration guide to update.

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.

sst - v1.0.0-beta.25

Published by fwang over 2 years ago

πŸš€ Enhancement

πŸ› Bug Fix

Contributors


Update using:

$ npx sst update v1.0.0-beta.25
$ yarn sst update v1.0.0-beta.25
sst - v1.0.0-beta.23

Published by fwang over 2 years ago

πŸš€ Enhancement

  • #1652 Cli: handle CDKToolkit bootstrap stack stuck in REVIEW_IN_PROGRESS (@fwang)

πŸ› Bug Fix

  • #1653 Cli: using aws-vault causes invalid credentials for boto3 (@fwang)

Update using:

$ npx sst update v1.0.0-beta.23
$ yarn sst update v1.0.0-beta.23
sst - v1.0.0-beta.22

Published by fwang over 2 years ago

πŸš€ Enhancement

πŸ› Bug Fix

  • #1646 Cli: fix "stack does not exist" error for stacks with customized names (@fwang)

Update using:

$ npx sst update v1.0.0-beta.22
$ yarn sst update v1.0.0-beta.22
sst - v0.69.7

Published by fwang over 2 years ago

πŸ› Bug Fix

  • #1647 Cli: fix "stack does not exist" error for stacks with customized names (@fwang)

Update using:

$ npx sst update v0.69.7
$ yarn sst update v0.69.7
sst - v1.0.0-beta.21

Published by fwang over 2 years ago

πŸš€ Enhancement

  • #1626 Update CDK to 2.20.0 (@fwang)

  • #1632 Function: support configuring disk size (@fwang)

    new Function(stack, "MyFunction", {
      handler: "src/lambda.handler",
      diskSize: "2 GB",
    })
    
  • #1631 AppSyncApi: support custom domain (@fwang)

    new AppSyncApi(stack, "GraphqlApi", {
      schema: "graphql/schema.graphql",
      customDomain: "api.domain.com",
    });
    

πŸ› Bug Fix

πŸ“ Documentation

  • #1553 Fix invalid typescript monorepo example name (@ilumin)

Contributors


Update using:

$ npx sst update v1.0.0-beta.21
$ yarn sst update v1.0.0-beta.21
sst - v1.0.0-beta.20

Published by fwang over 2 years ago

πŸš€ Enhancement

  • #1618 Lift commonly used props (@fwang)
    • Function: runtime supports type sst.Duration
    • Table: lift cdk.index.projecton to projection for global and secondary indexes
    • Auth: lift cdk.cognito.signInAliases to login

πŸ› Bug Fix

  • #1582 Fix ENOENT error when spawning the ".bin/cdk" binary wrapper (@octogonz)
  • #1588 Change how aws-lambda-ric module is resolved and spawned (@fkjellberg)
  • #1619 Fix cdk binary not found when pnpm is used (@fwang)

πŸ“ Documentation

Contributors


Update using:

$ npx sst update v1.0.0-beta.20
$ yarn sst update v1.0.0-beta.20
sst - v0.69.6

Published by fwang over 2 years ago

πŸ› Bug Fix

  • #1582 Fix ENOENT error when spawning the ".bin/cdk" binary wrapper (@octogonz)
  • #1588 Change how aws-lambda-ric module is resolved and spawned (@fkjellberg)
  • #1619 Fix cdk binary not found when pnpm is used (@fwang)

Contributors


Update using:

$ npx sst update v0.69.6
$ yarn sst update v0.69.6
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