Prisma

Latest version: v0.15.0

Safety actively analyzes 710445 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 44 of 44

0.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

brenelz, matthewmueller and steebchen

0.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

0.0.2

This release provides bugfixes and introduces new features.

Major changes

- Bugfixes
- Fetch multiple things using the .With() syntax (110) steebchen
- Add raw sql api (120) steebchen
- Upgrade Prisma from `beta.2` to `alpha.1265` to include `beta.6` with some bugfixes (see [Prisma release notes](https://github.com/prisma/prisma/releases/tag/2.0.0-beta.6))

Changes

* feat(cli): allow overriding engines with env vars (87) steebchen
* test(types): add second enum to ensure it works (96) steebchen
* test(types): prefix CreateOne params with an underscore (97) steebchen
* chore(dockerignore): ignore build/ and other files (98) steebchen
* fix(tpl/client): rename Client to PrismaClient (99) steebchen
* fix(windows): make go client work on windows (100) steebchen
* fix(binaries): rename warn->info, print info binary download (101) steebchen
* feat(client/create): add SetOptional methods (108) steebchen
* refactor(tests): improve test hooks (111) steebchen
* feat(client): implement With() syntax (110) steebchen
* fix(load): remove old load API (114) steebchen
* fix(tpl/models): adapt spacing in model structs (116) steebchen
* test(relations): add json marshal test with relations (117) steebchen
* fix(generator): allow generic field formatting (119) steebchen
* feat(tpl/models): expose internal struct (118) steebchen
* feat(client): add raw sql api (120) steebchen
* refactor(test): add db specific tests; improve structure (122) steebchen
* refactor(docs): restructure docs & minor improvements (123) steebchen
* docs(readme): add cli notes & add docs root readme (124) steebchen
* test(databases): add raw count test (125) steebchen
* fix(tpl/models): adapt relation return signature (131) steebchen
* fix(query): adapt casing for some field cases (132) steebchen
* fix(query): use relation name on To-structs (134) steebchen
* docs(reference): split up reference docs (135) steebchen
* docs(reference): fix reference link (136) steebchen
* feat(runtime): add timing logs in debug mode (141) steebchen
* refactor(tests): refactor test suite, improve db specific tests (144) steebchen
* feat(upgrade): upgrade to prisma 2.0.0-alpha.1253 (145) steebchen
* perf(tests): run client generation in parallel (146) steebchen
* fix(main): warn when running the bare module (147) steebchen
* revert(main): warn when running the bare module (148) steebchen
* fix(main): warn when running the bare module; upgrade prisma (149) steebchen

Contributors

Nohac and steebchen

0.0.1

This is the first release of the Go client. Please note that it's experimental and not production ready; we just introduce releases to make it easier to document changes and improve the experience with Go modules.

This release uses the Prisma CLI `prisma/cli2.0.0-beta.2`.

Breaking changes

This affects people who have used Prisma Go client before this release, i.e. directly from the `master` branch.

General changes

The internal Prisma CLI was upgraded from alpha.403 to beta.2. Please follow the upgrade instructions for preview023, preview024, and preview025, beta.1 and beta.2 on the [Prisma CLI releases page](https://github.com/prisma/prisma/releases). This was a major upgrade and will happen much more incremental in the future instead of big updates like this.

Schema

The `provider` has changed to `go run github.com/prisma/prisma-client-go`:

diff
generator db {
- provider = "prisma-client-go"
+ provider = "go run github.com/prisma/prisma-client-go"
output = "./db/db_gen.go"
package = "db"
}


Cursors

When querying for cursors, the fields now have to specified explicitly.

diff
posts, err := client.
Post.
FindMany().
OrderBy(
Post.Title.Order(ASC),
).
Last(2).
- Before("c").
+ Before(Post.Title.Cursor("c")).
Exec(ctx)



Load syntax

The `.Load()` Syntax temporarily doesn't support multiple queries on the root level. This is only a temporary limitation which will be removed in the future. You can still query for nested relations.

Other changes

We now use zeit/pkg to build a binary of the Prisma CLI.

Page 44 of 44

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.