Skip to content

Releases: expo/entity

v0.45.0

06 Jun 16:07
Compare
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
Compare
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
Compare
Choose a tag to compare

Bug Fixes

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

v0.42.0

10 Apr 19:40
Compare
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)

v0.41.0

07 Mar 19:48
Compare
Choose a tag to compare

IMPORTANT: Upgrade to 0.40.0 before upgrading to 0.41.0 to ensure migration of loaders and mutator method signatures don't cause any implicit breaking changes.

  • feat!: Default all loaders and mutators to enforcing (#256) (a976e76), closes #256

Features

  • Create codemod for v0.40.0 -> v0.41.0 (#260) (4a2b61f)

BREAKING CHANGES

  • Default all loaders and mutators to enforcing

v0.40.0

27 Feb 07:00
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.39.0...v0.40.0

v0.39.0

21 Nov 18:48
Compare
Choose a tag to compare

Features

  • add function to get authorization results for canViewerUpdateAsync/canViewerDeleteAsync (#249) (27a358d)

v0.38.0

27 Jun 19:46
Compare
Choose a tag to compare

Features

  • add EntityEdgeDeletionAuthorizationInferenceBehavior for canViewerDeleteAsync (#243) (162b192)

v0.37.0

12 Jun 16:57
Compare
Choose a tag to compare

Bug Fixes

v0.36.0

12 Jun 04:36
Compare
Choose a tag to compare

Breaking Changes

  • make using non-enforcing entity loader explicit (#238) (2edc7af)

Bug Fixes

  • always reload entity after update since cascading changes may have changed it since commit (#233) (7c3c985)
  • constrain entity fields type to string-keyed object (#235) (7e2cea1)
  • disallow keys of JS Object prototype for safety (#236) (05726d4)

Features

  • Add global mutation trigger field to EntityCompanionProvider (#215) (6569486)
  • add previousValue to privacy policy context for updates (#232) (af495a9)
  • Add StrictEnumField with better validation (#222) (8753252)
  • make canViewerDeleteAsync recursive (#224) (60fc9a4)
  • Use uuid v7 in stub database adapter (#234) (1e8ea64)
  • move entity loader utils into their own object (#239)(93905be)