| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
| 2 |
<!-- |
| 3 |
Copyright 2004-2023 H2 Group. Multiple-Licensed under the MPL 2.0, |
| 4 |
and the EPL 1.0 (https://h2database.com/html/license.html). |
| 5 |
Initial Developer: H2 Group |
| 6 |
--> |
| 7 |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> |
| 8 |
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> |
| 9 |
<meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 10 |
<title> |
| 11 |
Change Log |
| 12 |
</title> |
| 13 |
<link rel="stylesheet" type="text/css" href="stylesheet.css" /> |
| 14 |
<!-- [search] { --> |
| 15 |
<script type="text/javascript" src="navigation.js"></script> |
| 16 |
</head><body onload="frameMe();"> |
| 17 |
<table class="content"><tr class="content"><td class="content"><div class="contentDiv"> |
| 18 |
<!-- } --> |
| 19 |
|
| 20 |
<h1>Change Log</h1> |
| 21 |
|
| 22 |
<h2>Next Version (unreleased)</h2> |
| 23 |
<ul> |
| 24 |
<li>Nothing yet... |
| 25 |
</li> |
| 26 |
</ul> |
| 27 |
|
| 28 |
<h2>Version 2.2.220 (2023-07-04)</h2> |
| 29 |
<ul> |
| 30 |
<li>PR #3834: Increase database format version |
| 31 |
</li> |
| 32 |
<li>PR #3833: Disallow plain webAdminPassword values to force usage of hashes |
| 33 |
</li> |
| 34 |
<li>PR #3831: Add Oracle-style NOWAIT, WAIT n, and SKIP LOCKED to FOR UPDATE clause |
| 35 |
</li> |
| 36 |
<li>PR #3830: Fix time zone of time/timestamp with time zone AT LOCAL |
| 37 |
</li> |
| 38 |
<li>PR #3822 / Issue #2671: Add quantified comparison predicates with array |
| 39 |
</li> |
| 40 |
<li>PR #3820: Add partial implementation of JSON simplified accessor |
| 41 |
</li> |
| 42 |
<li>PR #3818: Add support of underscores in numeric literals |
| 43 |
</li> |
| 44 |
<li>PR #3817: Add ANY_VALUE() aggregate function |
| 45 |
</li> |
| 46 |
<li>PR #3814: Fix regression in comparisons with infinities and NaNs |
| 47 |
</li> |
| 48 |
<li>Issue #3040: System objectIds are recycled twice when CTE queries are executed. |
| 49 |
</li> |
| 50 |
<li>PR #3812: UNIQUE null treatment |
| 51 |
</li> |
| 52 |
<li>PR #3811: BTRIM function, octal and binary literals and other changes |
| 53 |
</li> |
| 54 |
<li>Issue #352: In comparison text values are converted to INT even when they should be converted to BIGINT |
| 55 |
</li> |
| 56 |
<li>PR #3797: MSSQL mode: Discard table hints on plain UPDATE statements |
| 57 |
</li> |
| 58 |
<li>PR #3791: Formatted cast of datetimes to/from character strings |
| 59 |
</li> |
| 60 |
<li>Issue #3785: CSVRead: Fails to translate empty Numbers, when cells are quoted |
| 61 |
</li> |
| 62 |
<li>Issue #3762: Comparison predicates with row values don't create index conditions |
| 63 |
</li> |
| 64 |
<li>PR #3761: LAST_DAY function and other changes |
| 65 |
</li> |
| 66 |
<li>Issue #3705: Oracle DATE type: milliseconds (second fractions) rounded in H2 but truncated in Oracle (fixed in SYSDATE only) |
| 67 |
</li> |
| 68 |
<li>Issue #3642: AssertionError in mvstore.FileStore.serializeAndStore |
| 69 |
</li> |
| 70 |
<li>Issue #3675: H2 2.x cannot read PostgreSQL-style sequence generator start with option without WITH keyword |
| 71 |
</li> |
| 72 |
<li>Issue #3757: FORMATDATETIME function doesn't handle time with time zone properly |
| 73 |
</li> |
| 74 |
<li>PR #3756: Limit the row list allocation based on the row count |
| 75 |
</li> |
| 76 |
<li>PR #3753: Add missing NEWSEQUENTIALID function in MSSQLServer mode |
| 77 |
</li> |
| 78 |
<li>Issue #3730: FILE_READ from JAR filesystem on classpath results in file of length 0 |
| 79 |
</li> |
| 80 |
<li>PR #3749: Fix min/max description for sequences |
| 81 |
</li> |
| 82 |
<li>PR #3739: Fix count(*) for linked table to Oracle |
| 83 |
</li> |
| 84 |
<li>Issue #3731: Division result exceeds numeric precision constraint |
| 85 |
</li> |
| 86 |
<li>PR #3718: Add test coverage for JDK 17 |
| 87 |
</li> |
| 88 |
<li>Issue #3580: TestCrashAPI: NPE in ParserUtil.getTokenType() (called by Parser.readIfDataType1()) |
| 89 |
</li> |
| 90 |
<li>PR #3709: Update copyright years and fix building of documentation |
| 91 |
</li> |
| 92 |
<li>Issue #3701: CLOBs can cause ClassCastExceptions |
| 93 |
</li> |
| 94 |
<li>Issue #3698: MySQL mode show columns from table, if modificationMetaId changed between prepared and execute. |
| 95 |
Then error occurred. |
| 96 |
</li> |
| 97 |
<li>PR #3699: Upgrade to the latest OSGi JDBC specification |
| 98 |
</li> |
| 99 |
<li>Issue #3659: User-defined variable "sticky" if used in view with join |
| 100 |
</li> |
| 101 |
<li>Issue #3693: Wrong result when intersecting unnested arrays |
| 102 |
</li> |
| 103 |
<li>PR #3691: GitHub Workflows security hardening |
| 104 |
</li> |
| 105 |
<li>PR #3688: Construct FormatTokenEnum.TOKENS during class initialization |
| 106 |
</li> |
| 107 |
<li>Issue #3682: MVStoreException at accountForRemovedPage |
| 108 |
</li> |
| 109 |
<li>Issue #3664: [2.1.214] NullPointerException in org.h2.command.query.Select.queryDistinct |
| 110 |
</li> |
| 111 |
<li>PR #3650: fix version number in the archives html table |
| 112 |
</li> |
| 113 |
<li>PR #3649: Basic implementation of materialized view |
| 114 |
</li> |
| 115 |
<li>Issue #3646: org.h2.mvstore.MVStoreException: Chunk metadata too long |
| 116 |
</li> |
| 117 |
<li>Issue #3645: The BITCOUNT function incorrectly counts BINARY/VARBINARY values of >=16 bytes. |
| 118 |
</li> |
| 119 |
<li>Issue #3637: DB content massacred when opening a 2.1.214 DB with current master |
| 120 |
</li> |
| 121 |
<li>Issue #3636: "This store is closed" after two-phase commit |
| 122 |
</li> |
| 123 |
<li>PR #3639: Add random_uuid() alias to be compatible with postgres |
| 124 |
</li> |
| 125 |
<li>Issue #3640: SOUNDEX function should not be case-sensitive |
| 126 |
</li> |
| 127 |
<li>Issue #3633: Memory leak in case of in-memory database |
| 128 |
</li> |
| 129 |
<li>PR #3629 Better separation between MVStore and FileStore |
| 130 |
</li> |
| 131 |
<li>PR #3626: Improve memory estimation of CacheLongKeyLIRS and correct some passed memory sizes |
| 132 |
</li> |
| 133 |
<li>Issue #3619: PostgreSQL mode: STRING_AGG with prepared statement parameter not working |
| 134 |
</li> |
| 135 |
<li>Issue #3615: H2 Console connecting to Oracle DB will not show the list of tables |
| 136 |
</li> |
| 137 |
<li>PR #3613: Fix infinite loop in Tokenizer when special whitespace character is used |
| 138 |
</li> |
| 139 |
<li>Issue #3606: Support for GraalVMs native-image |
| 140 |
</li> |
| 141 |
<li>Issue #3607: [MySQL] UNIX_TIMESTAMP should return NULL |
| 142 |
</li> |
| 143 |
<li>Issue #3604: Improper FROM_1X implementation corrupts some BLOBs during migration |
| 144 |
</li> |
| 145 |
<li>Issue #3597: Support array element assignments in UPDATE statements |
| 146 |
</li> |
| 147 |
<li>Issue #3599: [2.1.214][MariaDB] DELETE query failure |
| 148 |
</li> |
| 149 |
<li>Issue #3600: NPE in MVTable.lock(), version 2.1.214 |
| 150 |
</li> |
| 151 |
<li>Issue #3601: InvalidPathException when saving lock file |
| 152 |
</li> |
| 153 |
<li>Issue #3583: lob cleaner issue |
| 154 |
</li> |
| 155 |
<li>Issue #3585: Misuse ValueReal.DECIMAL_PRECISION when optimize typeinfo from DOUBLE to DECFLOAT |
| 156 |
</li> |
| 157 |
<li>Issue #3575: Possible syntax mismatch for json_object in MySQL compatibility mode |
| 158 |
</li> |
| 159 |
<li>PR #3577: Add support of TINYINT and DECFLOAT to TO_CHAR |
| 160 |
</li> |
| 161 |
<li>Issue #3567: No AUTO_INCREMENT in DatabaseMetaData.getTypeInfo() |
| 162 |
</li> |
| 163 |
<li>PR #3555: Add missing check for -webExternalNames flag |
| 164 |
</li> |
| 165 |
<li>Issue #3543: PostgreSQL mode, update with "from", why "NULL not allowed" error? |
| 166 |
</li> |
| 167 |
<li>PR #3542: Fix failed to delete a readonly file on Windows file systems |
| 168 |
</li> |
| 169 |
</ul> |
| 170 |
|
| 171 |
<h2>Version 2.1.214 (2022-06-13)</h2> |
| 172 |
<ul> |
| 173 |
<li>Issue #3538: In Postgres compatibility mode the NUMERIC type w/o scale should not default to 0 |
| 174 |
</li> |
| 175 |
<li>Issue #3534: Subquery has incorrect empty parameters since 2.1.210 that breaks sameResultAsLast() |
| 176 |
</li> |
| 177 |
<li>Issue #3390: "ROW" cannot be set as a non keyword in 2.x |
| 178 |
</li> |
| 179 |
<li>Issue #3448: With linked table to postgreSQL, case-sensitive column names not respected in where part |
| 180 |
</li> |
| 181 |
<li>Issue #3434: JavaTableFunction is not closing underlying ResultSet when reading column list |
| 182 |
</li> |
| 183 |
<li>Issue #3468: Invalid DB format exception (for 1.x DB in 2.x h2) should have a specific SQLException vendorCode |
| 184 |
</li> |
| 185 |
<li>Issue #3528: Weird syntax error with HAVING clause in Oracle Mode |
| 186 |
</li> |
| 187 |
<li>Issue #3307: Fix SHUTDOWN DEFRAG for encrypted databases |
| 188 |
</li> |
| 189 |
<li>Issue #3515: Support for NEXTVAL property in DB2 mode |
| 190 |
</li> |
| 191 |
<li>Issue #3444: Conversion 'text' to 'integer' doesn't work anymore |
| 192 |
</li> |
| 193 |
<li>Issue #3493: org.h2.tools.DeleteDbFiles won't delete files under certain circumstances |
| 194 |
</li> |
| 195 |
<li>Issue #3486: FilePathDisk.newDirectoryStream() may fail on remote drive on Windows due to AccessDeniedException in Path.toRealPath() |
| 196 |
</li> |
| 197 |
<li>Issue #3484: LOB issue |
| 198 |
</li> |
| 199 |
</ul> |
| 200 |
|
| 201 |
<h2>Version 2.1.212 (2022-04-09)</h2> |
| 202 |
<ul> |
| 203 |
<li>Issue #3512: BITNOT(BIT_NAND_AGG(...) OVER ()) produces wrong result |
| 204 |
</li> |
| 205 |
<li>Issue #3510: PreparedStatement execution with java.io.tmpdir pointing to a directory symlink results in FileAlreadyExistsException |
| 206 |
</li> |
| 207 |
<li>PR #3504: Fix TypeInfo.getHigherGeometry() for types with and without SRID |
| 208 |
</li> |
| 209 |
<li>PR #3481: Add support for standard interval literals with precision |
| 210 |
</li> |
| 211 |
<li>Issue #3471: Possibility of corruption after SHUTDOWN DEFRAG |
| 212 |
</li> |
| 213 |
<li>Issue #3473: DROP TABLE/INDEX causes memory leak |
| 214 |
</li> |
| 215 |
<li>PR #3464 / Issue #3457: increase max length of VAR* types |
| 216 |
</li> |
| 217 |
<li>PR #3460: fix bug in readStoreHeader() |
| 218 |
</li> |
| 219 |
<li>PR #3458: Add performance tests for SQLite |
| 220 |
</li> |
| 221 |
<li>Issue #1808: Occasional NPE in concurrent update of LOB |
| 222 |
</li> |
| 223 |
<li>Issue #3439: Cannot use enum values in JSON without explicit casts |
| 224 |
</li> |
| 225 |
<li>Issue #3426: Regression: BIT(1) is not accepted in MySQL compatibility mode |
| 226 |
</li> |
| 227 |
<li>PR #3422: Allow combination of any geometry types with the same SRID |
| 228 |
</li> |
| 229 |
<li>Issue #3414: H2 2.1.210: Query with Parameters throws NPE |
| 230 |
</li> |
| 231 |
<li>Issue #3413: Parser can't parse REFERENCES … NOT NULL |
| 232 |
</li> |
| 233 |
<li>Issue #3410: OOME with nested derived tables |
| 234 |
</li> |
| 235 |
<li>Issue #3405: Enhance SCRIPT to support operations on STDOUT |
| 236 |
</li> |
| 237 |
<li>Issue #3406 / PR #3407: FunctionMultiReturn.polar2CartesianArray result set iteration throws ClassCastException |
| 238 |
</li> |
| 239 |
<li>Issue #3400: Regression: ORDER BY ROWNUM fails with General error: "Unexpected code path" |
| 240 |
</li> |
| 241 |
<li>Issue #3387: SYSDATE behavior changed in 2.x |
| 242 |
</li> |
| 243 |
<li>Issue #3394: SYSDATE Considered Identifier when used in inner select |
| 244 |
</li> |
| 245 |
<li>Issue #3391: Hang on merge statement with data change delta table |
| 246 |
</li> |
| 247 |
<li>PR #3384: Remove abandoned Java to C converter and fix some warnings from Sonatype Lift |
| 248 |
</li> |
| 249 |
<li>PR #3382: Use secure parser in H2AuthConfigXml to avoid future reports |
| 250 |
</li> |
| 251 |
</ul> |
| 252 |
|
| 253 |
<h2>Version 2.1.210 (2022-01-17)</h2> |
| 254 |
<ul> |
| 255 |
<li>PR #3381: Add IDENTITY() and SCOPE_IDENTITY() to LEGACY mode |
| 256 |
</li> |
| 257 |
<li>Issue #3376: Data cannot be read after insert of clob data > MAX_LENGTH_INPLACE_LOB with data change delta table |
| 258 |
</li> |
| 259 |
<li>PR #3377: Add -webExternalNames setting and fix WebServer.getConnection() |
| 260 |
</li> |
| 261 |
<li>PR #3367: Use faster checks of dimension systems of geometries |
| 262 |
</li> |
| 263 |
<li>PR #3369: Added v2 changes in migration docs |
| 264 |
</li> |
| 265 |
<li>Issue #3361: MemoryEstimator.estimateMemory() can return negative size |
| 266 |
</li> |
| 267 |
<li>PR #3362: Use BufferedReader instead of BufferedInputStream to avoid Illegal seek exception |
| 268 |
</li> |
| 269 |
<li>Issue #3353: Wrong rownum() scope for DML with change delta table |
| 270 |
</li> |
| 271 |
<li>PR #3352: make Javadoc happier |
| 272 |
</li> |
| 273 |
<li>Issue #3344: Changelog could link to github issue |
| 274 |
</li> |
| 275 |
<li>Issue #3340: JDBC index type seems wrong |
| 276 |
</li> |
| 277 |
<li>Issue #3336: FT_INIT error when mode=MySQL |
| 278 |
</li> |
| 279 |
<li>Issue #3334: Regression with CREATE ALIAS - Parameter "#2" is not set |
| 280 |
</li> |
| 281 |
<li>Issue #3321: Insert Primary Key after import CSV Data does not work |
| 282 |
</li> |
| 283 |
<li>PR #3323: Tokenize SQL before parsing and preserve tokens for recompilation |
| 284 |
</li> |
| 285 |
<li>PR #3320: Add Servlet 5-compatible servlet for H2 Console |
| 286 |
</li> |
| 287 |
<li>Issue #918: Parser fails recognising set operations in correlated subqueries |
| 288 |
</li> |
| 289 |
<li>Issue #2050: PostgreSQL with recursive fail with union in the final query |
| 290 |
</li> |
| 291 |
<li>PR #3316: Update copyright years |
| 292 |
</li> |
| 293 |
<li>PR #3315: Never put read locks into lockSharedSessions and other minor changes |
| 294 |
</li> |
| 295 |
<li>Issue #492: H2 does not correctly parse <parenthesized joined table> |
| 296 |
</li> |
| 297 |
<li>Issue #3311: Parser creates wrong join graph in some cases and uses wrong tables for column mapping |
| 298 |
</li> |
| 299 |
<li>FORCE_JOIN_ORDER setting is removed |
| 300 |
</li> |
| 301 |
<li>Issue #1983: Official build script is not compatible with Java 13 |
| 302 |
</li> |
| 303 |
<li>PR #3305: Add UNIQUE(VALUE) and remove some non-standard keywords |
| 304 |
</li> |
| 305 |
<li>PR #3299: Remove useless StringBuilder.toString() call |
| 306 |
</li> |
| 307 |
<li>PR #3298: Delete unused sqlTypes array |
| 308 |
</li> |
| 309 |
</ul> |
| 310 |
|
| 311 |
<h2>Version 2.0.206 (2022-01-04)</h2> |
| 312 |
<ul> |
| 313 |
<li>Issue #3322: Create linked table fails when the table contains a Geometry with a data type specified |
| 314 |
</li> |
| 315 |
<li>Issue #3297: Unexpected GROUP BY results with indexed IGNORECASE column |
| 316 |
</li> |
| 317 |
</ul> |
| 318 |
|
| 319 |
<h2>Version 2.0.204 (2021-12-21)</h2> |
| 320 |
<ul> |
| 321 |
<li>Issue #3291: Add Legacy and Strict modes |
| 322 |
</li> |
| 323 |
<li>Issue #3287: SELECT statement works on 1.4.200 but fails on 2.0.202 with "Column XYZ must be in the GROUP BY list" |
| 324 |
</li> |
| 325 |
<li>PR #3284: Remove unused UNDO_LOG setting |
| 326 |
</li> |
| 327 |
<li>Issue #3251: Table with GEOMETRY column can't have a TriggerAdapter-based trigger any more |
| 328 |
</li> |
| 329 |
<li>PR #3281: DateTimeFormatter-based FORMATDATETIME and PARSEDATETIME and other changes |
| 330 |
</li> |
| 331 |
<li>Issue #3246: Spatial predicates with comparison are broken in MySQL compatibility mode |
| 332 |
</li> |
| 333 |
<li>Issue #3270: org.h2.jdbc.JdbcSQLFeatureNotSupportedException: Feature not supported: "Unsafe comparison or cast" |
| 334 |
</li> |
| 335 |
<li>Issue #3268 / PR #3275: Add TO_DATE and TO_TIMESTAMP to PostgreSQL compatibility mode |
| 336 |
</li> |
| 337 |
<li>PR #3274: Remove some dead code and unused params |
| 338 |
</li> |
| 339 |
<li>Issue #3266: Oracle compatibility NUMBER without precision and scale should have variable scale |
| 340 |
</li> |
| 341 |
<li>Issue #3263: Unable to store BigDecimal with negative scale in NUMERIC(19,6) column |
| 342 |
</li> |
| 343 |
<li>PR #3261: Small optimization for MIN and MAX |
| 344 |
</li> |
| 345 |
<li>Issue #3258 / PR #3259: Prevent incorrect optimization of COUNT(*) and other changes |
| 346 |
</li> |
| 347 |
<li>PR #3255: Throw proper exception when type of argument isn't known |
| 348 |
</li> |
| 349 |
<li>Issue #3249: Multi-column assignment with subquery throws exception when subquery doesn't return any rows |
| 350 |
</li> |
| 351 |
<li>PR #3248: Remove redundant uniqueness check, correct version in pom |
| 352 |
</li> |
| 353 |
<li>PR #3247: Avoid AIOBE exception in TestCrashAPI and in Transaction |
| 354 |
</li> |
| 355 |
<li>Issue #3241: ResultSetMetaData::getColumnTypeName should produce the correct ARRAY type |
| 356 |
</li> |
| 357 |
<li>Issue #3204: H2 Tools Web Console: Unicode 32 |
| 358 |
</li> |
| 359 |
<li>Issue #3227: Regression when referencing outer joined column from correlated subquery |
| 360 |
</li> |
| 361 |
<li>Issue #3237: Can no longer cast CHAR(n) to BOOLEAN with n > 1 |
| 362 |
</li> |
| 363 |
<li>Issue #3235: Regression in IN predicate with empty in list |
| 364 |
</li> |
| 365 |
<li>Issue #3236: NullPointerException in DatabaseMetaData::getIndexInfo when querying the info for views |
| 366 |
</li> |
| 367 |
<li>Issue #3233: General error when using NULL predicate on _ROWID_ column |
| 368 |
</li> |
| 369 |
<li>Issue #3223: TRUNC(v, p) with negative precisions no longer works |
| 370 |
</li> |
| 371 |
<li>Issue #3221: NullPointerException when creating domain |
| 372 |
</li> |
| 373 |
<li>Issue #3186: ResultSetMetaData.getSchemaName() returns empty string for aliased columns |
| 374 |
</li> |
| 375 |
</ul> |
| 376 |
|
| 377 |
|
| 378 |
<!-- [close] { --></div></td></tr></table><!-- } --><!-- analytics --></body></html> |