Skip to content

Commit f2a2b5f

Browse files
committed
Update release notes
1 parent 6205f01 commit f2a2b5f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

changelogs/drizzle-orm/0.33.0.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
[BUG]: jsonb always inserted as a json string when using postgres-js](https://github.com/drizzle-team/drizzle-orm/issues/724)
77
- [[BUG]: jsonb type on postgres implement incorrectly](https://github.com/drizzle-team/drizzle-orm/issues/1511)
88

9+
> As we are doing with other drivers, we've changed the behavior of PostgreSQL-JS to pass raw JSON values, the same as you see them in the database. So if you are using the PostgreSQL-JS driver and passing data to Drizzle elsewhere, please check the new behavior of the client after it is passed to Drizzle.
10+
11+
> We will update it to ensure it does not override driver behaviors, but this will be done as a complex task for everything in Drizzle in other releases
12+
913
If you were using `postgres-js` with `jsonb` fields, you might have seen stringified objects in your database, while drizzle insert and select operations were working as expected.
1014

1115
You need to convert those fields from strings to actual JSON objects. To do this, you can use the following query to update your database:

0 commit comments

Comments
 (0)