diff --git a/_changelog.md b/_changelog.md index 17399cb4..a394cd11 100644 --- a/_changelog.md +++ b/_changelog.md @@ -6,6 +6,25 @@ Also see: [Architect changelog](https://github.com/architect/architect/blob/main --- +## [8.0.0] 2023-10-17 + +Architect Functions just got a lot faster. Gone are the days of 500-1000ms cold starts due to instantiating the AWS SDK – Functions v8 is now between 7-20x faster to start, and uses 10-20x less memory, courtesy of [aws-lite](https://github.com/architect/aws-lite/)! + + +### Added + +- `arc.tables()` now includes a new DynamoDB client: `_client`, an instantiation of [`@aws-lite/dynamodb`](https://github.com/architect/aws-lite/tree/main/plugins/dynamodb) + - `_client` is largely functionally similar to the AWS SDK's DocumentClient, but a bit less fiddly (we think) + + +### Changed + +- Breaking change: AWS SDK v2 + v3 DynamoDB client + DocumentClient instantiation is now opt-in + - Code depending on `data._db` or `data._doc` must now instantiate with the `awsSdkClient` boolean option, like so: `await arc.tables({ awsSdkClient: true })` + - If you only rely on the DocumentClient (`_doc`), you may want to just try using the new [`@aws-lite/dynamodb`](https://github.com/architect/aws-lite/tree/main/plugins/dynamodb)-based `_client` + +--- + ## [7.0.0] 2023-07-10 ### Added