Releases: pgjdbc/pgjdbc
Releases · pgjdbc/pgjdbc
v42.3.4
What's Changed
- Use non-synchronized getTimeZone in TimestampUtils by @TeslaCN in #2451
- docs: Update testing documentation by @davecramer in #2446
- fix: Throw an exception if the driver cannot parse the URL instead of returning NULL by @davecramer in #2441
- fix: Use PGProperty instead of the property names directly by @davecramer in #2444
- fix: change PGInterval parseISO8601Format to support fractional second by @paulo-kluh in #2457
- docs: update changelog, missing links at bottom and formatting by @davecramer in #2460
- docs: Fix CHANGELOG.md misformatted markdown headings by @fcv in #2461
- feat: use direct wire format -> LocalDate conversion without resorting to java.util.Date, java.util.Calendar, and default timezones by @uschindler in #2464
- added post for 42.2.25 [SKIP CI] by @davecramer in #2466
- fix: No longer able to get user from keytab fixes issue 2469 by @suwei111333 in #2470
- change name of build cache by @davecramer in #2471
- feat: add support for ResultSet#getObject(OffsetTime.class) and PreparedStatement#setObject(OffsetTime.class) by @uschindler in #2467
- Remove isDeprecated from PGProperty. It was originally intended to help produce automated docs. Fixes #Issue 2479 by @davecramer in #2480
- remove loggerLevel and loggerFile from docs and issues by @davecramer in #2489
- More test and fix for issues discovered by #2476 by @uschindler in #2488
- Releasenotes42.3.4 by @davecramer in #2482
- Add missing PR 2546 to Changelog by @davecramer in #2492
New Contributors
- @paulo-kluh made their first contribution in #2457
- @fcv made their first contribution in #2461
- @uschindler made their first contribution in #2464
- @suwei111333 made their first contribution in #2470
Full Changelog: REL42.3.3...REL42.3.4
v42.3.3
What's Changed
- add security policy link to index by @davecramer in #2440
- Update SECURITY.md by @davecramer in #2445
- fix javadocs by @davecramer in #2454
- Update version number and create changelog for 42.3.3 by @davecramer in #2455
Full Changelog: REL42.3.2...REL42.3.3
v42.3.2
What's Changed
- doc: improv doc around binary decoding of numeric data by @bokken in #2331
- [typo] typo in CONTRIBUTING.md by @snuyanzin in #2332
- fix: use local TimestampUtil in PgStatement and PgResultset for thread safety by @marcmuel in #2291
- move comment to appropriate place and add explanation by @davecramer in #2336
- bump version in readme and gradle.properties by @davecramer in #2335
- perf: read in_hot_standby GUC on connection by @Rattenkrieg in #2334
- [typo] in connect.md by @snuyanzin in #2338
- test: materialized view privileges by @mgrobaker in #2209
- test: Fix DatabaseMetadataTest to perform mview tests only on 9.3+ by @sehrope in #2340
- add entries for latest changes by @davecramer in #2339
- Ms goodman time gettimestamp micros by @davecramer in #2181
- Issue 2278 ; jdbc:postgresql://?service= ; pg_service.conf ; .pgpass by @MarekUniq in #2282
- add TCP No Delay option fixes Issue #2324 by @davecramer in #2341
- fix Issue #2300. The spec says that calling close() on a closed connection is a noop. by @davecramer in #2345
- fix: parsing service file tests for windows by @davecramer in #2347
- fixForIsAutoGenerated Fix For IS_AUTOGENERATED Flag by @JoelRabinovitch in #2348
- fix: Connection leak in ConnectionFactoryImpl#tryConnect #2350 by @wyrzyk in #2351
- Misprint in messages_ru.java by @snuyanzin in #2358
- fix: return getIndexInfo metadata columns in UPPER CASE by @davecramer in #2368
- fix: rework gss authentication to use the principal name to get the credentials fixes Issue #2235 by @davecramer in #2352
- Removed unsafe package and native kerberos ticket check by @davecramer in #2363
- log4jmessage by @davecramer in #2370
- Fix misprint in escaped-functions.md for random by @snuyanzin in #2372
- Put back GSSCallbackHandler. Avoid using forbidden api by @davecramer in #2373
- fix: do not close refcursor after reading if fetchsize has been set fixes ISSUE #2227 by @davecramer in #2371
- Add plugin manager to allow dynamically supplying passwords by @sehrope in #2369
- style: fix typos in pgobject javadoc by @marschall in #2379
- style: import java.time types in TimestampUtils by @marschall in #2380
- style: import java.time types in more classes by @marschall in #2382
- fix: throw SQLException for #getBoolean BIT(>1) by @marschall in #2386
- style: remove Java 8 / JDBC 4.2 checks by @marschall in #2383
- docs: remove Java 6 and 7 references from contributing by @marschall in #2385
- perf: add read(b,o,l) to BlobInputStream by @davecramer in #2376
- Fix omni ci test ref cursor fetch test by @sehrope in #2391
- fix: default file name is ".pg_service.conf" on Windows (not "pg_service.conf") by @MarekUniq in #2398
- change the default directory returned on windows to APPDATA/postgresql since that is what we end up using anyway by @davecramer in #2402
- fix: we will ask the server if it supports GSS Encryption if gssEncryption is prefer or require by @davecramer in #2396
- docs: Document timezone reversal from POSIX to ISO by @davecramer in #2413
- fix: PgObject isNull() was reporting the opposite fixes Issue #2411 by @davecramer in #2414
- remove skipjre6 and skipjre7 by @davecramer in #2415
- docs: add info about convenience maven project by @zmiklank in #2407
- Add cert key type checking to chooseClientAlias by @nmburgan in #2417
- test: Disable no-arg callable statement tests in simple query mode by @sehrope in #2419
- Revert "perf: add read(b,o,l) to BlobInputStream" by @davecramer in #2422
- minor: fix checkstyle violations for empty lines in enum by @strkkk in #2426
- feat: Change AuthenticationPlugin interface to use char[] rather than String by @sehrope in #2420
- Changelog42.3.2 by @davecramer in #2418
- Use GitHub Action for building RPM in Fedora Copr by @praiskup in #2428
- Fix the RPM CI - typo in branch names by @praiskup in #2430
- Generate changelog by @davecramer in #2431
- fix javadoc failure to document parameters by @davecramer in #2432
New Contributors
- @marcmuel made their first contribution in #2291
- @Rattenkrieg made their first contribution in #2334
- @mgrobaker made their first contribution in #2209
- @JoelRabinovitch made their first contribution in #2348
- @wyrzyk made their first contribution in #2351
- @zmiklank made their first contribution in #2407
- @nmburgan made their first contribution in #2417
- @strkkk made their first contribution in #2426
Full Changelog: REL42.3.1...REL42.3.2
v42.2.25
What's Changed
- fix: Issue #2267, version 14 returns UNDEFINED FUNCTION for testInvokeFunctionHavingReturnParameter, also add v13, and v14 to Server versions by @davecramer in #2268
- fix checkstyle and javadoc issues by @davecramer in #2434
- increment version to 42.2.25 for new release by @davecramer in #2436
Full Changelog: REL42.2.24...REL42.2.25
v42.3.1
What's Changed
- update release date to Oct 18 [SKIP-CI] by @davecramer in #2308
- [typo] typo in certdir/README.md by @snuyanzin in #2309
- Fix typo in TimestampUtils.java by @TeslaCN in #2314
- improv: Arrays in Object[] by @bokken in #2230
- improv: Use jre utf-8 decoding by @bokken in #2317
- remove check for negative pid in cancel request. Apparently pgbouncer can send one fixes Issue #2318 by @davecramer in #2319
- perf: improve performance of bytea string decoding by @bokken in #2320
- feat: intern/canonicalize common strings by @bokken in #2234
- move version to 42.3.0 [SKIP-CI] by @davecramer in #2322
- Remove references to JAVA 6 and 7 by @davecramer in #2312
- fix: numeric binary decode for even 10 thousands by @bokken in #2327
- fix: remove unused OptimizedUTF8Encoder by @bokken in #2329
- Release notes for 42.3.1 by @davecramer in #2330
Full Changelog: REL42.3.0...REL42.3.1
v42.3.0
What's Changed
- Check for credential cache before requesting GSS encryption by @davecramer in #1883
- fix: PgTokenizer was ignoring last empty token by @davecramer in #1882
- Allow setNull with a REF_CURSOR type by @adunstan in #1885
- fix checkstyle by @davecramer in #1888
- fix: handle smallserial correctly fixes #1897 by @davecramer in #1899
- feat: add smallserial metadata by @jorsol in #899
- fix:remove osgi from karaf fixes Issue #1891 by @davecramer in #1902
- Small tweaks to discussion of null safety by @mernst in #1911
- fix: send type void parameters as null value by @petere in #1922
- Change gssEncMode default to allow. this is consistent with 42.2.x by @davecramer in #1921
- chore: remove broken files from .gradle cache folder by @vlsi in #1932
- chore: remove dependency on java-comment-preprocesor from postgresql-jdbc.spec.tpl by @odubaj in #1930
- remove gssEncMode to test default in tests, should default to allow now by @davecramer in #1928
- Update TESTING.md by @davecramer in #1925
- Update README.md to provide correct information for gssEncMode by @davecramer in #1923
- Rework sql type gathering to use OID instead of typname. by @MMeent in #1949
- Fix PGCopyOutputStream out of order writes by @sehrope in #1854
- isValid() timeout should not be blocked by @hugomiguelabreu in #1943
- Fixed issue #892 by @costa100 in #1910
- feat: implement adaptive fetching by @davecramer in #1718
- Update apt before trying to install packages for gss test by @davecramer in #1963
- fix: Postgres version 14 changes the returned PSQLState for a procedure that is really a function to UNDEFINED_FUNCTION instead of WRONG_OBJECT_TYPE. Also added v13 through v16 for server versions by @davecramer in #1966
- refactor: adding missing OIDs by @adrklos in #1750
- Fix: change assertTrue to assertEquals. Surround with try/finally by @davecramer in #1967
- add version to javadoc title by @davecramer in #1973
- Connect example by @davidradernj in #1971
- Document lo and test_decoding requirements by @jesperpedersen in #1976
- Some changes to fix the correctness of the site by @davecramer in #2003
- improv: Standard charsets by @bokken in #1997
- feat: optimized binary numeric support by @bokken in #1940
- improv: type alias handling in TypeInfoCache by @bokken in #1986
- improve: use Base64 implementation from jre by @bokken in #1996
- improv: minor optimizations in MD5Digest by @bokken in #1995
- chore: bump gradle 6.3 -> 6.7.1 by @davecramer in #2014
- chore: javadoc changes in PgResultSet.java to pass upcoming checkstyle version by @pbludov in #2018
- chore: javadoc changes in Driver.java to pass upcoming checkstyle version by @pbludov in #2017
- chore: verify code via forbidden-apis (jdk-internal and jdk-non-portable signatures) by @vlsi in #2015
- fix: potential overflow when reading cache sizes by @bokken in #2009
- style: Change code style to follow checkstyle configuration more accurately by @Abhishek-kumar09 in #2024
- style: fix minor style inconsistency by @petere in #2036
- style: fix typo in error message by @petere in #2037
- Fix isValid() cherry-picked for master by @sehrope in #2041
- fix: Use SASLprep normalization for SCRAM authentication by @jorsol in #2054
- PGtokenizer ParseError by @rtrier in #2051
- fix small spelling errors by @davecramer in #2062
- fix: Actually close unclosed results. Previously was not closing the first unclosed result fixes #1903 by @davecramer in #1905
- fix: properly set cancel socket timeout (#2044) by @davecramer in #2066
- ssl docs odd wording, misplaced code marker by @iceback in #2075
- Fixed indentation of StatementCancelState.java by @plan3d in #2077
- Fixed indentation of PGProperty by @plan3d in #2088
- feat: Add new property to specify local Socket Address (#2081) by @jycr in #2082
- fix: Partitioned indexes were not found fixes (#2078) (#2087) by @davecramer in #2091
- Group startup statements by @jesperpedersen in #1977
- Change TestUtil.terminateBackend(...) to wait for terminated process to exit by @sehrope in #2099
- initial attempt at getting arm workflow working by @davecramer in #2096
- fix: PgDatabaseMetaData.getTables() should return UPPERCASE column names as per spec by @davecramer in #2092
- update changelog by @davecramer in #2103
- update docs to reflect deprecated DataSource API setServerName by @davecramer in #2057
- fix: make sure the table have defined primary keys when using updateable resultset by @Fzhlib in #2101
- Fixed indentation of BlobTest.java by @plan3d in #2107
- Correctly indent code sample in the "options" documentation by @laurenz in #2117
- Fixed indentation of V3ParameterListTest.java by @plan3d in #2118
- clarify use of ApplicationName by @davecramer in #2116
- Add SERIALIZATION_FAILURE to org.postgresql.util.PSQLState #2128 by @Tomtomgo in #2129
- test: Fix GitHub actions os matrix to use inline arrays by @sehrope in #2132
- test: Add paths-ignore to GitHub actions to skip on doc only changes by @sehrope in #2134
- RETURNING clause mistakenly added to CREATE and ALTER table statements by @elpete in #2119
- style: fix Unicode junk by @petere in #2140
- fix: Fixing the order of javadoc tags by @Vyom-Yadav in #2142
- fix: rework OSGi bundle activator so it does not rely on exception message to check DataSourceFactory presence by @vlsi in #507
- CI Spring Cleaning by @sehrope in #2137
- Add code coverage and matrix filters to omni action by @sehrope in #2151
- Sync CHANGELOG from latest release into master by @sehrope in #2152
- Avoid leaking server error details through BatchUpdateException when logServerErrorDetail=false by @frode-carlsen in #2148
- More test speeds ups with temp tables and disabling autovaccum by @sehrope in #2155
- try to read any notifies or errors that come in asynchronously by @davecramer in #2143
- Gradle and CI improvements by @sehrope in #2156
- test: Fix typo in seed build cache action output name by @sehrope in #2160
- test: Add explicit stop and remove of docker-compose containers in CI by @sehrope in #2163
- Add replica testing and PG built from source by @sehrope in #2161
- test: Fix git hash emptiness check in postgres-head Dockerfile by @sehrope in #2165
- Disable slow tests in main, clean up SSL tests, and make CI all green by @sehrope in #2167
- Fix metadata functions getProcedures() and getFunctions() to ignore search_path by @sehrope in #2174
- fix: When calling Driver.connect multiple times, System.err is closed unexpectedly. by @agatan in #2138
- fix: Correct path to docker entrypoint in postgres-server container by @sehrope in #2185
- Update test TLS cert validity and generation script by @sehrope in #2192
- test: Remove PG 14 procedure error special handling by @sehrope in https://git...
v42.2.24
What's Changed
- fix: backpatch PR#2217 handle OIDs >= 2**31 to fix issue #2215. by @davecramer in #2218
- fix: NPE calling getTypeInfo when alias is null by @davecramer in #2220
- Fix updateable result set when there are primary keys and unique keys by @chalmagr in #2228
- remove old changelog information from post. Incorrectly added by development script that is clearly still in development [SKIP-CI] by @davecramer in #2240
- backpatch pr#2245 fixes case where duplicate tables are returned if there are duplicate descriptions oids are not guaranteed to be unique in the catalog by @davecramer in #2248
- Backpatching #2251 into 42.2 Clean up open connections to fix test failures on omni and appveyor by @sehrope in #2252
- Backpatch PR 2242 into 42.2: PgDatabaseMetaData.getIndexInfo() cast operands to smallint by @jsyrjala in #2253
- backpatch PR#2247 fix: handle ParameterStatus messages in QueryExecutorImpl.receiveFastpathResult by @davecramer in #2249
- Backport PR2148 into 42.2.x Avoid leaking server error details through BatchUpdateException when logServerErrorDetail=false by @jp7677 in #2254
- fix startup regressions caused by PR #1949. Instead of checking all types by OID, we can return types for well known types by @davecramer in #2257
- Changelog 42.2.24 by @davecramer in #2258
New Contributors
Full Changelog: REL42.2.23...REL42.2.24
v42.2.23
What's Changed
- test: Regenerate TLS certs with new expirations by @davecramer in #2201
- Backpatch fixupdateable by @davecramer in #2200
- back patch fixing refreshRow makes resultset readonly fixes Issue #2193 by @davecramer in #2202
- fix getColumnPrecision for Numeric when scale and precision not specified fixes: Issue #2188 by @davecramer in #2203
- fix: jre6 jar not being created due to preprocessMain failing due to the destination directories not being created by @davecramer in #2205
- backpatch #1949 Rework sql type gathering to use OID instead of typname by @davecramer in #2206
- Update Changelog by @davecramer in #2207
Full Changelog: REL42.2.22...REL42.2.23
v42.2.22
What's Changed
- Fixchangelog [skip-ci] by @davecramer in #2178
- revert 4fa2d5b to fix the regression introduced. Fixes Issue 2180 by @davecramer in #2183
Full Changelog: REL42.2.21...REL42.2.22
v42.2.21
What's Changed
- fix: make sure the table have defined primary keys when using updateble resultset (#2101) by @davecramer in #2106
- update docs to reflect deprecated DataSource API setServerName (#2057) by @davecramer in #2105
- fix: backpatch PR#507 which reworks OSGI bundle activator fixes ISSUE #2133 by @davecramer in #2166
- fix: backpatch PR #2143 read notifies or errors that come in asynchronously after the ready for query by @davecramer in #2168
- fix: backpatch PR#2174 to Fix metadata functions getProcedures() and getFunctions() to ignore search_path by @davecramer in #2175
- pre-release for 42.2.21 by @davecramer in #2176
Full Changelog: REL42.2.20...REL42.2.21