Releases: expo/entity
Releases · expo/entity
v0.45.0
v0.44.0
v0.43.0
v0.42.0
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
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.
Features
BREAKING CHANGES
- Default all loaders and mutators to enforcing
v0.40.0
What's Changed
- chore: update pg package to latest version by @wschurman in #251
- chore: upgrade typescript and related packages by @wschurman in #252
- feat!: Make load/create/update/delete entity authorization result interfaces consistent by @wschurman in #253
- chore: internal refactor of loader to be structured like new mutation methods by @wschurman in #254
- chore: switch barreling to ctix by @wschurman in #255
- chore: add CI check for needing to run ctix by @wschurman in #258
- feat!: Add enforcing entity association loader by @wschurman in #257
- feat: Create codemod for v0.39.0 -> v0.40.0 by @wschurman in #259
- chore: fix typedoc by @wschurman in #261
- chore: fix typedoc again by @wschurman in #262
- chore: fix build setup by @wschurman in #263
Full Changelog: v0.39.0...v0.40.0
v0.39.0
v0.38.0
v0.37.0
v0.36.0
Breaking Changes
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)