3.6.1 (2024-11-04)
- remove unnecessary yates_id field on transaction (93f3a1f)
3.6.0 (2024-11-02)
- improve performance (esp. n+1) by batching requests (0ff5d67)
3.5.2 (2024-04-10)
3.5.1 (2024-03-29)
- remove leftover debug statement (de1f867)
3.5.0 (2024-03-28)
- use an ability table for handling ability updates (7b5b542)
3.4.1 (2024-03-26)
- only select role and policies that have a yates prefix (d60498a)
3.4.0 (2024-03-22)
- add a debug mode and some additional logging for expressions (d8b85fa)
- improve startup performance by unifying queries for pg policies and roles (d765fd5)
3.3.2 (2024-02-28)
- do not include test files in published build output (8bc00dc)
3.3.1 (2024-02-28)
- make sure the dist directory is published to npm (043cba5)
3.3.0 (2024-02-26)
- improve type safety for expressions (16b2a0f)
3.2.0 (2024-01-16)
- add support for the
in
operator with static scalar values (7cf7903)
3.1.1 (2024-01-15)
- support client expressions that query 1:1 relationships (4cb0e1f)
3.1.0 (2024-01-09)
- Add support for using the
in
operator with context values (5707f8a)
- don't duplicate ability name in expression test (59db403)
3.0.2 (2023-12-15)
- allow non-scalar values when using client expressions (9fc0a52)
3.0.1 (2023-12-11)
- update to work with latest prisma client version (a6da0ab)
- use upstream node-sql-parser package (cdb1d88)
3.0.0 (2023-08-02)
- Yates now requires Prisma @ v5
- bac-329 update to prisma v5 (e7dc385)
2.1.0 (2023-05-31)
- Allow maxWait and timeout ITX options to be configurable (8e0bd6c)
2.0.6 (2023-05-23)
- Increase max wait time to 30s (from default 2s) (9572b5b)
2.0.5 (2023-05-03)
- BAC-129 increase base ITX timeout to 30s (2288850)
2.0.4 (2023-04-11)
- bac-24 Only run publish-beta workflow on trusted PRs (6e50b1c)
- correctly handle long ability names (f4600d0)
2.0.3 (2023-03-14)
- Ensure that Yates works correctly with Prisma Fluent API (1d85073)
2.0.2 (2023-03-13)
- ensure role setting still happens when using async middleware (9d40852)
2.0.1 (2023-02-28)
- Fix broken formatting in README code blocks (50434d7)
- Improve error message thrown when an operation fails (5b117c5)
2.0.0 (2023-02-22)
- Use client extensions instead of middleware
- Use client extensions instead of middleware (f3fa1a3)
- Explicity disconnect expression Prisma client (ccceaa3)
- Strongly type context values in expressions (ec5e266)
1.2.0 (2023-02-20)
- Add functionality for using Prisma as a query builder (22d16a8)
- Don't run integration tests when a PR is closed (2b25093)
1.1.1 (2023-01-30)
- Export CustomAbilities type (2cec86f)
1.1.0 (2023-01-30)
- Add ability to run release-please action manually (9d610c7)
- Add functionality for removing old abilities from a role (fa59c37)
- Ensure setup parameters are sanitized (0d302ab)
- improve abilities typings (ade47b8)
- Increase test coverage and improve setup safety (ef7d395)
1.0.4 (2023-01-24)
- Use privileged Prisma client when setting config in transaction (b8935e6)
1.0.3 (2023-01-24)
- Don't rerun middleware when applying RLC policies (39433d8)
1.0.2 (2023-01-24)
- Publish package as public explicitly (2b200e5)
1.0.1 (2023-01-24)
- Add NPM version badge to README (5198969)
- Add basic integration testing (27bb368)