Prisma Plugin Changelog
All notable changes to the @godspeedsystems/plugins-prisma-as-datastore plugin will be documented in this file.
v3.0.1
[3.0.1] – 2025-07-01
Fixed
- BigInt Serialization in API Responses
- Resolved a critical issue where
BigIntvalues returned by Prisma would cause runtime errors during Expressres.send()operations. - Introduced
stringifyData()utility to recursively convertBigIntfields into JSON-safestringornumbertypes. - Prevents service crashes and pod restarts in environments where Prisma returns large integer fields (e.g., PostgreSQL
BIGINT,DECIMAL,NUMERIC).
- Resolved a critical issue where
Impact
- Improves runtime safety of all API responses containing numeric database fields.
- Enhances production resilience and observability.
Recommended Actions
- Validate fields using
BIGINT,DECIMAL, orNUMERICtypes for changes in data format (e.g., now serialized asstringornumber). - Review API consumer expectations around number handling.
v3.0.0
[3.0.0] – 2025-06-24
Upgraded
- Prisma Client Version
- Upgraded
@prisma/clientfromv5.0.0→v6.8.2.
- Upgraded
Key Enhancements
- Improved support for interactive transactions and middleware enhancements
- Ensures compatibility with
prismaCLI v6.x. - Pulls in performance improvements and bug fixes introduced in Prisma 6 series.
Migration & Upgrade Instructions
a. Upgrade Dependencies
Update following package versions in your project's package.json:
@godspeedsystems/plugins-prisma-as-datastore@1.0.31
@prisma/client@6.8.2
b. Regenerate Prisma Client
npx prisma generate
c. Validate Output Format
If your API exposes BIGINT, DECIMAL, or NUMERIC fields, test frontend/client integrations to ensure compatibility with serialized string/number formats.