All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
0.39.0 (2024-11-21)
- add function to get authorization results for canViewerUpdateAsync/canViewerDeleteAsync (#249) (27a358d)
0.38.0 (2024-06-27)
0.37.0 (2024-06-12)
0.36.0 (2024-06-12)
- 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)
- 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)
0.35.0 (2024-04-11)
0.34.0 (2024-04-11)
- Allow UUIDv6/7/8 in UUIDField validation (#221) (cc6f3dc)
- require explicit query context specification (#219) (8b0b31f)
0.33.0 (2023-10-06)
0.32.0 (2023-06-10)
- add ability to specify knex transaction config (#207) (2069a0d)
- entity companion definition static thunk (#210) (4b18010)
0.31.1 (2023-03-06)
0.31.0 (2023-01-19)
Note: Version bump only for package root
0.30.0 (2022-12-23)
Note: Version bump only for package root
0.29.0 (2022-10-06)
- add example of redis mget batching using @expo/batcher (#199) (684f91b)
- change redis cache adapter to use redis-like interface (#200) (e381f5b)
0.28.0 (2022-09-13)
0.27.0 (2022-08-09)
0.26.1 (2022-07-28)
- recache to higher cache levels when loading from a composed cache (#182)
0.26.0 (2022-07-14)
- add EntityEdgeDeletionBehavior.SET_NULL_INVALIDATE_CACHE_ONLY (#178) (a0c35dd)
- update ioredis to v5, make it a devDependency of the cache packages (#172) (9fcfbf7)
0.25.3 (2022-03-12)
0.25.2 (2022-03-12)
0.25.1 (2022-03-10)
0.25.0 (2022-03-10)
- composed cache adapter, composed secondary cache, local memory secondary cache (#164) (6b6e70e)
- privacy policy evaluation context (#162) (3a81a4c)
0.24.0 (2022-02-16)
- Refactor cachers to use an abstract class and interface (#157)
0.23.0 (2022-02-09)
- Move data transforming responsibilities to the CacheAdapter instead of the ReadThroughEntityCache. Affects any classes extending the EntityCacheAdapter and relying on the transformation behavior of the ReadThroughEntityCache. (#153)
0.22.0 (2022-02-04)
0.21.0 (2022-01-03)
0.20.0 (2021-12-29)
0.19.0 (2021-10-28)
0.18.0 (2021-10-14)
- enable noImplicitOverride tsc setting (#135) (4263cb9)
- expose describeFieldTestCase for use in other packages (#139) (1220477)
- upgrade TypeScript to 4.4 (#134) (7612392)
- use better QueryContext types for transactional triggers and validators (#136) (5c7efe1)
0.17.0 (2021-08-16)
0.16.0 (2021-07-07)
0.15.0 (2021-05-26)
- upgrade ioredis, knex, and pg (#125) (7c43edf)
- upgrade some other packages to fix dependabot alerts (#126) (226bffe)
- use column name instead of field name for redis cache key (#124) (d78f452)
0.14.1 (2021-03-24)
0.14.0 (2021-03-24)
0.13.0 (2021-02-12)
0.12.0 (2021-01-22)
- move runInTransaction to ViewerContext (#108) (b7309e1)
- remove cache and database adaptor flavor enums (#109) (72a77f8)
0.11.0 (2020-12-24)
- add type generic default in test utils (#104) (fe2917e)
- maps utils invariants for collections containing undefined values (#103) (29c1a43)
- remove any cast from EntityLoader (#100) (b8e07f9)
- better cache adapter error handling (#102) (15546aa)
- better database adapter error handling (#101) (5208aee)
0.10.0 (2020-11-17)
0.9.1 (2020-11-06)
0.9.0 (2020-11-05)
0.8.1 (2020-10-09)
Note: Version bump only for package root
0.8.0 (2020-10-09)
0.7.1 (2020-10-01)
0.7.0 (2020-10-01)
- fix incorrect loader types for field selecitons (#72) (cd2df8d)
- fix index export for EntityMutationTrigger and EntityMutationValidator (#73) (7e829f3)
- move cache invalidation to after transaction commit (#77) (dbc3c81)
- upgrade packages (#78) (9891e74)
0.6.0 (2020-07-23)
- ensure transitive deletion triggers are run for CASCADE_DELETE_INVALIDATE_CACHE (#66) (5744c51)
- separate out EntityMutationValidator (#68) (547a1ef)
- update setField to correct typing (#62) (7a77afc)
0.5.2 (2020-07-02)
0.5.1 (2020-07-01)
- support number ID field generation in StubDatabaseAdapter (#43) (60cc0fb)
- upgrade Apollo server for security advisory (#38) (d25c1e1)
- add two fan out methods to association loader (#52) (89cfb3d)
- support entity fields subset of db fields (#49) (4e40b2e)
- All Packages
- Documentation Improvements
- CI & Coverage
- TypeScript 3.9 (#18)
@expo/entity
@expo/entity-cache-adapter-redis
@expo/entity-database-adapter-knex
- Throw when database adapter receives unexpected mutation results (#31)
@expo/entity-example
- Initial Version
@expo/entity
- Initial Version
@expo/entity-cache-adapter-redis
- Initial Version
@expo/entity-database-adapter-knex
- Initial Version