sst

SST v2

MIT License

Downloads
117.3K
Stars
21.5K
Committers
318

Bot releases are hidden (Show)

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

Published by fwang about 3 years ago

πŸš€ Enhancement

  • #640 EventBus: add high level construct for AWS EventBridge (@fwang)
    import { EventBus } from "@serverless-stack/resources";
    
    new EventBus(this, "MyBus", {
      rules: {
        myRule: {
          eventPattern: { source: ["aws.codebuild"] },
          targets: ["src/target1.main", "src/target2.main"],
        },
      },
    });
    

Update using:

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

Published by fwang about 3 years ago

πŸš€ Enhancement

  • #620 Api: support $default catch-all route (@fwang)
    new Api(this, "Api", {
      routes: {
        "GET /notes"   : "src/list.main",
        "POST /notes"  : "src/create.main",
        "$default"     : "src/default.main",
      },
    });
    
  • #618 Api: add support for HTTP proxy routes (@fwang)
    new Api(this, "Api", {
      routes: {
        "GET /": {
          url: "http://domain.com",
        },
      },
    });
    
  • #621 ApolloApi: create 1 Lambda handler for both GET and POST routes (@fwang)
  • #616 sst start: print descriptive error message for handler not found (@fwang)

πŸ› Bug Fix

  • #619 Api: add trailing slash to custom domain url (@fwang)

Update using:

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

Published by fwang about 3 years ago

πŸš€ Enhancement

  • #610 sst start: force include aws-sdk as esbuild externals (@fwang)
  • #609 StaticSite: allow extending the function for creating Route 53 records (@fwang)

πŸ› Bug Fix

  • #613 StaticSite: check path and buildOutput exist on build (@fwang)
  • #611 sst start: crash if functions has multiple dot in the handler (@fwang)
  • #612 ReactStaticSite: display environment variables in sst deploy output (@fwang)

πŸ“ Documentation

  • #607 Adding React.js + Cognito auth example (@jayair)
  • #599 Doc: add TypeScript examples for cross stack references (@fwang)

Update using:

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

Published by fwang about 3 years ago

πŸš€ Enhancement

  • #595 sst start: send descriptive error response when disconnected (@fwang)
  • #590 Function: support sharing layers across stacks (@fwang)
  • #594 sst test: support .env environment variables for running tests (@fwang)
  • #586 Template: add python compiled files to .gitignore (@fwang)
  • #587 Template: add .env to starter template (@fwang)

πŸ› Bug Fix

  • #591 ApolloApi: fix CORS not working if authorization is enabled (@fwang)

Update using:

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

Published by fwang about 3 years ago

πŸš€ Enhancement

  • #564 Core: Allow custom path for app entry in sst config (@geekmidas)
  • #575 Core: Support esbuild config in sst config (@erikm-icario)
  • #578 ReactStaticSite: display React environment variables after deploying (@fwang)
  • #571 Stack: improve error messaging for invalid stack props (@fwang)
  • #576 Api: support ALB routes (@fwang)

πŸ“ Documentation

  • #574 Doc: explain the design choice behind using esbuild (@fwang)
  • #573 Migration guide: add an example of hybrid multi-service Serverless Framework and SST app (@fwang)

Contributors

sst - v0.34.0

Published by fwang over 3 years ago

πŸš€ Enhancement

  • #566 Bucket: support Queue and Topic notifications (@fwang)
  • #563 StaticSite: support sites larger than 500MB (@fwang)

πŸ“ Documentation


Update using:

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

Published by fwang over 3 years ago

πŸš€ Enhancement

πŸ“ Documentation

  • #554 Adding docs for ReactStaticSite and sst-env (@jayair)

Contributors


Update using:

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

Published by fwang over 3 years ago

πŸš€ Enhancement

  • #525 ReactStaticSite: new React SPA construct with React environment variable integration (@fwang)
    new ReactStaticSite(this, "ReactSite", {
      path: "path/to/react-app",
      environment: {
        REACT_APP_API_URL: api.url,
        REACT_APP_USER_POOL_CLIENT: auth.cognitoUserPoolClient.userPoolClientId,
      },
    });
    
    More examples here - https://docs.serverless-stack.com/constructs/ReactStaticSite
  • #550 Function: add .jsx and .tsx extension support (@geekmidas)

Contributors


Update using:

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