Skip to content

Releases: demonsters/prisma-mock

v0.5.2

Choose a tag to compare

@stijnvanderlaan stijnvanderlaan released this 01 Mar 11:43
  • Fix many-to-many connect
  • Fix possible stack overflow

v0.5.1

Choose a tag to compare

@stijnvanderlaan stijnvanderlaan released this 01 Mar 10:12
  • Fix create many-to-many
  • Fix many-to-many relation where check

v0.5.0

Choose a tag to compare

@stijnvanderlaan stijnvanderlaan released this 28 Feb 15:26
  • Add basic support for implicit many to many

v0.4.1

Choose a tag to compare

@stijnvanderlaan stijnvanderlaan released this 28 Feb 09:42

v0.4.0

Choose a tag to compare

@stijnvanderlaan stijnvanderlaan released this 21 Feb 16:37
  • implement findUniqueOrThrow function (#21)
  • throw Not Implemented errors for todos (#17)

v0.3.1

Choose a tag to compare

@stijnvanderlaan stijnvanderlaan released this 08 Feb 13:59
  • Fix nested where in include
  • Fix removed data type

v0.3.0

Choose a tag to compare

@stijnvanderlaan stijnvanderlaan released this 08 Feb 09:46
  • Real prisma database tests for better compatibility
  • Adds support for returning values from a transaction
  • #9: delete does not throw if record is not found
  • #10: add support for findFirstOrThrow()
  • Add support for Case-insensitive filtering by mode

v0.2.1

Choose a tag to compare

@stijnvanderlaan stijnvanderlaan released this 02 Feb 11:29
  • Remove dependancy @paralleldrive/cuid2, instead return a predictable cuid string.

v0.2.0

Choose a tag to compare

@stijnvanderlaan stijnvanderlaan released this 01 Feb 15:40
  • Feature: Add support for cuid default
    • Setup a structure to easily add the additional default values
  • Feature: Add support to mock case insensitive collation databases (like mysql)
    • Added optional options parameter to createPrismaMock
  • Feature/Fix: Allow connecting to multiple existing relations during create.
  • Feature: Add support for now default
  • Fix: Make delete return the singular record to retail official api signature.
  • Feature: Add support for @updatedAt at create
  • Support filtering a json value with equals & not

v0.1.7

Choose a tag to compare

@stijnvanderlaan stijnvanderlaan released this 09 Jan 08:58
  • Fix orderBy behaviour to array's and throw error if more than one key in object