v0.4.0 #150
RobertCraigie
started this conversation in
General
v0.4.0
#150
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Breaking Changes
The following field names are now restricted and attempting to generate the client with any of them will now raise an error:
startswith
endswith
order_by
not_in
is_not
What's Changed
Support for the
Bytes
typeYou can now create models that make use of binary data, this is stored in the underlying database as Base64 data, for example:
Support for scalar list fields
You can now query for and update scalar list fields, for example:
For more details, visit the documentation: https://prisma-client-py.readthedocs.io/en/latest/reference/operations/#lists-fields
Argument deprecations
The
order
argument to thecount()
method has been deprecated, this will be removed in the next release.Action Docstrings
All query action methods now have auto-generated docstrings specific for each model, this means that additional documentation will be shown when you hover over the method call in your IDE, for example:
Other Changes
typing-extensions
is now a required dependencyThis discussion was created from the release v0.4.0.
Beta Was this translation helpful? Give feedback.
All reactions