Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanblock committed Oct 18, 2023
1 parent c614a4b commit 97f2071
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions _changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 97f2071

Please sign in to comment.