Skip to content

Releases: pgstack-io/bemi-prisma

v1.1.0

Choose a tag to compare

@exAspArk exAspArk released this 26 May 21:48
bceb7ff
  • Add support for setting up Bemi context in tRPC apps via middleware

v1.0.0

Choose a tag to compare

@exAspArk exAspArk released this 26 May 14:57
a0d18d0
  • Breaking change: Use new PrismaPg() & withBemiExtension() explicitly instead of withPgAdapter()
  • Breaking change: Use bemiMiddleware() instead of setContext() for setting context as a middleware
  • Breaking change: Use setBemiContext() instead of bemiContext() for setting context inline
  • Breaking change: Make SQL query injection into context optional and disabled by default (see injectSqlInContext option)
  • Add mergeBemiContext() to merge context with the existing one
  • Add currentBemiContext() to get the current context
  • Fix migration generation to work with PostgreSQL tables containing dashes in their names

v0.9.0

Choose a tag to compare

@exAspArk exAspArk released this 12 May 17:43
77ccea6
  • Make the package compatible with Prisma v6.7.0

v0.8.1

Choose a tag to compare

@exAspArk exAspArk released this 13 Nov 18:11
db73639
  • Fix using Prisma client database URL specified in datasources.db #5

v0.8.0

Choose a tag to compare

@exAspArk exAspArk released this 08 Nov 15:20
d19b681
  • Allow using Prisma client database URL specified in datasources.db

v0.7.0

Choose a tag to compare

@exAspArk exAspArk released this 25 Oct 14:27
02dd508
  • Enable passing application context in non-public schemas.

v0.6.0

Choose a tag to compare

@exAspArk exAspArk released this 14 Oct 15:13
0f4e667
  • Fix compatibility with Prisma v5.20+

v0.5.0

Choose a tag to compare

@exAspArk exAspArk released this 08 Aug 14:27
bc64069
  • Allow context passing only for specific models with includeModels
  • Enable SQL comment affix customization

v0.4.1

Choose a tag to compare

@exAspArk exAspArk released this 02 Aug 19:43
733b381
  • Fix compatibility with Prisma v5.15+

v0.4.0

Choose a tag to compare

@exAspArk exAspArk released this 16 Apr 19:20
e06f22d
  • Fix Next.js actions by removing @prisma/internals as a dependency
  • Validate context size to make sure it is under 1MB