Releases: expo/entity
Releases · expo/entity
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)
Features
v0.53.0
v0.52.0
What's Changed
- feat: switch local cache to an interface by @wschurman in #322
- chore: upgrade to node 24 LTS by @wschurman in #323
Full Changelog: v0.51.0...v0.52.0
v0.51.0
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
v0.49.0
v0.48.0
Attempt to fix package dependencies.
Full Changelog: v0.47.0...v0.48.0