5.22.0
Today, we are excited to share the 5.22.0
stable release 🎉
🌟 Help us spread the word about Prisma by starring the repo ☝️ or posting on X about the release.
Highlights
Further Tracing Improvements
In our ongoing effort to stabilize the tracing
Preview feature, we’ve made our spans compliant with OpenTelemetry Semantic Conventions for Database Client Calls. This should lead to better compatibility with tools such as DataDog and Sentry.
We’ve also included numerous bug fixes that should make this Preview feature easier to work with.
Metrics bug fix
Occasionally, connection pool metrics would become negative or grow unbounded. In this release, connection pool metrics should stay consistent.
Connection Pool Timeout fix
In a specific case, there could be issues where fetching a new connection from the connection pool would time out, regardless of the state of the application and connection pool. If you have experience connection pool issues accessing a PostgreSQL database with TLS encryption in a resource-constrained environment (such as Function-as-a-Service offerings or very small VPS) this should resolve those issues.
Special thanks to @youxq for their pull request and help resolving this issue!
Join us
Looking to make an impact on Prisma in a big way? We're hiring!
Learn more on our careers page: https://www.prisma.io/careers
Fixes and improvements
Prisma Migrate
Prisma
- Prisma generate randomly fails on Ubuntu due to missing internal .so
libquery_engine-debian-openssl-1.1.x.so.node
- Timed out fetching a new connection from the connection pool.
- Some
prisma:engine:connection
spans have no parent - Query-related spans outside of
prisma:engine:itx_runner
are disconnected from the tree - Tracing with dataproxy/mini-proxy:
itx_runner
span and it's children are missing sometimes - Incorrect OpenTelemetry span reported by Prisma
- OTEL spans are not recognised as spans from a database
- SQL Injection bug - D1 adaptor throws "Conversion failed: expected a datetime string in column" when string column contains any ISO date
- Prisma generate randomly fails on Ubuntu due to missing internal .so
libquery_engine-debian-openssl-1.1.x.so.node
Credits
Huge thanks to @tmm1, @Takur0, @hinaloe, @andyjy, and @youxq for helping!