Serverless Stack Versions Save

Build modern full-stack applications on AWS

v2.39.7

4 months ago

Changes


Update using:

$ npx sst update 2.39.7
$ yarn sst update 2.39.7

v2.39.6

4 months ago

Changes


Update using:

$ npx sst update 2.39.6
$ yarn sst update 2.39.6

v2.39.5

4 months ago

Changes

  • daec2ff64 - Revert adding @smithy/util-endpoints

Update using:

$ npx sst update 2.39.5
$ yarn sst update 2.39.5

v2.39.4

4 months ago

Changes


Update using:

$ npx sst update 2.39.4
$ yarn sst update 2.39.4

v2.39.3

4 months ago

Changes


Update using:

$ npx sst update 2.39.3
$ yarn sst update 2.39.3

v2.39.2

4 months ago

Changes


Update using:

$ npx sst update 2.39.2
$ yarn sst update 2.39.2

v2.39.1

4 months ago

Changes


Update using:

$ npx sst update 2.39.1
$ yarn sst update 2.39.1

v2.39.0

4 months ago

Changes

  • af704d761 - There is a slight breaking change in this release if you are using SST Events with createEventBuilder() - you should receive type errors for all the issues. We now support specifying any validation library so will need to configure that.

To continue using Zod you can specify the validator like so

import { createEventBuilder, ZodValidator } from "sst/node/event-bus"
const event = createEventBuilder({
  bus: "MyBus",
  validator: ZodValidator
})

Additionally we no longer assume you are passing in a zod object as the schema. You'll have to update code from:

const MyEvent = event("my.event", {
  foo: z.string(),
})

to this:

const MyEvent = event("my.event", z.object({
  foo: z.string(),
}))

This also allows you to specify non-objects as the event properties. Additionally, if you were using advanced inference the shape field has been replaced with typeof MyEvent.$input, typeof MyEvent.$output, and typeof MyEvent.$metadata


Update using:

$ npx sst update 2.39.0
$ yarn sst update 2.39.0

v2.38.7

5 months ago

Changes

  • 69b41b9f7 - internal: add back old context implementation

Update using:

$ npx sst update 2.38.7
$ yarn sst update 2.38.7

v2.38.6

5 months ago

Changes


Update using:

$ npx sst update 2.38.6
$ yarn sst update 2.38.6