sst

SST v2

MIT License

Downloads
117.3K
Stars
21.5K
Committers
318

Bot releases are hidden (Show)

sst - v0.47.1

Published by thdxr about 3 years ago

πŸ› Bug Fix

  • Pass IS_LOCAL environment variable through to functions

Update using:

$ npx sst update 0.47.1
$ yarn sst update 0.47.1
sst - v0.47

Published by thdxr about 3 years ago

❗ Significant Changes

This update contains a large change to how your lambdas are executed locally and lowers latency of invoking warmed functions by 2-3x. We've been using this build for the past 2 weeks but there is a chance there are bugs we weren't able to catch so please wait to upgrade if you don't want to risk disruption to your team's local development.

There's no changes to your deployment environments

πŸš€ Enhancement


Update using:

$ npx sst update 0.47
$ yarn sst update 0.47
sst - v0.46.1

Published by thdxr about 3 years ago

πŸš€ Enhancement

  • #919 CLI: Support --rollback option. Default to false for sst start (@thdxr)
  • #918 Function: Allow disabling minification (@thdxr)

πŸ› Bug Fix

  • #923 StaticSite: fix 404 error on distribution cache invalidation (@fwang)

Update using:

$ npx sst update 0.46.1
$ yarn sst update 0.46.1
sst - v0.46.0

Published by fwang about 3 years ago

πŸ’₯ Breaking Change

Script: there is a change to the input format to support onCreate, onUpdate, and onDelete lifecycle events. Read more about it here - https://docs.serverless-stack.com/constructs/Script#upgrading-to-v0460

πŸš€ Enhancement

  • #910 Update CDK to v1.126.0 (@fwang)
  • #914 Script: run script on remove (@fwang)
  • #911 Stack: do not enforce stack name starts with stage name (@fwang)
  • #898 StaticSite: allow for Constant in replaceValues (@iDVB)

πŸ› Bug Fix

  • #909 fix: Remove package.json dependency of deprecated crypto package (@ctrlplusb)
  • #906 WebSocketApi: fix AuthorizerResultTtlInSeconds cannot be set for WEBSOCKET protocol Apis (@fwang)
  • #907 create-serverless-stack: Correct include path in tsconfig (@rcoundon)

Contributors:


Update using:

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

Published by thdxr about 3 years ago

πŸš€ Enhancement

  • #897 Table: implements addGlobalIndexes and addLocalIndexes (@thdxr)
    Deprecation notice: This release deprecates the secondaryIndexes prop and renames it to globalIndexes. It will continue to work but will be removed at a later date
  • #887 Function: Minify nodejs bundle (@thdxr)

πŸ› Bug Fix

πŸ“ Documentation

Committers:


Update using:

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

Published by fwang about 3 years ago

πŸš€ Enhancement

πŸ› Bug Fix

  • #877 NextjsSite: fix alias already exist error on subsequent deploys (@fwang)

Update using:

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

Published by fwang about 3 years ago

πŸš€ Enhancement

  • #871 NextjsSite: support deploying to all regions (@fwang)
  • #864 SST Update: Allow specifying version + do not require stage name (@thdxr)

πŸ› Bug Fix

  • #863 SST Update: Read package.json manually instead of using require (@thdxr)

πŸ“ Documentation


Update using:

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

Published by fwang about 3 years ago

πŸš€ Enhancement

πŸ“ Documentation


Update using:

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

Published by thdxr about 3 years ago

πŸ› Bug Fix

  • Fix issue with typescript dependency not being included

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

Published by thdxr about 3 years ago

πŸš€ Enhancement

  • #858 Typescript update to 4.4.3 (@thdxr)
  • #843 Function: Preserve original path when bundling js (@thdxr)

Update using:

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

Published by fwang about 3 years ago

πŸš€ Enhancement

  • #807 Function: allow keepNames and define esbuild config options (@KinnersleyM)

Contributors


Update using:

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

Published by thdxr about 3 years ago

πŸ› Bug Fix

  • Fix issue with create-serverless-stack pointing to typescript stack

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

Published by fwang about 3 years ago

πŸš€ Enhancement

πŸ› Bug Fix

  • #853 NextjsSite: support non-public environment in server side rendering (@fwang)
  • #852 sst deploy: build errors do not terminate the command (@fwang)
  • #842 Trim stage input to avoid empty stage names (@thdxr)

πŸ“ Documentation

Contributors


Update using:

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

Published by fwang about 3 years ago

πŸ› Bug Fix

  • #833 StaticSite: Extended boto3 client timeout (@iDVB)
  • #841 NextjsSite: support environments in SSG prefetched data (@fwang)

Contributors


Update using:

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

Published by fwang about 3 years ago

πŸ› Bug Fix

  • #830 NextjsSite: support environments in dynamically generated pages (@fwang)

πŸ“ Documentation

Contributors:


Update using:

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

Published by fwang about 3 years ago

πŸ› Bug Fix

  • #825 NextjsSite: use placeholder function when the api, image or regenerate features are not used (@fwang)

πŸ“ Documentation


Update using:

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

Published by fwang about 3 years ago

πŸš€ Enhancement

  • #823 NextjsSite: support deploying Next.js sites (@fwang)
new NextjsSite(this, "Site", {
  path: "path/to/site",
  environment: {
    NEXT_PUBLIC_API_URL: api.url,
    NEXT_PUBLIC_USER_POOL_CLIENT: auth.cognitoUserPoolClient.userPoolClientId,
  },
});

More examples here - https://docs.serverless-stack.com/constructs/NextjsSite#examples


Update using:

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

Published by thdxr about 3 years ago

v0.42.1

πŸš€ Enhancement

  • #820 StaticSitic: Add 'disablePlaceholder' boolean to StaticSite props (@phausken)

πŸ› Bug Fix

  • #812 Correctly load .env.test variables when running tests. (@iamdavidmartin)
  • Strip invalid stack characters from suggested stage name (@thdxr)

Committers: 2


Update using:

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

Published by thdxr about 3 years ago

πŸ’₯ Breaking Change

setDefaultFunctionProps: #789 New apis for default props (@thdxr). This has a breaking change with how setDefaultFunctionProps works. You can read the migration guide on how to upgrade.

πŸš€ Enhancement

  • #809 Add ARN property to API stack (@phausken)
  • #804 Now you can use create-serverless-stack to create a project based off of our examples with
$ yarn create serverless-stack --example queue
$ npm init serverless-stack --example queue

Committers


Update using:

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

Published by thdxr about 3 years ago

πŸ› Bug Fix

  • #801 CLI: Clear cache when updating package version (@thdxr)
  • #796 Bucket: Do not recreate deletion function if it exists (@thdxr)
  • #799 Function: Remove readonly for exported types (@thdxr)

Update using:

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