Skip to content

Releases: expo/entity

v0.51.0

21 Nov 19:38

Choose a tag to compare

What's Changed

  • fix: add default for TSelectedFields in PrivacyPolicyTestUtils Case by @wschurman in #316
  • chore: update dev dependencies by @wschurman in #317
  • chore: update other sibling dependencies by @wschurman in #318
  • chore: add docblock for orderBy and ordering by @wschurman in #319
  • feat!: separate out validators into beforeCreateAndUpdate and add new beforeDelete validators by @wschurman in #320

Full Changelog: v0.50.0...v0.51.0

v0.50.0

07 Oct 23:14

Choose a tag to compare

Bug Fixes

  • make in memory and stub database adapters behave more similarly to sql (#315) (0f53c24)

v0.49.0

07 Oct 16:27

Choose a tag to compare

Bug Fixes

  • add readonly modifier to partitionArray utility method (#307) (077d53c)
  • validate that UUID field is lower-case (#310) (949f00d)

Features

  • add more documentation to entity errors (#312) (4c3fd17)
  • throw specific errors for database adapter issues (#311) (f6639f9)

v0.48.0

19 Sep 23:00

Choose a tag to compare

Attempt to fix package dependencies.

Full Changelog: v0.47.0...v0.48.0

v0.47.0

19 Sep 22:54

Choose a tag to compare

Features

  • add support for Buffer fields (#305) (31b52a5)
  • allow manual specification of cascadingDeleteCause in delete mutator factory method (#306) (4a3eda2)

v0.46.0

26 Jun 20:14

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.45.0...v0.46.0

v0.45.0

06 Jun 16:07

Choose a tag to compare

Features

  • add ability to define a custom cache key invalidation version supplier (#290) (a3ab61b)
  • add createOrGetExistingAsync and createWithUniqueConstraintRecoveryAsync utility methods (#291) (78bc264)

v0.44.0

29 May 16:46

Choose a tag to compare

Bug Fixes

  • introduce transactional dataloader mode and fix global transaction ID generation (#289) (d3e89bd)

Features

v0.43.0

10 Apr 21:23

Choose a tag to compare

Bug Fixes

  • fix generated tsc definition sentinel type visibility (#283) (9758fd5)

v0.42.0

10 Apr 19:40

Choose a tag to compare

Note: Upgrading to 0.42.0 will cause a full cache invalidation due to a change in format of cache key.

Bug Fixes

  • fix metrics for dataloader waterfall logging (#267) (1d95eba)
  • move source of truth of loader docblocks to enforcing loader since it is not the default loader (#264) (aa56b70)

Features

  • add @expo/entity-testing-utils package (#280) (485894a)
  • add composite field loading and caching (#272) (f0aa0da)
  • add some utility classes and methods in preparation for composite keys (#269) (ad41af1), closes #201
  • change entity id field generic to field name and derive type where necessary (#278) (b7e524c)
  • convert batched/cached loader interface to holder pattern (#271) (06b3cb7), closes #201
  • enforce explicit id field cache property (#276) (1da5cc0)
  • invalidate n+/-1 cacheKeyVersion for entities for push safety (#275) (d9c1852)