Releases: expo/entity
Releases · expo/entity
v0.64.0
What's Changed
- chore(deps): update dependency lodash-es to v4.18.1 [security] by @renovate[bot] in #557
- fix(deps): update dependency graphql to v16.13.2 by @renovate[bot] in #560
- chore(deps): update yarn to v4.13.0 by @renovate[bot] in #562
- chore(deps): update dependency jdx/mise to v2026.4.5 by @renovate[bot] in #561
- fix(deps): update dependency @koa/router to v15.4.0 by @renovate[bot] in #563
- chore: switch to oxfmt/oxlint by @wschurman in #559
- chore: use oxfmt for import ordering by @wschurman in #564
- feat: add count equivalent for knex loader methods by @wschurman in #565
- chore(deps): update dependency @types/node to v24.12.2 by @renovate[bot] in #572
- chore(deps): update redis docker digest to 1f07381 by @renovate[bot] in #571
- chore(deps): update postgres:18 docker digest to 52e6ffd by @renovate[bot] in #570
- chore(deps): pin dependencies by @renovate[bot] in #569
- fix(deps): update dependency koa to v3.2.0 by @renovate[bot] in #578
- chore(deps): update dependency oxlint-tsgolint to v0.20.0 by @renovate[bot] in #577
- chore(deps): update dependency oxfmt to v0.44.0 by @renovate[bot] in #576
- chore(deps): update dependency jdx/mise to v2026.4.11 by @renovate[bot] in #573
- chore(deps): update dependency prettier to v3.8.2 by @renovate[bot] in #575
- chore(deps): update dependency oxlint-config-universe to v0.0.3 by @renovate[bot] in #574
- chore(deps): update codecov/codecov-action action to v6 by @renovate[bot] in #579
- chore(deps): update dependency typescript to v6 by @renovate[bot] in #580
- fix: upgrade knex and remove undefined value bindings by @wschurman in #582
- chore(deps): lock file maintenance by @renovate[bot] in #581
- chore(deps): update dependency prettier to v3.8.3 by @renovate[bot] in #584
- chore(deps): update dependency typescript to v6.0.3 by @renovate[bot] in #586
- chore(deps): update ci workflows by @renovate[bot] in #583
- chore(deps): update dependency oxfmt to v0.45.0 by @renovate[bot] in #587
- chore(deps): update dependency typedoc to v0.28.19 by @renovate[bot] in #585
- chore(deps): update dependency oxlint to v1.60.0 by @renovate[bot] in #588
- chore(deps): update dependency jdx/mise to v2026.4.24 by @renovate[bot] in #591
- chore(deps): update redis docker digest to 832d778 by @renovate[bot] in #590
- chore(deps): update postgres:18 docker digest to 7848165 by @renovate[bot] in #589
- chore(deps): update dependency oxfmt to v0.46.0 by @renovate[bot] in #592
- fix(deps): update dependency uuid to v14 [security] by @renovate[bot] in #593
- chore(deps): update postgres:18 docker digest to 7e32e98 by @renovate[bot] in #595
- chore(deps): update dependency ip-address to v10.1.1 [security] by @renovate[bot] in #594
- chore(deps): update redis docker digest to 0c34149 - autoclosed by @renovate[bot] in #596
- chore(deps): update dependency @types/node to v24.12.3 by @renovate[bot] in #597
- fix(deps): update dependency @apollo/server to v5.5.1 by @renovate[bot] in #598
- chore(deps): update dependency @types/node to v24.12.4 by @renovate[bot] in #617
- chore(deps): update postgres:18 docker digest to 8ff36f3 by @renovate[bot] in #616
- chore(deps): update ci workflows by @renovate[bot] in #618
- chore(deps): update dependency oxfmt to v0.50.0 by @renovate[bot] in #621
- chore(deps): update dependency @tsconfig/bases to v1.0.24 by @renovate[bot] in #620
- chore(deps): update dependency ctix to v2.8.0 by @renovate[bot] in #619
- chore: remove unnecessary ViewerScopedEntityMutatorFactory by @wschurman in #599
- fix: prevent collision in companion when entities share same name or same table name by @wschurman in #600
- fix!: replace makeKeyFn with delimiter to strengthen guarantee of proper escaping by @wschurman in #601
- fix: update cache key generation for secondary caches by @wschurman in #602
- fix: correct negative caching behavior in GenericSecondaryEntityCache by @wschurman in #603
- feat: clean up transactional dataloader at transaction end by @wschurman in #604
- fix: handle potential infinite recursion for canViewerDeleteAsync by @wschurman in #605
- fix: correct cycle guard behavior for deletion by @wschurman in #606
- fix: skip when AllowIfAllSubRulesAllowPrivacyPolicyRule is empty by @wschurman in #607
- feat: validate GenericRedisCacheContext by @wschurman in #608
- feat: support numeric enums in StrictEnumField by @wschurman in #609
- fix: fix behavior of AuthorizationResultBasedEntityAssociationLoader when field value is empty string by @wschurman in #610
- fix: pick method crash when object has hasOwnProperty key by @wschurman in #611
- chore: update comment for IEntityMetricsAdapter for implementors by @wschurman in #612
- fix: fix possible composite key collision in StubDatabaseAdapter test utility by @wschurman in #613
- fix: correctness of TSMockitoExtensions isEqualWithEntityAware for SerializableKeyMaps of different length by @wschurman in #614
Full Changelog: v0.63.0...v0.64.0
v0.62.0
v0.61.0
Breaking Changes
#521 convert this to ESM. CJS consumers below node v20.10 may need modifications to upgrade, as well as CJS projects using jest which may need add the entity packages to a do-not-transpile regex.
Bug Fixes
Features
v0.60.0
v0.59.0
v0.58.0
v0.57.0
Re-release of v0.56.0 (didn't publish to npm due to token being expired).
0.56.0 (2026-02-28)
Bug Fixes
- Add default for TSelectedFields for application-instantiated types (#438) (3d4aa0e)
- Apply same viewer context subclass type mechanism to knexLoader and related methods (#472) (018a40b)
- correct discriminated union type for forward/backward pagination (#474) (90ae6e2)
- correct pagination behavior for standard pagination with descending ordering clauses (#477) (e32c4c2)
- correct precedence parentheses for SQLFragment joins (#476) (2c4c649), closes /github.com/expo/entity/blob/main/packages/entity-database-adapter-knex/src/internal/EntityKnexDataManager.ts#L303
- deps: update dependency @apollo/server to v5.4.0 [security] (#420) (cd81c5a)
- deps: update dependency @koa/bodyparser to v6.1.0 (#405) (2dda22d)
- deps: update dependency @koa/router to v15.3.0 (#406) (9e88cf6)
- deps: update dependency graphql to v16.13.0 (#479) (976e2c3)
- deps: update dependency koa to v3.1.2 [security] (#484) (b258dad)
- eliminate some unnecessary any casts (#448) (cc78029)
- explicitly document behavior when cursor entity no longer exists (#453) (4dc156c), closes #422 #431
- move EntityPrivacyUtils back into core package (#429) (56ec27d)
- pass in augmentable classes to installation (#437) (f5c728b), closes /github.com/expo/entity/pull/410#pullrequestreview-3765893898
- refactor install method to instead be free functions (#441) (51d632d), closes #410
- Reorganize constructionUtils to make non-public (#454) (d9377a2), closes #410
- revert change to codemod now that Entity.knexLoader is supported again via subclass (#443) (ed6b2e0), closes #441
- Type idField in EntityConfiguration as TIDField (#425) (be40bcf)
- update integration test to use BlahEntity.knexLoader syntax (#444) (457f58a), closes #441
- Use TSelectedFields for knex loader order by method (#424) (a9d09f4)
Features
- Add authorization action to EntityPrivacyPolicyRuleEvaluationContext (#464) (e71ae5f)
- add codemod for upcoming v0.55.0-v0.56.0 (#413) (aba0ce5), closes #407 -#410
- add entity-database-adapter-knex-testing-utils containing StubPostgresDatabaseAdapter (#412) (eeccf59)
- add entityField SQL helper (#481) (459a5ff)
- Add ilike and trigram similarity search to pagination (#431) (f72cbca), closes #422
- add method to get pagination cursor for single entity (#475) (898f71c)
- Add paginated loader to entity-database-adapter-knex (#422) (58deffd)
- Add pagination max page size configuration (#436) (3ec4b5f)
- add PostgresEntity/ReadonlyPostgresEntity classes that expose knexLoader methods (#442) (40b409f), closes #441
- Add raw sqlfragment orderBy capability for pagination (#457) (0615ffa)
- add support for nulls ordering in order by clauses (#468) (6c0838d)
- support nullable search fields with postgres transforms (#470) (53b0604)
v0.55.0
v0.54.0
Bug Fixes
- deps: pin dependencies (#328) (5679f27)
- deps: pin dependency @apollo/server to 4.12.2 (#330) (7038912)
- deps: pin dependency @koa/bodyparser to 6.0.0 (#339) (9f93926)
- deps: pin dependency koa to 2.16.3 (#331) (ce55922)
- Inline map().filter() loops in EntityLoaderUtils (#369) (ea6c128)
- run tsc during tests CI job (#373) (1cc57ed)