sst

SST v2

MIT License

Downloads
117.3K
Stars
21.5K
Committers
318

Bot releases are visible (Hide)

sst - v1.6.4

Published by github-actions[bot] about 2 years ago

Changes

  • 1618cd8d5 - Support banner option in node functions

Update using:

$ npx sst update v1.6.4
$ yarn sst update v1.6.4
sst - v1.6.3

Published by github-actions[bot] about 2 years ago

Changes

  • 51efb4ff5 - create-sst stack should be ESM by default

Update using:

$ npx sst update v1.6.3
$ yarn sst update v1.6.3
sst - v1.6.2

Published by github-actions[bot] about 2 years ago

Changes

  • #1904 9da24d49c - Created internal EdgeFunction construct to use for RemixSite
  • 3c135fb0d - Add initial questions to create-sst
  • 05fc58ea0 - Fix typos in create-sst for graphql stack

Update using:

$ npx sst update v1.6.2
$ yarn sst update v1.6.2
sst - v1.6.1

Published by github-actions[bot] over 2 years ago

Changes


Update using:

$ npx sst update v1.6.1
$ yarn sst update v1.6.1
sst - v1.6.0

Published by github-actions[bot] over 2 years ago

Changes

  • #1898 4bfd5915c - RDS: support importing existing Aurora Serverless v1 cluster
import * as rds from "aws-cdk-lib/aws-rds";
import * as secretsManager from "aws-cdk-lib/aws-secretsmanager";

new RDS(stack, "Database", {
  engine: "postgresql10.14",
  defaultDatabaseName: "acme",
  cdk: {
    cluster: rds.ServerlessCluster.fromServerlessClusterAttributes(stack, "ICluster", {
      clusterIdentifier: "my-existing-cluster",
    }),
    secret: secretsManager.Secret.fromSecretAttributes(stack, "ISecret", {
      secretPartialArn: "arn:aws:secretsmanager:us-east-1:123456789012:secret:my-secret",
    }),
  },
});

Read more about importing existing Serverless v1 clusters here - https://docs.sst.dev/constructs/RDS#import-existing-rds-serverless-v1-cluster


Update using:

$ npx sst update v1.6.0
$ yarn sst update v1.6.0
sst - v1.5.2

Published by github-actions[bot] over 2 years ago

Changes

  • #1896 5ed4f185b - Examples: updated Remix example to demonstrate quering DyanmoDB table

Update using:

$ npx sst update v1.5.2
$ yarn sst update v1.5.2
sst - v1.5.1

Published by github-actions[bot] over 2 years ago

Changes

  • bb2d93c40 - Bug fix for multi region stacks crashing sst start

Update using:

$ npx sst update v1.5.1
$ yarn sst update v1.5.1
sst - v1.5.0

Published by github-actions[bot] over 2 years ago

Changes


Update using:

$ npx sst update v1.5.0
$ yarn sst update v1.5.0
sst - v1.4.1

Published by github-actions[bot] over 2 years ago

Changes

  • 02d5c7ee9 - Fix CORS issue on ping endpoint for console testing websocket

Update using:

$ npx sst update v1.4.1
$ yarn sst update v1.4.1
sst - v1.4.0

Published by github-actions[bot] over 2 years ago

Launching RemixSite

It lets you deploy Remix apps to AWS with ease!

new RemixSite(stack, "Site", {
  path: "my-remix-app/"
});

Similar to other SST Site constructs, you can configure:

  • Custom domains;
  • Environment variables, so you can reference AWS resources in Remix loaders/actions with process.env.API_URL

Learn more https://docs.sst.dev/constructs/RemixSite

🌐 Single-Region vs Edge

RemixSite offers two deployment modes: Single-Region and Edge. Single-Region is the default behavior, and likely the better choice for your setup. If you want to deploy to Edge in spite of watching the Ending edge function hype video, enable the edge flag, and the Remix app server will be deployed to Lambda@Edge.

new RemixSite(stack, "Site", {
  path: "my-remix-app/",
  edge: true,
});

πŸ—“οΈ Launch Live Stream

We will be hosting a live event on July 19th at 9am PDT. We'll be diving into the details of RemixSite, and answering some questions from the community.

https://www.youtube.com/watch?v=ZBbRZTTCwvU

Set a reminder!

πŸ™Œ Hugs

Finally, big hugs to @ctrlplusb. Sean's awesome PR taught me all about Remix; how the server is bundled; and how to wrap the bundle into a Lambda function - https://github.com/serverless-stack/sst/pull/1800

Changes


Update using:

$ npx sst update v1.4.0
$ yarn sst update v1.4.0
sst - v1.3.0

Published by github-actions[bot] over 2 years ago

Changes

  • #1871 d3c30eb5b - Auth: make "attachPermissionsToAuthUsers" take scope to control stack dependencies when referening resources from another stack

Auth.attachPermissionsForAuthUsers() and Auth.attachPermissionsForUnauthUsers() now take a scope as the first argument. Previously, when attaching permissions, the IAM policies were always added to Auth's stack. This means that when attaching permissions from another stack, it will create a stack dependency. In some cases, this can lead to a cyclic dependency. For example:

// AuthStack.ts
const auth = new Auth(stack, "auth");
return { auth };

// ApiStack.ts
const { auth } = use(AuthStack);
const api = new Api(stack, "api", {
  defaults: {
    function: {
      environment: {
        // This causes ApiStack depend on AuthStack
        USER_POOL_ID: auth.userPooldId,
      }
    }
  }
});

// This causes AuthStack depend on ApiStack
auth.attachPermissionsForAuthUsers([api]);

Instead, if the IAM policies were added to the ApiStack, AuthStack would no longer depend on ApiStack, breaking the cyclic dependency. You can do that:

auth.attachPermissionsForAuthUsers(stack, permissions)

And if you want to preserve the previous behavior:

// Change
auth.attachPermissionsForAuthUsers([api]);
// to
auth.attachPermissionsForAuthUsers(auth, [api]);
  • 430549cc8 - sst console: fix undefined port in the console link

Update using:

$ npx sst update v1.3.0
$ yarn sst update v1.3.0
sst - v1.2.36

Published by github-actions[bot] over 2 years ago

Changes

  • 61b63d542 - Better demonstrate Go functions
  • d8f3ac70e - Allow latest typescript in create-sst

Update using:

$ npx sst update v1.2.36
$ yarn sst update v1.2.36
sst - v1.2.35

Published by github-actions[bot] over 2 years ago

Changes

  • d8b082914 - Cleanup some issues with create-sst templates

Update using:

$ npx sst update v1.2.35
$ yarn sst update v1.2.35
sst - v1.2.34

Published by github-actions[bot] over 2 years ago

Changes

  • 611f80ab5 - Fix issues with DynamoDB starter

Update using:

$ npx sst update v1.2.34
$ yarn sst update v1.2.34
sst - v1.2.33

Published by github-actions[bot] over 2 years ago

Changes

  • cf0f81a77 - Flip create-sst to default to new stack

Update using:

$ npx sst update v1.2.33
$ yarn sst update v1.2.33
sst - v1.2.32

Published by github-actions[bot] over 2 years ago

Changes

  • #1633 8d4ce71ca - Support SSL cert generation for local server enabling Safari and Brave support

Update using:

$ npx sst update v1.2.32
$ yarn sst update v1.2.32
sst - v1.2.31

Published by github-actions[bot] over 2 years ago

Changes

  • 8a980a704 - Fix issue with cloning examples using create-sst

Update using:

$ npx sst update v1.2.31
$ yarn sst update v1.2.31
sst - v1.2.30

Published by github-actions[bot] over 2 years ago

Changes

  • 8908e35b5 - Fix issue with create-sst when using minimal starters

Update using:

$ npx sst update v1.2.30
$ yarn sst update v1.2.30
sst - v1.2.29

Published by github-actions[bot] over 2 years ago

Changes

  • #1839 75145db8 - Warm up RDS instance on sst start in case it's asleep

Update using:

$ npx sst update v1.2.29
$ yarn sst update v1.2.29
sst - v1.2.28

Published by github-actions[bot] over 2 years ago

Changes

  • #1840 54d794ef - RDS: fix migration error causes deploy to hang for 1 hour

Update using:

$ npx sst update v1.2.28
$ yarn sst update v1.2.28