Skip to content

Latest commit

 

History

History
259 lines (117 loc) · 9.79 KB

CHANGELOG.md

File metadata and controls

259 lines (117 loc) · 9.79 KB

Changelog

3.5.2 (2024-04-10)

Bug Fixes

  • avoid race condition when creating policies (4d77dfb)
  • update to prisma v5.11.0 (4aa0a92)

3.5.1 (2024-03-29)

Bug Fixes

  • remove leftover debug statement (de1f867)

3.5.0 (2024-03-28)

Features

  • use an ability table for handling ability updates (7b5b542)

3.4.1 (2024-03-26)

Bug Fixes

  • only select role and policies that have a yates prefix (d60498a)

3.4.0 (2024-03-22)

Features

  • add a debug mode and some additional logging for expressions (d8b85fa)

Bug Fixes

  • improve startup performance by unifying queries for pg policies and roles (d765fd5)

3.3.2 (2024-02-28)

Bug Fixes

  • do not include test files in published build output (8bc00dc)

3.3.1 (2024-02-28)

Bug Fixes

  • make sure the dist directory is published to npm (043cba5)

3.3.0 (2024-02-26)

Features

  • improve type safety for expressions (16b2a0f)

3.2.0 (2024-01-16)

Features

  • add support for the in operator with static scalar values (7cf7903)

3.1.1 (2024-01-15)

Bug Fixes

  • support client expressions that query 1:1 relationships (4cb0e1f)

3.1.0 (2024-01-09)

Features

  • Add support for using the in operator with context values (5707f8a)

Bug Fixes

  • don't duplicate ability name in expression test (59db403)

3.0.2 (2023-12-15)

Bug Fixes

  • allow non-scalar values when using client expressions (9fc0a52)

3.0.1 (2023-12-11)

Bug Fixes

  • update to work with latest prisma client version (a6da0ab)
  • use upstream node-sql-parser package (cdb1d88)

3.0.0 (2023-08-02)

⚠ BREAKING CHANGES

  • Yates now requires Prisma @ v5

Features

  • bac-329 update to prisma v5 (e7dc385)

2.1.0 (2023-05-31)

Features

  • Allow maxWait and timeout ITX options to be configurable (8e0bd6c)

2.0.6 (2023-05-23)

Bug Fixes

  • Increase max wait time to 30s (from default 2s) (9572b5b)

2.0.5 (2023-05-03)

Bug Fixes

  • BAC-129 increase base ITX timeout to 30s (2288850)

2.0.4 (2023-04-11)

Bug Fixes

  • bac-24 Only run publish-beta workflow on trusted PRs (6e50b1c)
  • correctly handle long ability names (f4600d0)

2.0.3 (2023-03-14)

Bug Fixes

  • Ensure that Yates works correctly with Prisma Fluent API (1d85073)

2.0.2 (2023-03-13)

Bug Fixes

  • ensure role setting still happens when using async middleware (9d40852)

2.0.1 (2023-02-28)

Bug Fixes

  • Fix broken formatting in README code blocks (50434d7)
  • Improve error message thrown when an operation fails (5b117c5)

2.0.0 (2023-02-22)

⚠ BREAKING CHANGES

  • Use client extensions instead of middleware

Features

  • Use client extensions instead of middleware (f3fa1a3)

Bug Fixes

  • Explicity disconnect expression Prisma client (ccceaa3)
  • Strongly type context values in expressions (ec5e266)

1.2.0 (2023-02-20)

Features

  • Add functionality for using Prisma as a query builder (22d16a8)

Bug Fixes

  • Don't run integration tests when a PR is closed (2b25093)

1.1.1 (2023-01-30)

Bug Fixes

  • Export CustomAbilities type (2cec86f)

1.1.0 (2023-01-30)

Features

  • Add ability to run release-please action manually (9d610c7)
  • Add functionality for removing old abilities from a role (fa59c37)

Bug Fixes

  • Ensure setup parameters are sanitized (0d302ab)
  • improve abilities typings (ade47b8)
  • Increase test coverage and improve setup safety (ef7d395)

1.0.4 (2023-01-24)

Bug Fixes

  • Use privileged Prisma client when setting config in transaction (b8935e6)

1.0.3 (2023-01-24)

Bug Fixes

  • Don't rerun middleware when applying RLC policies (39433d8)

1.0.2 (2023-01-24)

Bug Fixes

  • Publish package as public explicitly (2b200e5)

1.0.1 (2023-01-24)

Bug Fixes

  • Add NPM version badge to README (5198969)

1.0.0 (2023-01-20)

Features

  • Add basic integration testing (27bb368)

Bug Fixes

  • Update .npmignore to be more aggressive (3915869)
  • Update Icon to something more thematic (d37a4e4)
  • Use package-lock for keying action cache (92375a6)