Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: aecorredor/typedorm

Tags

v1.16.0-beta.2

Toggle v1.16.0-beta.2's commit message
chore(release): 1.16.0-beta.2 [skip ci]

# [1.16.0-beta.2](typedorm/typedorm@v1.16.0-beta.1...v1.16.0-beta.2) (2023-03-26)

### Features

* **document-client:** expose translateConfig options to DocumentClientV3 ([03f4343](typedorm@03f4343))

v1.16.0-beta.1

Toggle v1.16.0-beta.1's commit message
chore(release): 1.16.0-beta.1 [skip ci]

# [1.16.0-beta.1](typedorm/typedorm@v1.15.4-beta.1...v1.16.0-beta.1) (2023-03-08)

### Features

* add schemaVersionAttribute option to enable schema versioning ([7856e29](typedorm@7856e29))

v1.15.4

Toggle v1.15.4's commit message
chore(release): 1.15.4 [skip ci]

## [1.15.4](typedorm/typedorm@v1.15.3...v1.15.4) (2023-02-28)

### Bug Fixes

* reset changelog file ([d0c2e40](typedorm@d0c2e40))

v1.15.4-beta.1

Toggle v1.15.4-beta.1's commit message
chore(release): 1.15.4-beta.1 [skip ci]

## [1.15.4-beta.1](typedorm/typedorm@v1.15.3...v1.15.4-beta.1) (2023-02-26)

### Bug Fixes

* reset changelog file ([d0c2e40](typedorm@d0c2e40))

v1.15.3

Toggle v1.15.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(common): expose transaction exception types as public api

Sample use-case: a put method that implicitly uses transaction due to unique attribute records

```
  async put(user: User): Promise<User> {
    try {
      const userData: TypeDormUser = await this.ormClient.create(user);
      return UserDdbDao.mapTypeDormUserToUser(userData);
    } catch (e) {
      console.error(
        `put user failed ${ JSON.stringify(user) }: `, e
      );

      switch (e.constructor) {
        case TransactionCancelledException:
          const error = (e as TransactionCancelledException);

          if (error.cancellationReasons.length > 0 && error.cancellationReasons[0].code === "ConditionalCheckFailed") {
            throw new ResourceAlreadyExistDataError(
              `User ${ JSON.stringify(user) } already exists`
            );
          }

          throw new InternalDataError(
            JSON.stringify(error.cancellationReasons), e);
        default:
          throw new InternalDataError(`put user failed ${ JSON.stringify(user) }: `, e);
      }
    }
  }

```

v1.15.2

Toggle v1.15.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request typedorm#292 from m-szaf/feature/291-Increase-Item…

…s-per-Transaction-limit-to-match-AWS-limit-increase

fix: Increase Items per Transaction limit to match AWS limit increase

v1.15.1

Toggle v1.15.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request typedorm#286 from slushnys/patch-1

docs: updates a typo in the guide of docs

v1.16.0-alpha.1

Toggle v1.16.0-alpha.1's commit message
Merge branch 'main' into alpha

v1.15.0

Toggle v1.15.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request typedorm#273 from typedorm/beta

Release V1.15.0

v1.15.0-beta.12

Toggle v1.15.0-beta.12's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request typedorm#275 from typedorm/bugfix/252-add-dynamodb…

…-v3-support-to-testing-lib

[typedorm#252] add AWS SDK v3 support  support to testing lib