sst

SST v2

MIT License

Downloads
117.3K
Stars
21.5K
Committers
318

Bot releases are hidden (Show)

sst - v0.32.1

Published by fwang over 3 years ago

πŸ› Bug Fix

  • #533 create-serverless-stack: default runtime not set for tests in the non-Node.js templates (@fwang)
  • #536 sst start: importing file fails with ModuleNotFoundError for Python runtimes (@fwang)

πŸ“ Documentation

  • #524 docs(deploying-your-app) Fix small typo (@InfraK)

Contributors:


Update using:

$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
sst - v0.32.0

Published by fwang over 3 years ago

πŸš€ Enhancement

πŸ“ Documentation


Update using:

$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
sst - v0.31.0

Published by fwang over 3 years ago

πŸš€ Enhancement

  • #516 Api: check for duplicated routes at build time (@fwang)
  • #515 Function: support custom install commands for Python runtime (@fwang)
  • #511 Cron: allow configuring event payload (@fwang)

πŸ› Bug Fix

  • #510 AppSyncApi: do not normalize resolver key cases (@fwang)

πŸ“ Documentation

  • #497 Dynamically generating social cards for docs (@jayair)

Update using:

$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
sst - v0.30.0

Published by fwang over 3 years ago

πŸš€ Enhancement

  • #498 Function: add bundling command hooks (@fwang)

Update using:

$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
sst - v0.29.5

Published by fwang over 3 years ago

πŸ› Bug Fix

  • #495 StaticSite: fixing spelling mistake in static site stub (@jayair)

Update using:

$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
sst - v0.29.4

Published by fwang over 3 years ago

πŸ› Bug Fix

  • #494 Fix missing module lambda-layer-awscli (@fwang)

Update using:

$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
sst - v0.29.3

Published by fwang over 3 years ago

Highlights

A couple of optimizations made to the StaticSite:

  • when you sst deploy and the site hasn’t changed, SST will skip uploading the files to S3 and invalidating CloudFront cache. This will save you a couple of minutes per deploy when you are just working on your backend.
  • when you sst start, SST will deploy a placeholder site, and will not re-deploy on changes. This is to ensure sst start always start up quickly. And it’s assumed that you have your website running locally when you are working on it.

πŸš€ Enhancement

  • #493 StaticSite: generate deploy id based on content hash (@fwang)
  • #491 StaticSite: skip building on sst start (@fwang)
  • #481 App: add account property (@fwang)

πŸ› Bug Fix

  • #480 StaticSite: skip building on sst remove (@fwang)

πŸ“ Documentation

  • #479 Updating docs with new error page option (@jayair)

Update using:

$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
sst - v0.29.2

Published by fwang over 3 years ago

πŸš€ Enhancement

  • #478 StaticSite: add error page option to auto-redirect to the index page (@fwang)

We made a minor change to how StaticSite handle 404 pages for SPAs (ie. React, Vue, Angular). If you are using StaticSite to deploy SPAs, make sure to configure errorPage like this:

 import { StaticSite, StaticSiteErrorOptions } from "@serverless-stack/resources";
 new StaticSite(this, "ReactSite", {
   path: "path/to/src",
+  errorPage: StaticSiteErrorOptions.REDIRECT_TO_INDEX_PAGE,
   buildCommand: "npm run build",
   buildOutput: "build",
 });

πŸ› Bug Fix

  • #477 StaticSite: fix custom resource permission denied error (@fwang)

Update using:

$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
sst - v0.29.1

Published by fwang over 3 years ago

Revert #476 App: add account property (@fwang)


Update using:

$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
sst - v0.29.0

Published by fwang over 3 years ago

πŸš€ Enhancement

  • #476 App: add account property (@fwang)
  • #475 StaticSite: support granular cacheControl and variable replacement (@fwang)

πŸ“ Documentation


Update using:

$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
sst - v0.28.1

Published by fwang over 3 years ago

πŸ› Bug Fix

  • #468 sst start: .env variables not available when deploying debug stack (@fwang)
  • #465 Api: support setting domain to an SSM value (@fwang)

Update using:

$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
sst - v0.28.0

Published by fwang over 3 years ago

πŸš€ Enhancement

  • #463 StaticSite: allow configuring the default behaviour (@fwang)

πŸ“ Documentation

  • #449 Updating VS Code docs with the --increase-timeout option (@jayair)

Update using:

$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
sst - v0.27.0

Published by fwang over 3 years ago

πŸš€ Enhancement

  • #444 CLI: Add --role-arn option to take a CloudFormation execution role (@fwang)

Update using:

$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
sst - v0.26.1

Published by fwang over 3 years ago

πŸ› Bug Fix

  • #443 ApiGatewayV1Api: create Deployment resource when the REST Api is imported (@fwang)

πŸ“ Documentation

Contributors:


Update using:

$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
sst - v0.26.0

Published by fwang over 3 years ago

πŸ’₯ Breaking Change

AppSyncApi: if you are using the AppSyncApi construct, existing resolvers need to be removed, and then added back. To add a bit of background, Resolvers were previously created within a DataSource's construct scope. When you try to update the DataSource for the resolver, deployment will fail with the CloudFormation error Only one resolver is allowed per field. By creating the Resolvers within the AppSyncApi's construct scope, this error will not happen. But to make this change, existing resolvers need to be removed; and then add them back in the next deployment. Read more about the issue here - https://github.com/serverless-stack/serverless-stack/issues/417

πŸš€ Enhancement

  • #427 StaticSite: do not run build command on sst remove (@fwang)
  • #430 sst start: add --increase-timeout flag to allow testing with breakpoints (@fwang)
  • #429 sst start: expose the app and the stack constructs in the debug stack (@fwang)

πŸ› Bug Fix

  • #418 AppSyncApi: create resolver from the api not datasource (@mmccall10)
  • #425 StaticSite: create certificate in us-east-1 region (@fwang)

Contributors:


Update using:

$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
sst - v0.25.1

Published by fwang over 3 years ago

πŸ› Bug Fix

  • #425 StaticSite: create certificate in us-east-1 region (@fwang)

Update using:

$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
sst - v0.25.0

Published by fwang over 3 years ago

πŸš€ Enhancement

  • #422 Function: merge inline layers with defaultFunctionProps (@fwang)
  • #420 Bucket: expose bucketArn and bucketName props (@fwang)
  • #419 StaticSite: add construct for static websites (@fwang)

πŸ“ Documentation

Contributors:


Update using:

$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
sst - v0.24.0

Published by fwang over 3 years ago

πŸš€ Enhancement

  • #410 sst diff: compare and diff local CF templates against the deployed stacks (@fwang)

    You can run sst diff to compare the current version of stacks in your app with the already-deployed version.

    # Diff all stacks
    npx sst diff
    
    # Diff a specific stack
    npx sst diff api-stack
    

πŸ› Bug Fix

  • #409 Function: fix Python handler with multiple parts not set properly (@fwang)

πŸ“ Documentation

Contributors:


Update using:

$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
sst - v0.23.0

Published by fwang over 3 years ago

πŸš€ Enhancement

  • #397 Table: add support for Kinesis Data Streams (@fwang)
  • #402 sst start: extend Function timeout to 900s (@fwang)
  • #401 sst start: disable Function retry (@fwang)

πŸ› Bug Fix

  • #398 sst deploy/remove: exit with code 1 if stacks failed to deploy or remove (@fwang)

Update using:

$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
sst - v0.22.0

Published by fwang over 3 years ago

πŸš€ Enhancement

πŸ› Bug Fix

  • #393 sst start: fix rebuilding code message not shown when lint and typeCheck are disabled (@fwang)
  • #392 sst start: fix Lambda watcher not able to run for non-NodeJS functions (@fwang)

Update using:

$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]