v0.0.4 #67
RobertCraigie
started this conversation in
General
v0.0.4
#67
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
🚨 This release contains breaking changes 🚨
Removal of aiohttp and requests
Support for
aiohttp
andrequests
has been removed in favour of httpx, as httpx supports bothasynchronous
andsynchronous
clients within the same library there is no reason to useaiohttp
orrequests
anymore.This means that the way you install Prisma Client Python will change. You now no longer need to specify an extra, for example
turns into
Config changes
The
http
option has been replaced with theinterface
option. The newinterface
option is used to control whether or not the generated client is asynchronous.Migrating
If you used
aiohttp
before you should use the following:If you used
requests
before you should use the following:Changes
Support for Json types
You can now make use of Prisma's
Json
type.You can create and search for
Json
values like so:Other changes
BigInt
types.This discussion was created from the release v0.0.4.
Beta Was this translation helpful? Give feedback.
All reactions