Sourced from org.postgresql:postgresql's releases.
v42.5.4
What's Changed
- apply doc changes from PR #2743 to release/42.5.x by
@davecramer
in pgjdbc/pgjdbc#2753- fix: fix testGetSQLTypeQueryCache by searching for xid type. by
@davecramer
in pgjdbc/pgjdbc#2805- Revert "fix: fix testGetSQLTypeQueryCache by searching for xid type." by
@davecramer
in pgjdbc/pgjdbc#2807- Make sure that github CI runs tests on all PRs by
@davecramer
in pgjdbc/pgjdbc#2809- fix: fix testGetSQLTypeQueryCache by searching for xid type instead of box. by
@davecramer
in pgjdbc/pgjdbc#2810- Update docs for Release 42.5.4 by
@davecramer
in pgjdbc/pgjdbc#2812Full Changelog: https://github.com/pgjdbc/pgjdbc/compare/REL42.5.3...REL42.5.4
v42.5.3
What's Changed
- Add box to TypeInfoCache, fixes Issue #2746 by
@davecramer
in pgjdbc/pgjdbc#2747- update changelog and docs for release by
@davecramer
in pgjdbc/pgjdbc#2751- minor changes by
@davecramer
in pgjdbc/pgjdbc#2752Full Changelog: https://github.com/pgjdbc/pgjdbc/compare/REL42.5.2...REL42.5.3
v42.5.2
What's Changed
- Fix broken case in Maven XML snippet copied to clipboard by
@dalbani
in pgjdbc/pgjdbc#2682- move release date to Nov 23, update version number for next release by
@davecramer
in pgjdbc/pgjdbc#2677- fix: Make sure socket is closed if an exception is thrown in createSocket fixes Issue #2684 by
@davecramer
in pgjdbc/pgjdbc#2685- docs: specify that timeouts are in seconds and there is a maximum. Housekeeping on some tests fixes #Issue 2671 by
@davecramer
in pgjdbc/pgjdbc#2686- fix: Apply patch from Issue #2683 to fix hanging ssl connections by
@davecramer
in pgjdbc/pgjdbc#2687- style: Style only change to use diamond operator in Oid by
@rbygrave
in pgjdbc/pgjdbc#2691- style: Style only change, use diamond operator in PGProperty by
@rbygrave
in pgjdbc/pgjdbc#2692- fix - binary conversion of (very) long numeric values by
@bokken
in pgjdbc/pgjdbc#2697- docs: clarify binaryTransfer and add it to README by
@davecramer
in pgjdbc/pgjdbc#2698- docs: Document the need to encode reserved characters in the connection URL by
@davecramer
in pgjdbc/pgjdbc#2700- minor: set private attribute as final by
@AlaaAttya
in pgjdbc/pgjdbc#2704- minor: enhance readability connection of startup params by
@AlaaAttya
in pgjdbc/pgjdbc#2705- minor: log warning on stream close failure by
@AlaaAttya
in pgjdbc/pgjdbc#2708- fix: make variables private final by
@davecramer
in pgjdbc/pgjdbc#2707- fix: Parser does not handle version 14 function syntax Issue #2507 by
@davecramer
in pgjdbc/pgjdbc#2703- fix: img src in README by
@david-whs
in pgjdbc/pgjdbc#2712- fix binary transfer floating point overflow by
@bokken
in pgjdbc/pgjdbc#2710- Revert "fix binary transfer floating point overflow" by
@davecramer
in pgjdbc/pgjdbc#2716- add redirects fixes issue #2608 by
@davecramer
in pgjdbc/pgjdbc#2718- update lastEditYear by
@davecramer
in pgjdbc/pgjdbc#2721- Revert "update lastEditYear" by
@davecramer
in pgjdbc/pgjdbc#2727- fix: improve thread safety of PgResultSet#getTimestamp by
@sz-liva
in pgjdbc/pgjdbc#2726- Update lastyear by
@davecramer
in pgjdbc/pgjdbc#2728- redo PR fix_binary_transfer_floating point from brett, removed BigDecimal where possible by
@davecramer
in pgjdbc/pgjdbc#2719- Bump GitHub action versions, replace deprecated set-output usage by
@vlsi
in pgjdbc/pgjdbc#2731- docs: remove generated docs from source control by
@vlsi
in pgjdbc/pgjdbc#2734- add ssl redirect by
@davecramer
in pgjdbc/pgjdbc#2735
... (truncated)
Sourced from org.postgresql:postgresql's changelog.
Changelog
Notable changes since version 42.0.0, read the complete History of Changes.
The format is based on Keep a Changelog.
[Unreleased]
Changed
Added
Fixed
[42.7.3] (2024-04-14 14:51:00 -0400)
Changed
- chore: gradle config enforces 17+ [PR #3147](pgjdbc/pgjdbc#3147)
Fixed
- fix: boolean types not handled in SimpleQuery mode [PR #3146](pgjdbc/pgjdbc#3146)
- make sure we handle boolean types in simple query mode
- support uuid as well
- handle all well known types in text mode and change
else if
toswitch
- fix: released new versions of 42.2.29, 42.3.10, 42.4.5, 42.5.6, 42.6.2 to deal with
NoSuchMethodError on ByteBuffer#position
when running on Java 8[42.7.2] (2024-02-21 08:23:00 -0500)
Security
- security: SQL Injection via line comment generation, it is possible in
SimpleQuery
mode to generate a line comment by having a placeholder for a numeric with a-
such as-?
. There must be second placeholder for a string immediately after. Setting the parameter to a -ve value creates a line comment. This has been fixed in this version fixes CVE-2024-1597. Reported by Paul Gerste. See the security advisory for more details. This has been fixed in versions 42.7.2, 42.6.1 42.5.5, 42.4.4, 42.3.9, 42.2.28.jre7. See the security advisory for work arounds.Changed
- fix: Use simple query for isValid. Using Extended query sends two messages checkConnectionQuery was never ever set or used, removed [PR #3101](pgjdbc/pgjdbc#3101)
- perf: Avoid autoboxing bind indexes by
@bokken
in [PR #1244](pgjdbc/pgjdbc#1244)- refactor: Document that encodePassword will zero out the password array, and remove driver's default encodePassword by
@vlsi
in [PR #3084](pgjdbc/pgjdbc#3084)Added
- feat: Add PasswordUtil for encrypting passwords client side [PR #3082](pgjdbc/pgjdbc#3082)
[42.7.1] (2023-12-06 08:34:00 -0500)
Changed
- perf: improve performance of PreparedStatement.setBlob, BlobInputStream, and BlobOutputStream with dynamic buffer sizing [PR #3044](pgjdbc/pgjdbc#3044)
Fixed
- fix: Apply connectTimeout before SSLSocket.startHandshake to avoid infinite wait in case the connection is broken [PR #3040](pgjdbc/pgjdbc#3040)
- fix: support waffle-jna 2.x and 3.x by using reflective approach for ManagedSecBufferDesc [PR #2720](pgjdbc/pgjdbc#2720) Fixes [Issue #2690](pgjdbc/pgjdbc#2720).
- fix: NoSuchMethodError on ByteBuffer#position When Running on Java 8 when accessing arrays, fixes [Issue #3014](pgjdbc/pgjdbc#3014)
- Revert "[PR #2925](pgjdbc/pgjdbc#2925) Use canonical DateStyle name" [PR #3035](pgjdbc/pgjdbc#3035) Fixes [Issue #3008](pgjdbc/pgjdbc#3008)
- Revert "[PR ##2973](pgjdbc/pgjdbc#2973) feat: support SET statements combining with other queries with semicolon in PreparedStatement" [PR #3010](pgjdbc/pgjdbc#3010)
... (truncated)
475e3e2
Merge pull request from GHSA-24rp-q3w6-vc561b1d6b5
Merge pull request from GHSA-24rp-q3w6-vc56051ae1b
Update docs for Release 42.5.4 (#2812)3d13b43
fix: fix testGetSQLTypeQueryCache by searching for xid type. We used to
searc...24e9ce3
Make sure that github CI runs tests on all PRs (#2809)9980a95
Revert "fix: fix testGetSQLTypeQueryCache by searching for xid
type. (#2805)"...fad8664
fix: fix testGetSQLTypeQueryCache by searching for xid type. (#2805)1000ad4
apply doc changes from PR #2743
to release/42.5.x (#2753)976b27b
minor changes (#2752)d2f77a2
update changelog and docs for release (#2751)