prisma
prisma-engines
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(quaint): add url decode for non-ascii db names (#5750) Description ## Summary Fix connection failure when using databases with non-ASCII names (e.g., Chinese characters like `测试库`). ## Problem When connecting to a PostgreSQL database with a non-ASCII name, the URL must be percent-encoded: postgresql://user:pass@localhost:5432/%E6%B5%8B%E8%AF%95%E5%BA%93 Previously, `dbname()` returned the encoded string `%E6%B5%8B%E8%AF%95%E5%BA%93` as-is, causing: Error: Database does not exist: %E6%B5%8B%E8%AF%95%E5%BA%93 for Example my database  <img width="1765" height="452" alt="스크린샷 2026-01-25 20-24-00" src="https://github.com/user-attachments/assets/9b049e61-b223-49f8-9c6a-cd23e1cbddf3" /> ## Solution - Decode percent-encoded path segment in `PostgresNativeUrl::dbname()` using `percent_decode` - Change return type from `&str` to `Cow<'_, str>` to handle decoded strings - Update dependent code in connection_info, schema-engine, and qe-setup ## Test Plan - [x] Unit tests for percent-decoding logic (Chinese, spaces, special characters) - [x] Integration test connecting to real PostgreSQL with Chinese database name ## Before/After **Before (bug exists):** Connecting to: postgresql://.../%E6%B5%8B%E8%AF%95%E5%BA%93 ❌ Connection FAILED Error: Database does not exist: %E6%B5%8B%E8%AF%95%E5%BA%93 **After (fixed):** Connecting to: postgresql://.../%E6%B5%8B%E8%AF%95%E5%BA%93 ✅ Connection SUCCESS **Relation** https://github.com/prisma/prisma/issues/26886
main
18 hours ago
fix(quaint): add url decode for chiness db name
dimsssss:fix/db-name-url-decode
20 hours ago
fix: cast BigInt values to text in JSON aggregation for MySQL/Cockroach (#5752) Closes #5751. ## Summary - Cast MySQL BigInt/UnsignedBigInt values to CHAR in JSON_OBJECT to preserve precision in JS JSON parsing. - Extend Postgres visitor to also cast Cockroach INT8/Int8 to text in JSONB_BUILD_OBJECT. - Add visitor tests for both cases.
main
4 days ago
Fix rustfmt import order
polaz:fix/#1-bigint-json-cast
4 days ago
Add UnsignedBigInt JSON cast test
polaz:fix/#1-bigint-json-cast
5 days ago
feat(qc): implement placeholder validation (#5741) Implement type-aware placeholder validation which rejects placeholders in incorrect positions or with incorrect types. Previously placeholders were unconditionally accepted anywhere by the query parser, which was breaking query validation and could lead to panics in downstream code.
main
6 days ago
feat(schema): add suppport for marking fields as parameterizable (#5730) Add support for marking fields as parameterizable in the query schema.
main
6 days ago
fix(qc): don't panic on placeholders in full text search (#5746) `matches`/`not_matches` operations needed to be adjusted to accept placeholders. The corresponding fields in DMMF were already marked as parameterizable so QC panicked in Client tests here.
aqrln-nnwpqtmklwqq
6 days ago
Active Branches
chore: minor fixes on qc parameterization
last run
13 days ago
#5747
CodSpeed Performance Gauge
0%
chore(deps): bump undici from 6.21.2 to 6.23.0 in /libs/driver-adapters/executor
last run
19 days ago
#5729
CodSpeed Performance Gauge
0%
fix(mongodb): skip $$REMOVE check for required fields to enable index usage
last run
21 days ago
#5724
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs