Releases: steebchen/prisma-client-go
v0.31.0
v0.31.0
Prisma engine binary improvements
Changes
- fix(engine-binary): adapt build tag generation (#1125) @steebchen
Contributors
Full Changelog: v0.30.0...v0.31.0
v0.30.0
v0.30.0
Upgrade to Prisma v5.7.0, which comes with some major query improvements (using preview features)
See full Prisma v5.7.0 release notes
Major changes
- chore(prisma): upgrade prisma to v5.7.0 (#1120) @steebchen
Changes
- test(schemas): add multi-schema test (#1115) @steebchen
Contributors
Full Changelog: v0.29.0...v0.30.0
v0.29.0
v0.29.0
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
.
Major changes
- refactor(case): vendor case libs (#1101) @steebchen
Changes
- feat(generator): warn on prisma version mismatch (#1100) @steebchen
- refactor(generator): manually define template order (#1104) @steebchen
- refactor(binaries): move version definition to version.go (#1105) @steebchen
- chore(prisma): upgrade prisma to v5.6.0 (#1106) @steebchen
- test(binaries): improve local binaries test (#1108) @steebchen
- test(enums): add some casing tests (#1112) @steebchen
Contributors
Full Changelog: v0.28.0...v0.29.0
v0.28.0
v0.28.0
- Improves error reporting and handling for query engine errors (beta)
- Disallow querying for duplicate fields; see #1095 for details. This might be a breaking change, but previous behavior was wrong, now it errors consistently if there is a duplicate field.
Major changes
- fix(builder): disallow duplicate fields (#1094) @steebchen
- feat(engine): stream and parse logs (#1073) @steebchen
Changes
- test(sqlite): run sqlite path tests only in e2e (#1080) @steebchen
- refactor(test/enums): use table test for enums (#1090) @steebchen
- refactor(tests): use massert everywhere (#1096) @steebchen
Contributors
Full Changelog: v0.27.1...v0.28.0
v0.27.1
v0.27.1
Prevents collision with models named Config
due to the recently introduced new config options.
Changes
- fix(client): rename Config -> PrismaConfig (#1076) @steebchen
Contributors
Full Changelog: v0.27.0...v0.28.0
v0.27.0
v0.27.0
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"),
)
Major changes
- chore(prisma): upgrade prisma to v5.5.0 (#1054) @steebchen
- feat(generator): sanitize connection URL for sqlite relative dirs (#1059) @steebchen
- fix(cli): override init command to use go provider (#1055) @steebchen
- feat(client): add data source URL option override (#1060) @steebchen
- docs(quickstart): add cloneable repo demo (#1056) @steebchen
Changes
- test(postgres/raw): test for enums and db types (#1051) @steebchen
- chore(prisma): upgrade prisma to v5.5.2 (#1065) @steebchen
- docs(client): add client ref docs with options (#1062) @steebchen
- test(errors): add notfound errors test package (#1068) @steebchen
Contributors
Full Changelog: v0.26.0...v0.27.0
v0.26.0
v0.26.0
Upgrade Prisma to v5.4.2 & internal updates
Changes
- docs(walkthrough): also add "none" relation filter docs to relations (#1019) @steebchen
- chore(vercel): silence vercel comments (#1025) @steebchen
- chore(prisma): upgrade to prisma 5.4.1 (#1027) @steebchen
- chore(gitignore): ignore pkg cli build file (#1035) @steebchen
- chore(prisma): upgrade prisma to v5.4.2 (#1040) @steebchen
- ci(publish-cli): use custom GH token for auto squash (#1043) @steebchen
Contributors
Full Changelog: v0.25.0...v0.26.0
v0.25.0
v0.25.0
Upgrade to Prisma 5.3.1, add "none" relation filter, internal improvements & more test coverage
Major changes
- chore(prisma): upgrade to prisma 5.3.1 (#1017) @steebchen
- feat(relations): add "none" relation filter (#1015) @steebchen
Changes
- test(json): add some rows to tests (#1001) @steebchen
- fix(lifecycle): ensure client is connected (#1003) @steebchen
- test(relations): extend some tests to ensure nested take works (#1006) @steebchen
- chore(docs): bump tool-versions (#1009) @steebchen
- chore(docs): upgrade all deps, use save exact (#1014) @steebchen
Contributors
Full Changelog: v0.24.0...v0.25.0
v0.24.0
v0.24.0
Internal query builder fixes, which resolves some query issues like nested JSON filtering
Changes
- fix(builder): do not handle native values (#999) @steebchen
Contributors
Full Changelog: v0.23.0...v0.24.0
v0.23.0
v0.23.0
Fixes some serverless issues (lambda specifically)
Major changes
- feat(binaries): cache dir improvements (#995) @steebchen
Changes
- chore(docs): code cleanup (#993) @steebchen
- chore(auto-merge): adapt auto merge condition (#994) @steebchen
- chore(scripts): add setup & teardown scripts & run configs (#997) @steebchen
Contributors
Full Changelog: v0.22.2...v0.23.0