Prisma Client Go is an auto-generated and fully type-safe database client
APACHE-2.0 License
Bot releases are visible (Hide)
Add .Select() and .Omit(). Omitted fields will default to their zero value.
Upgrades prisma to v5.13.0.
@steebchen
Full Changelog: https://github.com/steebchen/prisma-client-go/compare/v0.36.0...v0.37.0
Published by github-actions[bot] 7 months ago
Upgrade Prisma to v5.12.0
@steebchen
Full Changelog: https://github.com/steebchen/prisma-client-go/compare/v0.35.0...v0.36.0
Published by github-actions[bot] 8 months ago
Make sure .Disconnect() works as intended.
@steebchen
Full Changelog: https://github.com/steebchen/prisma-client-go/compare/v0.34.0...v0.35.0
Published by github-actions[bot] 8 months ago
Upgrade Prisma to v5.10.2, internal fixes and exports a PrismaTransaction interface.
TODO: list major changes
@steebchen
Full Changelog: https://github.com/steebchen/prisma-client-go/compare/v0.33.0...v0.34.0
Published by github-actions[bot] 9 months ago
pgrade prisma to v5.9.0
@steebchen
Full Changelog: https://github.com/steebchen/prisma-client-go/compare/v0.32.1...v0.33.0
Published by github-actions[bot] 9 months ago
Upgrade Prisma minor version for hotfixes
@steebchen
Full Changelog: https://github.com/steebchen/prisma-client-go/compare/v0.32.0...v0.32.1
Published by github-actions[bot] 9 months ago
Add unique constraint violation error checks & upgrade Prisma to v5.8.0
@steebchen
Full Changelog: https://github.com/steebchen/prisma-client-go/compare/v0.31.5...v0.32.0
Published by github-actions[bot] 10 months ago
Yet another casing-related bugfix 😁
@steebchen
Full Changelog: https://github.com/steebchen/prisma-client-go/compare/v0.31.4...v0.31.5
Published by github-actions[bot] 10 months ago
Plenty of bugfixes
@steebchen
Full Changelog: https://github.com/steebchen/prisma-client-go/compare/v0.31.3...v0.31.4
Published by github-actions[bot] 10 months ago
Patch fix for unique field query methods, fixing a regression
@steebchen
Full Changelog: https://github.com/steebchen/prisma-client-go/compare/v0.31.2...v0.31.3
Published by github-actions[bot] 10 months ago
Upgrade prisma from v5.7.0 to v5.7.1 for some minor fixes.
@steebchen
Full Changelog: https://github.com/steebchen/prisma-client-go/compare/v0.31.1...v0.31.2
Published by github-actions[bot] 10 months ago
Patch release just to remove an unnecessary log in debug mode so that your credentials can't be leaked in those.
@steebchen
Full Changelog: https://github.com/steebchen/prisma-client-go/compare/v0.31.0...v0.32.0
Published by github-actions[bot] 10 months ago
Prisma engine binary improvements
@steebchen
Full Changelog: https://github.com/steebchen/prisma-client-go/compare/v0.30.0...v0.31.0
Published by github-actions[bot] 11 months ago
Upgrade to Prisma v5.7.0, which comes with some major query improvements (using preview features)
See full Prisma v5.7.0 release notes
@steebchen
Full Changelog: https://github.com/steebchen/prisma-client-go/compare/v0.29.0...v0.30.0
Published by github-actions[bot] 11 months ago
Internal improvements, upgrade Prisma, better handle generated code by getting rid of third party libraries
NOTE: If you have enums or some specific model field name casing or potentially changes in your go.mod, you might run into breaking changes. However, this is easy to fix as you would just need to adapt the occurrences of the fields to the new naming.
For example, if you use uppercase enum values in your schema.prisma, Prisma Client Go enum fields change from UserROLE
to UserRole
. There might be also some minor differences in cases like Last7d
, which changed to Last7D
.
@steebchen
Full Changelog: https://github.com/steebchen/prisma-client-go/compare/v0.28.0...v0.29.0
Published by github-actions[bot] 12 months ago
@steebchen
Full Changelog: https://github.com/steebchen/prisma-client-go/compare/v0.27.1...v0.28.0
Published by github-actions[bot] 12 months ago
Prevents collision with models named Config
due to the recently introduced new config options.
@steebchen
Full Changelog: https://github.com/steebchen/prisma-client-go/compare/v0.27.0...v0.28.0
Published by github-actions[bot] 12 months ago
Upgrade Prisma, add data source URL option, fix SQLite relative paths, increase test coverage, minor fixes, improve docs
// new option!
client := db.NewClient(
db.WithDatasourceURL("postgresql://localhost:5432/mydb?schema=public"),
)
@steebchen
Full Changelog: https://github.com/steebchen/prisma-client-go/compare/v0.26.0...v0.27.0
Published by github-actions[bot] about 1 year ago
Upgrade Prisma to v5.4.2 & internal updates
@steebchen
Full Changelog: https://github.com/steebchen/prisma-client-go/compare/v0.25.0...v0.26.0
Published by github-actions[bot] about 1 year ago
Upgrade to Prisma 5.3.1, add "none" relation filter, internal improvements & more test coverage
@steebchen
Full Changelog: https://github.com/steebchen/prisma-client-go/compare/v0.24.0...v0.25.0