-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Comparing changes
Open a pull request
base repository: jackc/pgx
base: v5.5.3
head repository: jackc/pgx
compare: v5.5.4
- 13 commits
- 75 files changed
- 4 contributors
Commits on Feb 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5c63f64 - Browse repository at this point
Copy the full SHA 5c63f64View commit details
Commits on Feb 23, 2024
-
Fix: pgtype.Bits makes copy of data from read buffer
It was taking a reference. This would cause the data to be corrupted by future reads. fixes #1909
Configuration menu - View commit details
-
Copy full SHA for 654dcab - Browse repository at this point
Copy the full SHA 654dcabView commit details
Commits on Feb 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 85f15c4 - Browse repository at this point
Copy the full SHA 85f15c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8896bd6 - Browse repository at this point
Copy the full SHA 8896bd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 046f497 - Browse repository at this point
Copy the full SHA 046f497View commit details
Commits on Feb 26, 2024
-
Fix panic in TryFindUnderlyingTypeScanPlan
Check if CanConvert before calling reflect.Value.Convert
Configuration menu - View commit details
-
Copy full SHA for d149d3f - Browse repository at this point
Copy the full SHA d149d3fView commit details
Commits on Mar 1, 2024
-
*Pipeline.getResults should close pipeline on error
Otherwise, it might be possible to panic when closing the pipeline if it tries to read a connection that should be closed but still has a fatal error on the wire. #1920
Configuration menu - View commit details
-
Copy full SHA for 2e84dcc - Browse repository at this point
Copy the full SHA 2e84dccView commit details
Commits on Mar 2, 2024
-
Fix simple protocol encoding of json.RawMessage
The underlying type of json.RawMessage is a []byte so to avoid it being considered binary data we need to handle it specifically. This is done by registerDefaultPgTypeVariants. In addition, handle json.RawMessage in the JSONCodec PlanEncode to avoid it being mutated by json.Marshal. #1763
Configuration menu - View commit details
-
Copy full SHA for 88dfc22 - Browse repository at this point
Copy the full SHA 88dfc22View commit details
Commits on Mar 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c1b0a01 - Browse repository at this point
Copy the full SHA c1b0a01View commit details
Commits on Mar 4, 2024
-
Do not allow protocol messages larger than ~1GB
The PostgreSQL server will reject messages greater than ~1 GB anyway. However, worse than that is that a message that is larger than 4 GB could wrap the 32-bit integer message size and be interpreted by the server as multiple messages. This could allow a malicious client to inject arbitrary protocol messages. GHSA-mrww-27vc-gghv
Configuration menu - View commit details
-
Copy full SHA for adbb38f - Browse repository at this point
Copy the full SHA adbb38fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 20344df - Browse repository at this point
Copy the full SHA 20344dfView commit details -
SQL sanitizer wraps arguments in parentheses
pgx v5 was not vulnerable to CVE-2024-27289 do to how the sanitizer was being called. But the sanitizer itself still had the underlying issue. This commit ports the fix from pgx v4 to v5 to ensure that the issue does not emerge if pgx uses the sanitizer differently in the future.
Configuration menu - View commit details
-
Copy full SHA for c543134 - Browse repository at this point
Copy the full SHA c543134View commit details -
Configuration menu - View commit details
-
Copy full SHA for da6f2c9 - Browse repository at this point
Copy the full SHA da6f2c9View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v5.5.3...v5.5.4