sst

SST v2

MIT License

Downloads
117.3K
Stars
21.5K
Committers
318

Bot releases are visible (Hide)

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]
sst - v0.41.0

Published by fwang about 3 years ago

πŸš€ Enhancement

  • #786 Script: construct for running scripts during deployment (@fwang)

    new Script(this, "Script", {
      function: "src/script.main",
      params: {
        hello: "world",
        tableName: table.tableName,
      },
    });
    

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

  • #772 Prompt for default stage name (@thdxr)

    What is this change?

    On first run of the CLI, you will be prompted for a default stage name that is used when --stage is not passed in. This is used to keep multiple developers' stacks separated and should be set to a unique value. The CLI will suggest a default stage name based on your AWS IAM username.

    What do I need to change?

    This value is stored in .sst, and it should not be checked into source control. Add .sst to your .gitignore file.

  • #748 Api: Support passing stages (@thdxr)


Update using:

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

Published by fwang about 3 years ago

πŸ› Bug Fix

Committers


Update using:

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

Published by fwang about 3 years ago

πŸš€ Enhancement

  • #767 Api: support route throttling (@fwang)
  • #769 Auth: add cognitoIdentityPoolId property (@fwang)
  • #765 Function: do not reinstall bundle nodeModules (@fwang)

πŸ› Bug Fix

  • #768 sst start: fix --outputs-file option not working (@fwang)

Update using:

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

Published by fwang about 3 years ago

πŸ› Bug Fix

  • #764 Function: Python functions in different stacks cannot share the same srcPath (@fwang)

Update using:

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

Published by fwang about 3 years ago

πŸ› Bug Fix

  • #761 Prevent empty stacks from blocking deployment (@fwang)

πŸ“ Documentation


Update using:

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

Published by thdxr about 3 years ago

πŸš€ Enhancement

  • #743 Disable version reporting to skip unnecessary CF updates (@thdxr)
  • #718 App: Support setting defaultRemovalPolicy (@thdxr)
    import { RemovalPolicy } from "@aws-cdk/core";
    
    export default function main(app: sst.App): void {
      app.setDefaultRemovalPolicy(RemovalPolicy.DESTROY);
    }
    
  • #699 StaticSite: Add support for external domains (@warwickgrigg)
  • #717 Function: infer copyFiles destination from source path (@thdxr)
  • #724 sst start: print error object with full depth (@fwang)

πŸ› Bug Fix

  • #744 Fix issue with inconsistent updates to functions (@thdxr)
  • #731 CLI: Scan recursively to figure out if project is using yarn (@thdxr)
  • #722 sst start: handler function returning function crashes (@fwang)

Committers:


Update using:

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

Published by thdxr about 3 years ago

πŸš€ Enhancement

  • #715 CLI: Hide update command packager output behind verbose flag (@thdxr)

πŸ› Bug Fix

  • #707 CLI: Increase payload limit for Lambda Runtime Server (@thdxr)
  • #708 Function: Throw useful error when copyFiles target does not exist (@thdxr)
  • #705 CLI: Make update more resilient for various configurations (@thdxr)

Update using:

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

Published by thdxr about 3 years ago

πŸš€ Enhancement

  • #703 Update esbuild to 0.12.17 (@thdxr)
  • #702 CLI: Add update command to update SST + related CDK versions (@thdxr)

Committers:


Update using:

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

Published by fwang about 3 years ago

πŸš€ Enhancement

  • #692 Function: support F# .NET runtime (@fwang)
  • #695 Update CDK version to 1.114 (@fwang)
  • #538 AppSyncApi: support multiple schemas (@fwang)
    new AppSyncApi(stack, "Api", {
      graphqlApi: {
        schema: ["schemas/users.graphql", "schemas/posts.graphql"],
      },
    });
    

πŸ› Bug Fix

  • #686 Fix: dotenv does not accept false as valid value to turn off debugging (@thdxr)

Update using:

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

Published by fwang about 3 years ago

πŸš€ Enhancement

  • #678 Function: support .NET runtime (@fwang)
      new sst.Function(this, "Fn", {
        runtime: "dotnetcore3.1",
        srcPath: "src/MyApp",
        handler: "MyApp::MyApp.Api::ListNotes",
      });
    
  • #683 ApolloApi: add serverFunction property (@fwang)
  • #685 Deprecate Node.js 10 (@fwang)

πŸ› Bug Fix

  • #670 Fix for copyFiles because outCode does not reliably return relative path (@thdxr)

Update using:

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

Published by thdxr about 3 years ago

πŸš€ Enhancement

  • #655 Support disabling live development feature (@thdxr)

πŸ› Bug Fix

  • #660 Fix static site looking for build directory when skipping build (@thdxr)
  • #622 Honor a hostedZone construct if given as props (@mtdewers)
  • #644 Queue: Append .fifo to queue name when fifo is true (@thdxr)

πŸ“ Documentation

  • #659 Reorganizing the permissions related docs (@jayair)

Committers:


Update using:

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

Published by thdxr about 3 years ago

πŸš€ Enhancement

  • #642 StaticSite: Support environment property in StaticSite (@thdxr)
  • #636 Function: Support copyFiles regardless of runtime (@thdxr)

Update using:

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