Skip to content

Commit 6f0799f

Browse files
chore(release): 2.0.0 [skip ci]
# [2.0.0](v1.1.2...v2.0.0) (2021-10-05) ### Features * add update/insert methods that return item ([#7](#7)) ([3dc4466](3dc4466)) ### BREAKING CHANGES * Projection parameter removed from update/insert methods, which are now different methods instead of branching on parameter. e.g. - makeUpdateProperty(id, val, 'Item') == makeUpdateInItem(id, val) - makeUpdateProperty(id, val, 'Attributes') == makeUpdateProperty(id, val)
1 parent 3dc4466 commit 6f0799f

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# [2.0.0](https://github.com/OS-Gurus/dynamodel/compare/v1.1.2...v2.0.0) (2021-10-05)
2+
3+
4+
### Features
5+
6+
* add update/insert methods that return item ([#7](https://github.com/OS-Gurus/dynamodel/issues/7)) ([3dc4466](https://github.com/OS-Gurus/dynamodel/commit/3dc4466a8fccda8368863486af4299739e7e553c))
7+
8+
9+
### BREAKING CHANGES
10+
11+
* Projection parameter removed from update/insert methods, which are now different methods instead of branching on parameter. e.g.
12+
- makeUpdateProperty(id, val, 'Item') == makeUpdateInItem(id, val)
13+
- makeUpdateProperty(id, val, 'Attributes') == makeUpdateProperty(id, val)
14+
115
## [1.1.2](https://github.com/OS-Gurus/dynamodel/compare/v1.1.1...v1.1.2) (2021-10-02)
216

317

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@os-gurus/dynamodel",
3-
"version": "1.1.2",
3+
"version": "2.0.0",
44
"description": "Generate typed methods for DynamoDB models. With special sauce for nested props.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)