Releases: steebchen/prisma-client-go
v0.2.0
v0.2.0
JSON support, native mocks, helper methods & minor improvements
🌟 Help us spread the word about Prisma by starring the repo ☝️ or tweeting about the release.
Major changes
- feat(prisma): upgrade prisma to 2.11.0 (#301) @steebchen
- feat(types): add basic json support (#310) @steebchen
- feat(query): introduce
IfPresent
method variants (#300) @steebchen - feat(mocks): add native mocking (#315) @steebchen
Changes
- chore(dockerignore): use globs correctly (#293) @steebchen
- refactor(project): move err checks to if clauses (#305) @steebchen
- chore(project): format prisma schema files (#306) @steebchen
- fix(builder): remove manual date time serialisation (#311) @steebchen
- test(setup): bump mysql version, use fixed pg image (#312) @steebchen
- ci(workflows): remove rebase command (#313) @steebchen
- refactor(generator): use universal graphql result (#314) @steebchen
- fix(test): disable migrate logs per default (#316) @steebchen
- chore(test): use db push instead of migrate (#307) @steebchen
- docs(json): add json docs (#320) @steebchen
- ci(github): ignore docs changes in GitHub actions (#321) @steebchen
- chore(jetbrains): add shared .idea config (#325) @steebchen
- chore(jetbrains): remove watcher tasks file (#327) @steebchen
- ci(github): revert ignoring docs folder (#323) @steebchen
- chore(idea): set git toolbox commit message validation (#329) @steebchen
- docs(reference): document optional type filters (#328) @steebchen
- docs(reference): document XIfPresent method variants (#330) @steebchen
- test(mocks): rename prisma client variable (#331) @steebchen
- docs(reference): document mock usage and example (#332) @steebchen
- refactor(engine): simplify internal engine (#333) @steebchen
- refactor(builder): extract exec method (#334) @steebchen
Contributors
Interested in providing feedback for the Go client?
We would like to ask you a few questions and get your feedback about the Go client. We'll send merch along your away as a thank you.
If you're interested, email me at steeb@prisma.io or join our public Slack and DM me.
v0.1.0
v0.1.0
Go client early access
The Go client is now an early access product and is not considered experimental anymore. 🎉
This means we will continue to invest in the Go client, but at the same time those resourced will be limited and we may have breaking changes in minor releases.
Release Notes
This release contains minor improvements and bumps the internal Prisma CLI to 2.10.2.
🌟 Help us spread the word about Prisma by starring the repo ☝️ or tweeting about the release.
Major changes
- bump internal Prisma CLI to 2.10.2 (#290, #291)
- improve docs (#284)
- fix
.Link()
method parameters (#288)
Changes
- fix(errors): refactor internal pql error handling (#279) @steebchen
- fix(raw): adapt result struct (#281) @steebchen
- test(raw): test insert into raw statements (#280) @steebchen
- test(raw): add tests for update (#283) @steebchen
- docs(raw): clarify raw methods (#282) @steebchen
- feat(docs): refactor docs; add pagination & order by (#284) @steebchen
- fix(query): link many relations in nested create/update (#288) @steebchen
- feat(prisma): upgrade to 2.10.1 (#290) @steebchen
- feat(prisma): bump to 2.10.2 (#291) @steebchen
- ci(workflows): add rebase command (#292) @steebchen
- chore(project): minor code improvements & linter fixes (#295) @steebchen
- ci(release-drafter): switch to minor versions (#296) @steebchen
- docs(readme): change alpha mention to EAP (#297) @steebchen
Contributors
Interested in providing feedback for the Go client?
We would like to ask you a few questions and get your feedback about the Go client. We'll send merch along your away as a thank you.
If you're interested, email me at steeb@prisma.io, join our public Slack, or schedule a call directly with us.
v0.0.10
v0.0.10
Tons of bugfixes, minor improvements, docs updates... and number type operations!
post, err := client.Post.FindOne(
Post.ID.Equals("a"),
).Update(
Post.IntField1.Increment(3),
Post.FloatField2.Decrement(2.5),
Post.IntField3.Multiply(2),
Post.FloatField4.Divide(1.5),
).Exec(ctx)
🌟 Help us spread the word about Prisma by starring the repo ☝️ or tweeting about the release.
Major changes
- feat(builder): add number type operations (#271) @steebchen
Changes
- docs(reference): use new models in code examples (#253) @steebchen
- docs(quickstart): simplify quickstart; add formatted example (#252) @steebchen
- fix(find): check for error in exec (#255) @steebchen
- docs(raw): adapt ExecuteRaw example (#258) @steebchen
- fix(find): improve error handling (#259) @steebchen
- test(setup): use non-standard ports to prevent clashes (#260) @steebchen
- docs(reference): major docs refactor (#261) @steebchen
- docs(quickstart): fix spacing (#263) @steebchen
- fix: formatting within markdown snippets (#265) @jaymecd
- docs(reference): change "updated" to "deleted" (#266) @FranciscoMendes10866
- test(setup): remove unused db from test schema (#274) @steebchen
Contributors
@FranciscoMendes10866, @janpio, @jaymecd and @steebchen
Interested in providing feedback for the Go client?
We would like to ask you a few questions and get your feedback about the Go client. We'll send merch along your away as a thank you.
If you're interested, email me at steeb@prisma.io or join our public Slack and DM me.
v0.0.9
v0.0.9
This upgrades the Prisma CLI to 2.7.1.
It's known that this release currently doesn't work on windows. If you need windows support, please stay on v0.0.8 and follow the windows support tracking issue.
Major changes
- chore(prisma): upgrade prisma to 2.7.1 (#230) @steebchen
Contributors
v0.0.8
v0.0.8
A small release containing bugfixes and documentation updates.
Changes
- fix(query): match compound keys to model (#239) @steebchen
- refactor(code): minor code improvements (#241) @steebchen
- ci(lint): use golangcilint cli (#240) @steebchen
- ci(lint): adapt trigger to push & pr (#242) @steebchen
- docs(readme): improve go database libraries list (#238) @satishbabariya
- docs(reference/raw): update raw methods to new spec (#243) @steebchen
- fix(fetch): use field type for OrderBy params (#245) @steebchen
- docs(all): refactor docs (#244) @steebchen
Contributors
v0.0.7
v0.0.7
A small patch release to adapt the naming of generated query engine go files, plus clean up some old documentation.
Major changes
The generated go query engine files are now named query-engine-{platform}_gen.go
, and the automatically generated gitignore is adapted as well.
Changes
- fix(binaries): use all_commits binaries url (#223) @steebchen
- docs(quickstart): remove generator options (#225) @steebchen
- ci(lint): use golangci-lint github action (#226) @steebchen
- ci(test): cache test workflow deps (#231) @steebchen
- fix(generator): use _gen suffix for query engine files (#234) @steebchen
- docs(quickstart): remove outdated configuration hints (#236) @steebchen
Contributors
v0.0.6
v0.0.6
Upgrades Prisma to its stable version 2.0.0 and introduces a new pagination API as well as differences in the raw API. We also renamed internal structs from "RawX" to "InternalX" to prevent confusion with the SQL raw API.
Major changes
- chore(prisma): upgrade to prisma 2.0.0-beta.7 (#217) @steebchen
- fix(tpl/models): rename model prefix Raw to Internal (#218) @steebchen
- chore(prisma): upgrade to prisma 2.0.0-beta.9 (#220) @steebchen
- chore(prisma): upgrade to prisma 2.0.0 (#222) @steebchen
Contributors
v0.0.5
v0.0.5
Binary files refactor. The prisma go client uses the prisma query engine internally.
Instead of fetching the query engine on runtime, it is now fetched on generate time into the user's project dir.
The correct binary is picked up by go build using build constraints. There will also be a .gitignore generated into the output dir so that the generated prisma client and the query engine files are ignored by default.
The output field in the schema.prisma file now accepts a folder instead of a file.
Major changes
- feat(binaries): load binaries into project dir (#214) @steebchen
Contributors
v0.0.4
v0.0.4
Bug fixes and docs improvements.
Changes
- ci(release-drafter): adapt template (#178) @steebchen
- docs(reference/basic): rename photon to db (#182) @matthewmueller
- fix(query/composite): make composite keys work (#185) @steebchen
- fix(generator): support non-uppercase table names (#186) @steebchen
- fix: Update quickstart (#187) @brenelz
- docs(readme): add contributing section (#189) @steebchen
Contributors
v0.0.3
v0.0.3
This release adds alpine support, improves code constraints, adds features, and provides various bugfixes.
Major changes
- Alpine Linux support (#154)
- Improve code constraints (#157, #158)
- Change default package name to db (#160) (use the
package
option in schema.prisma to override) - Add postgres scalar list support (#163)
- Tons of bugfixes
Changes
- test(dbs/raw): add more types to raw tests (#156) @steebchen
- feat(query): add composite FindOne params (#157) @steebchen
- fix(query/findOne): improve FindOne constraints (#158) @steebchen
- fix(tpl): change model and field conflict (#162) @steebchen
- feat(tpl/create): allow fetching for relations in CreateOne (#165) @steebchen
- chore: add security email to README (#170) @Jolg42
- fix(query): add
.Unlink()
method (#173) @steebchen - fix(cli): hide update message (#175) @steebchen
- fix(tpl/enums): use original enum values (#176) @steebchen
- fix(query): simplify SetOptional (#177) @steebchen
Contributors
@Jolg42 and @steebchen