Skip to content

Releases: olivierwilkinson/prisma-nested-middleware

v4.0.0

13 Jan 14:40
Compare
Choose a tag to compare

4.0.0 (2024-01-13)

Features

  • avoid multiple types of select calls (36c5410)

BREAKING CHANGES

  • remove the calls for include selects

Middleware that relied on calls with the "select" action for select
objects within an include will no longer be able to use that call.
Instead use the parent "include" action to modify the selected fields,
or use the "select" action for the relation within that select object.

v3.0.3

26 May 15:15
Compare
Choose a tag to compare

3.0.3 (2023-05-26)

Bug Fixes

  • groupBy not included in NestedAction type (7b35362)

v3.0.2

20 May 16:47
2e2c3ce
Compare
Choose a tag to compare

3.0.2 (2023-05-20)

Bug Fixes

  • error parsing invalid logical where arrays (#22) (2e2c3ce)

v3.0.1

19 Apr 17:36
Compare
Choose a tag to compare

3.0.1 (2023-04-19)

Bug Fixes

  • queries that use Json NullTypes (fff70f4)

v3.0.0

28 Mar 23:38
Compare
Choose a tag to compare

3.0.0 (2023-03-28)

Features

  • new scope, actions and full concurrency (e37323d)

BREAKING CHANGES

  • scope is no longer the parent params and relation has
    been moved to live inside of the scope object.

  • nested create actions no longer have their args moved to args.data.
    When handling the create action you must handle this case yourself.
    A more detailed explanation as to why this was necessar can be found in
    this issue

v2.3.0

27 Mar 08:18
Compare
Choose a tag to compare

2.3.0 (2023-03-27)

Features

  • include relation in NestedParams (f789573)

v2.2.0

27 Mar 08:11
Compare
Choose a tag to compare

2.2.0 (2023-03-27)

Features

  • support changing nested params action (aabf8c7)

v2.1.0

02 Mar 20:38
Compare
Choose a tag to compare

2.1.0 (2023-03-02)

Features

  • call middleware for all lists of operations (8a3dcd6)

v2.0.0

07 Feb 23:02
Compare
Choose a tag to compare

2.0.0 (2023-02-07)

Features

  • put nested create args in data field (bbca4e6)

BREAKING CHANGES

  • nested creates params.args have new format

Middleware that currently check for the existence of params.scope and
then modify args are broken by this change. Middleware must now modify
args.data for all create operations regardless of whether they are
nested or not.

v1.2.0

07 Feb 22:48
Compare
Choose a tag to compare

1.2.0 (2023-02-07)

Features

  • call middleware for writes in nested lists (1325c11)