changelog.html 33.0 KB
Newer Older
1 2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
3
Copyright 2004-2018 H2 Group. Multiple-Licensed under the MPL 2.0, Version 1.0,
4
and under the Eclipse Public License, Version 1.0
5 6 7
Initial Developer: H2 Group
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
Thomas Mueller's avatar
Thomas Mueller committed
8
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
Thomas Mueller's avatar
Thomas Mueller committed
9
<meta name="viewport" content="width=device-width, initial-scale=1" />
Thomas Mueller's avatar
Thomas Mueller committed
10
<title>
11
Change Log
Thomas Mueller's avatar
Thomas Mueller committed
12 13
</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
14
<!-- [search] { -->
15 16 17
<script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();">
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
18
<!-- } -->
19 20

<h1>Change Log</h1>
21

Thomas Mueller's avatar
Thomas Mueller committed
22
<h2>Next Version (unreleased)</h2>
23
<ul>
24 25
<li>Issue #394: Recover tool places COLLATION and BINARY_COLLATION after temporary tables
</li>
26 27
<li>Improve the script-based unit testing to check the error code of the exception thrown. 
</li>
28 29
<li>Issue #1041: Support OR syntax while creating trigger
</li>
30 31
<li>Issue #1023: MVCC and existing page store file 
</li>
32 33
<li>Issue #1003: Decrypting database with incorrect password renders the database corrupt 
</li>
34 35
<li>Issue #873: No error when `=` in equal condition when column is not of array type 
</li>
36 37
<li>Issue #1069: Failed to add DATETIME(3) column since 1.4.197
</li>
38 39
<li>Issue #456: H2 table privileges referring to old schema after schema rename
</li>
40 41
<li>Issue #1062: Concurrent update in table "SYS" caused by Analyze.analyzeTable()
</li>
42 43 44 45 46 47 48 49 50 51
<li>Yet another fix to Page memory accounting
</li>
<li>Replace MVStore.ASSERT variable with assertions
</li>
<li>Issue #1063: Leftover comments about enhanced for loops
</li>
<li>PR #1059: Assorted minor changes
</li>
<li>PR #1058: Txcommit atomic
</li>
52 53
<li>Issue #1038: ora_hash function implementation off by one
</li>
54 55
<li>PR #1054: Introduce overflow bit in tx state
</li>
56 57
<li>Issue #1047: Support DISTINCT in custom aggregate functions
</li>
58 59
<li>PR #1051: Atomic change of transaction state
</li>
60 61 62 63 64 65 66 67 68 69
<li>PR #1046: Split off Transaction TransactionMap VersionedValue
</li>
<li>PR #1045: TransactionStore move into separate org.h2.mvstore.tx package
</li>
<li>PR #1044: Encapsulate TransactionStore.store field in preparation to a move
</li>
<li>PR #1040: generate less garbage for String substring+trim
</li>
<li>PR #1035: Minor free space accounting changes
</li>
70 71 72 73 74 75 76 77
<li>Issue #1034: MERGE USING should not require the same column count in tables
</li>
<li>PR #1033: Fix issues with BUILTIN_ALIAS_OVERRIDE=1
</li>
<li>PR #1031: Drop schema rights together with schema
</li>
<li>PR #1029: No need to remove orphaned LOBs when the db is read-only
</li>
78 79 80 81 82 83
<li>Issue #1027: Add support for fully qualified names in MySQL compatibility mode
</li>
<li>Issue #178: INSERT ON DUPLICATE KEY UPDATE returns wrong generated key
</li>
<li>PR #1025: Remove BitField and replace its usages with BitSet
</li>
84 85 86 87
<li>Issue #1019: Console incorrectly sorts BigDecimal columns alphanumerically
</li>
<li>PR #1021: Update JdbcDatabaseMetaData to JDBC 4.1 (Java 7)
</li>
88
<li>Issue #992: 1.4.197 client cannot use DatabaseMetaData with 1.4.196 and older server
89
</li>
90 91
<li>Issue #1016: ResultSet.getObject() should return enum value, not ordinal
</li>
92 93
<li>Issue #1012: NPE when querying INFORMATION_SCHEMA.COLUMNS on a view that references an ENUM column
</li>
94 95 96 97
<li>Issue #1010: MERGE USING table not found with qualified table
</li>
<li>PR #1009: Fix ARRAY_AGG with ORDER BY and refactor aggregates
</li>
98 99 100 101
<li>Issue #1006: "Empty enums are not allowed" in 1.4.197 (mode=MYSQL)
</li>
<li>PR #1007: Copy also SRID in ValueGeometry.getGeometry()
</li>
102 103 104 105 106 107 108 109 110 111 112 113
<li>PR #1004: Preserve type names in more places especially for UUID
</li>
<li>Issue #1000: Regression in INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_TYPE content
</li>
<li>Issue #997: Can not delete from tables with enums
</li>
<li>Issue #994: Too much column in result set for GENERATED_KEYS on table with DEFAULT
</li>
<li>PR #993: Fix some compiler warnings and improve assert*() methods
</li>
<li>PR #991: Generate shorter queries in JdbcDatabaseMetaData.getTables() and remove some dead code
</li>
114
<li>PR #989: Fix more issues with range table and improve its documentation
thomasmueller's avatar
thomasmueller committed
115 116 117 118 119
</li>
</ul>

<h2>Version 1.4.197 (2018-03-18)</h2>
<ul>
120 121 122 123 124 125
<li>PR #988: Fix RangeTable.getRowCount() for non-default step
</li>
<li>PR #987: ValueBoolean constants are not cleared and may be used directly
</li>
<li>PR #986: Check parameters in JdbcPreparedStatement.addBatch()
</li>
126 127
<li>PR #984: Minor refactorings in Parser
</li>
128 129 130 131
<li>PR #983: Code cleanups via IntelliJ IDEA inspections
</li>
<li>Issue #960: Implement remaining time unit in "date_trunc" function
</li>
132 133
<li>Issue #933: MVStore background writer endless loop
</li>
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380
<li>PR #981: Reorganize date-time functions
</li>
<li>PR #980: Add Parser.toString() method for improved debugging experience
</li>
<li>PR #979: Remove support of TCP protocol versions 6 and 7
</li>
<li>PR #977: Add database versions to javadoc of TCP protocol versions and update dictionary.txt
</li>
<li>PR #976: Add and use incrementDateValue() and decrementDateValue()
</li>
<li>Issue #974: Inline PRIMARY KEY definition loses its name
</li>
<li>PR #972: Add META-INF/versions to all non-Android jars that use Bits
</li>
<li>PR #971: Update ASM from 6.1-beta to 6.1
</li>
<li>PR #970: Added support for ENUM in prepared statement where clause
</li>
<li>PR #968: Assorted changes
</li>
<li>PR #967: Adds ARRAY_AGG function
</li>
<li>PR #966: Do not include help and images in client jar
</li>
<li>PR #965: Do not include mvstore.DataUtils in client jar and other changes
</li>
<li>PR #964: Fix TestFunctions.testToCharFromDateTime()
</li>
<li>PR #963 / Issue #962: Improve documentation of compatibility modes and fix ssl URL description
</li>
<li>Issue #219: H2 mode MySQL- ON UPDATE CURRENT_TIMESTAMP not supported
</li>
<li>PR #958: More fixes for PgServer
</li>
<li>PR #957: Update database size information and links in README.md
</li>
<li>PR #956: Move tests added in 821117f1db120a265647a063dca13ab5bee98efc to a proper place
</li>
<li>PR #955: Support getObject(?, Class) in generated keys
</li>
<li>PR #954: Avoid incorrect reads in iterators of TransactionMap
</li>
<li>PR #952: Optimize arguments for MVMap.init()
</li>
<li>PR #949: Fix table borders in PDF and other changes
</li>
<li>PR #948: Fix some grammar descriptions and ALTER TABLE DROP COLUMN parsing
</li>
<li>PR #947: Fix building of documentation and use modern names of Java versions
</li>
<li>PR #943: Assorted changes in documentation and a fix for current-time.sql
</li>
<li>PR #942: Fix page numbers in TOC in PDF and move System Tables into own HTML / section in PDF
</li>
<li>PR #941: Use >> syntax in median.sql and move out more tests from testScript.sql
</li>
<li>PR #940: add Support for MySQL: DROP INDEX index_name ON tbl_name
</li>
<li>PR #939: Short syntax for SQL tests
</li>
<li>Issue #935: The "date_trunc" function is not recognized for 'day'
</li>
<li>PR #936: Fix font size, line length, TOC, and many broken links in PDF
</li>
<li>PR #931: Assorted changes in documentation
</li>
<li>PR #930: Use Math.log10() and remove Mode.getOracle()
</li>
<li>PR #929: Remove Mode.supportOffsetFetch
</li>
<li>PR #928: Show information about office configuration instead of fallback PDF generation mode
</li>
<li>PR #926: Describe datetime fields in documentation
</li>
<li>PR #925: Fix time overflow in DATEADD
</li>
<li>Issue #416: Add support for DROP SCHEMA x { RESTRICT | CASCADE }
</li>
<li>PR #922: Parse and treat fractional seconds precision as described in SQL standard
</li>
<li>Issue #919: Add support for mixing adding constraints and columns in multi-add ALTER TABLE statement
</li>
<li>PR #916: Implement TABLE_CONSTRAINTS and REFERENTIAL_CONSTRAINTS from the SQL standard
</li>
<li>PR #915: Implement INFORMATION_SCHEMA.KEY_COLUMN_USAGE from SQL standard
</li>
<li>PR #914: don't allow null values in ConcurrentArrayList
</li>
<li>PR #913: Assorted changes in tests and documentation
</li>
<li>Issue #755: Missing FLOAT(precision)?
</li>
<li>PR #911: Add support for MySQL-style ALTER TABLE ADD ... FIRST
</li>
<li>Issue #409: Support derived column list syntax on table alias
</li>
<li>PR #908: remove dead code
</li>
<li>PR #907: Nest joins only if required and fix some issues with complex joins
</li>
<li>PR #906: Fix obscure error on non-standard SELECT * FROM A LEFT JOIN B NATURAL JOIN C
</li>
<li>PR #805: Move some JOIN tests from testScript.sql to own file
</li>
<li>PR #804: Remove unused parameters from readJoin() and readTableFilter()
</li>
<li>Issue #322: CSVREAD WHERE clause containing ORs duplicates number of rows
</li>
<li>PR #902: Remove DbSettings.nestedJoins
</li>
<li>PR #900: Convert duplicate anonymous classes in TableFilter to nested for reuse
</li>
<li>PR #899: Fix ON DUPLICATE KEY UPDATE for inserts with multiple rows
</li>
<li>PR #898: Parse TIME WITHOUT TIME ZONE and fix TIMESTAMP as column name
</li>
<li>PR #897: Update JTS to version 1.15.0 from LocationTech
</li>
<li>PR #896: Assorted changes in help.csv
</li>
<li>PR #895: Parse more variants of timestamps with time zones
</li>
<li>PR #893: TIMESTAMP WITHOUT TIME ZONE, TIMEZONE_HOUR, and TIMEZONE_MINUTE
</li>
<li>PR #892: Assorted minor changes in Parser
</li>
<li>PR #891: Update documentation of date-time types and clean up related code a bit
</li>
<li>PR #890: Implement conversions for TIMESTAMP WITH TIME ZONE
</li>
<li>PR #888: Fix two-phase commit in MVStore
</li>
<li>Issue #884: Wrong test Resources path in pom.xml
</li>
<li>PR #886: Fix building of documentation
</li>
<li>PR #883: Add support for TIMESTAMP WITH TIME ZONE to FORMATDATETIME
</li>
<li>PR #881: Reimplement dateValueFromDate() and nanosFromDate() without a Calendar
</li>
<li>PR #880: Assorted date-time related changes
</li>
<li>PR #879: Reimplement TO_DATE without a Calendar and fix a lot of bugs an incompatibilities
</li>
<li>PR #878: Fix IYYY in TO_CHAR and reimplement TRUNCATE without a Calendar
</li>
<li>PR #877: Reimplement TO_CHAR without a Calendar and fix 12 AM / 12 PM in it
</li>
<li>PR #876: Test out of memory
</li>
<li>PR #875: Improve date-time related parts of documentation
</li>
<li>PR #872: Assorted date-time related changes
</li>
<li>PR #871: Fix OOME in Transfer.readValue() with large CLOB V2
</li>
<li>PR #867: TestOutOfMemory stability
</li>
<li>Issue #834: Add support for the SQL standard FILTER clause on aggregate functions
</li>
<li>PR #864: Minor changes in DateUtils and Function
</li>
<li>PR #863: Polish: use isEmpty() to check whether the collection is empty or not.
</li>
<li>PR #862: Convert constraint type into enum
</li>
<li>PR #861: Avoid resource leak
</li>
<li>PR #860: IndexCursor inList
</li>
<li>PR #858 / Issue #690 and others: Return all generated rows and columns from getGeneratedKeys()
</li>
<li>Make the JDBC client independent of the database engine
</li>
<li>PR #857: Do not write each SQL error multiple times in TestScript
</li>
<li>PR #856: Fix TestDateTimeUtils.testDayOfWeek() and example with ANY(?
</li>
<li>PR #855: Reimplement DATEADD without a Calendar and fix some incompatibilities
</li>
<li>PR #854: Improve test stability
</li>
<li>PR #851: Reimplement DATEDIFF without a Calendar
</li>
<li>Issue #502: SQL "= ANY (?)" supported?
</li>
<li>PR #849: Encode date and time in fast and proper way in PgServerThread
</li>
<li>PR #847: Reimplement remaining parts of EXTRACT, ISO_YEAR, etc without a Calendar
</li>
<li>PR #846: Read known fields directly in DateTimeUtils.getDatePart()
</li>
<li>Issue #832: Extract EPOCH from a timestamp
</li>
<li>PR #844: Add simple implementations of isWrapperFor() and unwrap() to JdbcDataSource
</li>
<li>PR #843: Add MEDIAN to help.csv and fix building of documentation
</li>
<li>PR #841: Support indexes with nulls last for MEDIAN aggregate
</li>
<li>PR #840: Add MEDIAN aggregate
</li>
<li>PR #839: TestTools should not leave testing thread in interrupted state
</li>
<li>PR #838: (tests) Excessive calls to Runtime.getRuntime().gc() cause OOM for no reason
</li>
<li>Don't use substring when doing StringBuffer#append
</li>
<li>PR #837: Use StringUtils.replaceAll() in Function.replace()
</li>
<li>PR #836: Allow to read invalid February 29 dates with LocalDate as March 1
</li>
<li>PR #835: Inline getTimeTry() into DateTimeUtils.getMillis()
</li>
<li>PR #827: Use dateValueFromDate() and nanosFromDate() in parseTimestamp()
</li>
<li>Issue #115: to_char fails with pattern FM0D099
</li>
<li>PR #825: Merge code for parsing and formatting timestamp values
</li>
<li>Enums for ConstraintActionType, UnionType, and OpType
</li>
<li>PR 824: Add partial support for INSERT IGNORE in MySQL mode
</li>
<li>PR #823: Use ValueByte.getInt() and ValueShort.getInt() in convertTo()
</li>
<li>PR #820: Fix some compiler warnings
</li>
<li>PR #818: Fixes for remaining issues with boolean parameters
</li>
<li>Use enum for file lock method
</li>
<li>PR #817: Parse also 1 as true and 0 as false in Utils.parseBoolean()
</li>
<li>PR #815: Fix count of completed statements
</li>
<li>PR #814: Method.isVarArgs() is available on all supported platforms
</li>
<li>Issue #812: TIME values should be in range 0:00:00.000000000 23:59:59.999999999?
</li>
<li>PR #811: Issues with Boolean.parseBoolean()
</li>
<li>PR #809: Use type constants from LocalDateTimeUtils directly
</li>
<li>PR #808: Use HmacSHA256 provided by JRE
</li>
<li>PR #807: Use SHA-256 provided by JRE / Android and use rotateLeft / Right in Fog
381
</li>
Noel Grandin's avatar
Noel Grandin committed
382 383 384 385 386 387 388 389 390 391 392 393 394 395
<li>PR #806: Implement setBytes() and setString() with offset and len
</li>
<li>PR #805: Improve support of TIMESTAMP WITH TIME ZONE
</li>
<li>PR #803: Use new ArrayList(Collection) and assertThrows()
</li>
<li>PR #802: Use Arrays.copyOf() and Arrays.copyOfRange()
</li>
<li>PR #801: Fix NULL support in PgServer for primitive types too
</li>
<li>PR #800: More fixes in date-time types for ODBC drivers
</li>
<li>PR #798: Add partial support of DATE, TIME, and TIMESTAMP data types to PgServer
</li>
thomasmueller's avatar
thomasmueller committed
396
<li>PR #799: Use result of ArrayList.remove()
Noel Grandin's avatar
Noel Grandin committed
397
</li>
thomasmueller's avatar
thomasmueller committed
398
<li>PR #797: Add ceilingKey() and floorKey() to TransactionMap (version 2)
Noel Grandin's avatar
Noel Grandin committed
399
</li>
thomasmueller's avatar
thomasmueller committed
400
<li>PR #796: Add MDY to DateStyle in PgServerThread
Noel Grandin's avatar
Noel Grandin committed
401
</li>
thomasmueller's avatar
thomasmueller committed
402
<li>PR #794: Sort files in generated jars
Noel Grandin's avatar
Noel Grandin committed
403
</li>
thomasmueller's avatar
thomasmueller committed
404
<li>PR #793: Change return type of Value.getBoolean() to boolean (unwrapped)
Noel Grandin's avatar
Noel Grandin committed
405
</li>
thomasmueller's avatar
thomasmueller committed
406
<li>PR #792: Inherit classpath from parent process
Noel Grandin's avatar
Noel Grandin committed
407
</li>
thomasmueller's avatar
thomasmueller committed
408
<li>PR #791: Switch to JaCoCo code coverage
Noel Grandin's avatar
Noel Grandin committed
409
</li>
thomasmueller's avatar
thomasmueller committed
410
<li>PR #788: Update lists of keywords
Noel Grandin's avatar
Noel Grandin committed
411
</li>
thomasmueller's avatar
thomasmueller committed
412
<li>PR #789: Map DATE in Oracle mode to ValueTimestamp
Noel Grandin's avatar
Noel Grandin committed
413
</li>
thomasmueller's avatar
thomasmueller committed
414
<li>PR #787: Assorted changes
Noel Grandin's avatar
Noel Grandin committed
415
</li>
thomasmueller's avatar
thomasmueller committed
416
<li>PR #785: Optimize NULL handling in MVSecondaryIndex.add()
Noel Grandin's avatar
Noel Grandin committed
417
</li>
thomasmueller's avatar
thomasmueller committed
418
<li>PR #783: Add Bits implementation for Java 9 and later versions
Noel Grandin's avatar
Noel Grandin committed
419
</li>
thomasmueller's avatar
thomasmueller committed
420
<li>PR #784: Hardcoded port numbers should not be used in unit tests
Noel Grandin's avatar
Noel Grandin committed
421
</li>
thomasmueller's avatar
thomasmueller committed
422
<li>PR #780: Close JavaFileManager after use.
Noel Grandin's avatar
Noel Grandin committed
423
</li>
thomasmueller's avatar
thomasmueller committed
424
<li>PR #782: Leftover shared lock after release
Noel Grandin's avatar
Noel Grandin committed
425
</li>
thomasmueller's avatar
thomasmueller committed
426
<li>PR #781: Locks left behind after commit
Noel Grandin's avatar
Noel Grandin committed
427
</li>
thomasmueller's avatar
thomasmueller committed
428
<li>PR #778: Reduce code duplication
Noel Grandin's avatar
Noel Grandin committed
429
</li>
thomasmueller's avatar
thomasmueller committed
430
<li>PR #775: Fix building of documentation and zip
Noel Grandin's avatar
Noel Grandin committed
431
</li>
thomasmueller's avatar
thomasmueller committed
432
<li>PR #774: Assorted changes
Noel Grandin's avatar
Noel Grandin committed
433
</li>
thomasmueller's avatar
thomasmueller committed
434
<li>PR #773: Better checks for arguments of partial LOB reading methods
Noel Grandin's avatar
Noel Grandin committed
435 436 437 438 439
</li>
<li>PR #772: getBinaryStream() and getCharacterStream() with pos and length
</li>
<li>Issue #754: Make NUMERIC type read as NUMERIC
</li>
thomasmueller's avatar
thomasmueller committed
440
<li>PR #768: Add DataUtils.parseChecksummedMap()
Noel Grandin's avatar
Noel Grandin committed
441
</li>
thomasmueller's avatar
thomasmueller committed
442
<li>PR #769: Do not copy result of DataUtils.parseMap() to a new maps
Noel Grandin's avatar
Noel Grandin committed
443
</li>
thomasmueller's avatar
thomasmueller committed
444
<li>PR #766: Minor clean up of DateTimeUtils
Noel Grandin's avatar
Noel Grandin committed
445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469
</li>
<li>PR #764: Make use of try-with-resources statement
</li>
<li>Issue #406: Return from ResultSet.getObject not in line with JDBC specification
</li>
<li>Issue #710: Misleading exception message when INSERT has no value for self referential 'AS' column
</li>
<li>PR #763: Add DataUtils.getMapName()
</li>
<li>PR #762: Add row deletion confirmation to web console
</li>
<li>PR #760: Assorted minor optimizations
</li>
<li>PR #759: Improve the look of error messages in web console
</li>
<li>PR #758: Allocate less amount of garbage
</li>
<li>PR #757: Fix handling of UUID in Datatype.readValue()
</li>
<li>PR #753: Optimize StringUtils.trim() and remove StringUtils.equals()
</li>
<li>PR #752: Use predefined charsets instead of names where possible
</li>
<li>PR #750: Use AtomicIntegerArray and StandardCharsets
</li>
thomasmueller's avatar
thomasmueller committed
470
<li>PR #749: Fix some build checks in sources
Noel Grandin's avatar
Noel Grandin committed
471 472 473 474 475 476 477 478 479 480 481
</li>
<li>Issue #740: TestWeb hangups if webSSL=true specified in configuration
</li>
<li>Issue #736: Copyright years in sources
</li>
<li>Issue #744: TestFile failure on Java 9 and Java 10
</li>
<li>PR #741: More cleanups in LocalDateTimeUtils and other minor changes
</li>
<li>PR #743: Change REGEXP_REPLACE mode for MariaDB and PostgreSQL
</li>
482
<li>Issue#646 NPE in CREATE VIEW WITH RECURSIVE &amp; NON_RECURSIVE CTE
Noel Grandin's avatar
Noel Grandin committed
483 484 485
</li>
<li>PR #738: Copy javadoc to *BackwardsCompat to fix building of documentation
</li>
thomasmueller's avatar
thomasmueller committed
486
<li>PR #735: Add support of java.time.Instant V2
Noel Grandin's avatar
Noel Grandin committed
487 488 489 490 491 492 493 494 495 496 497 498 499
</li>
<li>PR #733: Remove JPA/ORM configuration txt files as they're already integrated
</li>
<li>PR #732: Fix ==
</li>
<li>PR #730: Implement enquoteIdentifier() and isSimpleIdentifier() from JDBC 4.3
</li>
<li>PR #729: Grammar documentation change
</li>
<li>PR #727: Integer/Long.compare(x, y) can be used to compare primitive values
</li>
<li>PR #726: Fixes in tests
</li>
thomasmueller's avatar
thomasmueller committed
500
<li>Issue #725: FilePathMem.tryLock() fails since Java 9
Noel Grandin's avatar
Noel Grandin committed
501
</li>
thomasmueller's avatar
thomasmueller committed
502
<li>PR #723: Clean up LocalDateTimeUtils
Noel Grandin's avatar
Noel Grandin committed
503
</li>
thomasmueller's avatar
thomasmueller committed
504
<li>PR #724: Use StringBuilder instead of StringBuffer
Noel Grandin's avatar
Noel Grandin committed
505 506 507
</li>
<li>PR #720: DROP TABLE RESTRICT shouldn't drop foreign keys in other tables
</li>
thomasmueller's avatar
thomasmueller committed
508
<li>PR #722: Assorted minor changes
Noel Grandin's avatar
Noel Grandin committed
509 510 511
</li>
<li>Issue #638: Oracle mode: incompatible regexp back-reference syntax
</li>
Noel Grandin's avatar
Noel Grandin committed
512 513
<li>Make ALL a reserved keyword
</li>
514
<li>Issue #311: Avoid calling list.toArray(new X[list.size()]) for performance
Noel Grandin's avatar
Noel Grandin committed
515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533
</li>
<li>PR #715: Better getObject error message
</li>
<li>PR #714: SecureRandom is already synchronized
</li>
<li>PR #712: Return properly encoded UUID from SimpleResultSet.getBytes()
</li>
<li>PR #711: TestFunctions less english dependent
</li>
<li>Issue #644: Year changing from negative -509 to a positive 510.
</li>
<li>PR #706: SIGNAL function
</li>
<li>PR #704: added Javascript support for Triggers' source
</li>
<li>Issue #694: Oracle syntax for adding NOT NULL constraint not supported.
</li>
<li>Issue #699: When using an index for sorting, the index is ignored when also using NULLS LAST/FIRST
</li>
534
<li>Issue #697: FilePathDisk.newInputStream fails for contextual class loading
Noel Grandin's avatar
Noel Grandin committed
535 536 537
</li>
<li>Issue #695: jdbc:postgresql protocol connection issue in H2 Console Application in case of redshift driver in classpath
</li>
538
<li>Fix 'file not closed' when using FILE_READ
Noel Grandin's avatar
Noel Grandin committed
539
</li>
540 541
<li>Fix bug in LinkSchema tool when object exists with same name in different schemas
</li>
542 543
<li>Issue #675: Fix date operations on Locales with non-Gregorian calendars
</li>
544 545
<li>Fix removal of LOB when rolling back transaction on a table containing more than one LOB column.
</li>
thomasmueller's avatar
thomasmueller committed
546
<li>Issue #654: List ENUM type values in INFORMATION_SCHEMA.COLUMNS
547
</li>
548
<li>Issue #650: Simple nested SELECT causes error for table with TIMESTAMP WITH TIMEZONE column
549
</li>
550
<li>Issue #654: List ENUM type values in INFORMATION_SCHEMA.COLUMNS
551
</li>
552 553
<li>Issue #668: Fail of an update command on large table with ENUM column
</li>
thomasmueller's avatar
thomasmueller committed
554
<li>Issue #662: column called CONSTRAINT is not properly escaped when storing to metadata
555
</li>
556 557
<li>Issue #660: Outdated java version mentioned on http://h2database.com/html/build.html#providing_patches
</li>
thomasmueller's avatar
thomasmueller committed
558
<li>Issue #643: H2 doesn't use index when I use IN and EQUAL in one query
559
</li>
560 561
<li>Reset transaction start timestamp on ROLLBACK
</li>
562 563
<li>Issue #632: CREATE OR REPLACE VIEW creates incorrect columns names
</li>
564 565
<li>Issue #630: Integer overflow in CacheLRU can cause unrestricted cache growth
</li>
566 567
<li>Issue #497: Fix TO_DATE in cases of 'inline' text. E.g. the "T" and "Z" in to_date('2017-04-21T00:00:00Z', 'YYYY-MM-DD"T"HH24:MI:SS"Z"')
</li>
568 569
<li>Fix bug in MySQL/ORACLE-syntax silently corrupting the modified column in cases of setting the 'NULL'- or 'NOT NULL'-constraint. E.g. alter table T modify C NULL;
</li>
570 571
<li>Issue #570: MySQL compatibility for ALTER TABLE .. DROP INDEX
</li>
572 573
<li>Issue #537: Include the COLUMN name in message "Numeric value out of range"
</li>
Noel Grandin's avatar
Noel Grandin committed
574 575 576 577 578 579 580 581 582 583 584 585
<li>Issue #600: ROW_NUMBER() behaviour change in H2 1.4.195
</li>
<li>Fix a bunch of race conditions found by vmlens.com, thank you to vmlens for giving us a license.
</li>
<li>PR #597: Support more types in getObject
</li>
<li>Issue #591: Generated SQL from WITH-CTEs does not include a table identifier
</li>
<li>PR #593: Make it possible to create a cluster without using temporary files.
</li>
<li>PR #592: "Connection is broken: "unexpected status 16777216" [90067-192]" message when using older h2 releases as client
</li>
586 587
<li>Issue #585: MySQL mode DELETE statements compatibility
</li>
588
<li>PR #586: remove extra tx preparation
Noel Grandin's avatar
Noel Grandin committed
589 590 591 592 593 594 595
</li>
<li>PR #568: Implement MetaData.getColumns() for synonyms.
</li>
<li>Issue #581: org.h2.tools.RunScript assumes -script parameter is part of protocol
</li>
<li>Fix a deadlock in the TransactionStore
</li>
596
<li>PR #579: Disallow BLOB type in PostgreSQL mode
Noel Grandin's avatar
Noel Grandin committed
597 598 599 600 601 602 603
</li>
<li>Issue #576: Common Table Expression (CTE): WITH supports INSERT, UPDATE, MERGE, DELETE, CREATE TABLE ...
</li>
<li>Issue #493: Query with distinct/limit/offset subquery returns unexpected rows
</li>
<li>Issue #575: Support for full text search in multithreaded mode
</li>
604 605
<li>Issue #569: ClassCastException when filtering on ENUM value in WHERE clause
</li>
606 607
<li>Issue #539: Allow override of builtin functions/aliases
</li>
608 609
<li>Issue #535: Allow explicit paths on Windows without drive letter
</li>
Noel Grandin's avatar
Noel Grandin committed
610 611
<li>Issue #549: Removed UNION ALL requirements for CTE
</li>
612
<li>Issue #548: Table synonym support
Noel Grandin's avatar
Noel Grandin committed
613 614 615 616 617 618 619 620 621 622 623 624 625
</li>
<li>Issue #531: Rollback and delayed meta save.
</li>
<li>Issue #515: "Unique index or primary key violation" in TestMvccMultiThreaded
</li>
<li>Issue #458: TIMESTAMPDIFF() test failing. Handling of timestamp literals.
</li>
<li>PR #546: Fixes the missing file tree.js in the web console
</li>
<li>Issue #543: Prepare statement with regexp will not refresh parameter after metadata change
</li>
<li>PR #536: Support TIMESTAMP_WITH_TIMEZONE 2014 JDBC type
</li>
626 627
<li>Fix bug in parsing ANALYZE TABLE xxx SAMPLE_SIZE yyy
</li>
628 629 630
<li>Add padding for CHAR(N) values in PostgreSQL mode
</li>
<li>Issue #89: Add DB2 timestamp format compatibility
631
</li>
thomasmueller's avatar
thomasmueller committed
632 633 634
</ul>

<h2>Version 1.4.196 (2017-06-10)</h2>
635
<ul>
636 637
<li>Issue#479 Allow non-recursive CTEs (WITH statements), patch from stumc
</li>
638
<li>Fix startup issue when using "CHECK" as a column name.
thomasmueller's avatar
thomasmueller committed
639
</li>
640 641
<li>Issue #423: ANALYZE performed multiple times on one table during execution of the same statement.
</li>
642 643
<li>Issue #426: Support ANALYZE TABLE statement
</li>
644 645
<li>Issue #438: Fix slow logging via SLF4J (TRACE_LEVEL_FILE=4).
</li>
646
<li>Issue #472: Support CREATE SEQUENCE ... ORDER as a NOOP for Oracle compatibility
thomasmueller's avatar
thomasmueller committed
647
</li>
648 649
<li>Issue #479: Allow non-recursive Common Table Expressions (CTE)
</li>
650 651
<li>On Mac OS X, with IPv6 and no network connection, the Console tool was not working as expected.
</li>
thomasmueller's avatar
thomasmueller committed
652 653 654 655 656 657
</ul>

<h2>Version 1.4.195 (2017-04-23)</h2>
<ul>
<li>Lazy query execution support.
</li>
658 659
<li>Added API for handling custom data types (System property "h2.customDataTypesHandler", API org.h2.api.CustomDataTypesHandler).
</li>
660 661
<li>Added support for invisible columns.
</li>
662
<li>Added an ENUM data type, with syntax similar to that of MySQL.
663
</li>
thomasmueller's avatar
thomasmueller committed
664
<li>MVStore: for object data types, the cache size memory estimation
665 666
    was sometimes far off in a read-only scenario.
    This could result in inefficient cache usage.
thomasmueller's avatar
thomasmueller committed
667
</li>
thomasmueller's avatar
thomasmueller committed
668 669 670 671
</ul>

<h2>Version 1.4.194 (2017-03-10)</h2>
<ul>
672
<li>Issue #453: MVStore setCacheSize() should also limit the cacheChunkRef.
673
</li>
674
<li>Issue #448: Newly added TO_DATE and TO_TIMESTAMP functions have wrong datatype.
675
</li>
676 677 678 679
<li>The "nioMemLZF" filesystem now supports an extra option "nioMemLZF:12:" to tweak the size of the compress later cache.
</li>
<li>Various multi-threading fixes and optimisations to the "nioMemLZF" filesystem.
</li>
680 681 682
<li><strong>[API CHANGE]</strong> #439: the JDBC type of TIMESTAMP WITH TIME ZONE
changed from Types.OTHER (1111) to Types.TIMESTAMP_WITH_TIMEZONE (2014)
</li>
683
<li>#430: Subquery not cached if number of rows exceeds MAX_MEMORY_ROWS.
684
</li>
685
<li>#411: "TIMEZONE" should be "TIME ZONE" in type "TIMESTAMP WITH TIMEZONE".
686
</li>
687
<li>PR #418, Implement Connection#createArrayOf and PreparedStatement#setArray.
688
</li>
689
<li>PR #427, Add MySQL compatibility functions UNIX_TIMESTAMP, FROM_UNIXTIME and DATE.
690
</li>
691
<li>#429: Tables not found : Fix some Turkish locale bugs around uppercasing.
692
</li>
693
<li>Fixed bug in metadata locking, obscure combination of DDL and SELECT SEQUENCE.NEXTVAL required.
694
</li>
695
<li>Added index hints: SELECT * FROM TEST USE INDEX (idx1, idx2).
696
</li>
697
<li>Add a test case to ensure that spatial index is used with and order by command by Fortin N.
698
</li>
699
<li>Fix multi-threaded mode update exception "NullPointerException", test case by Anatolii K.
700
</li>
701
<li>Fix multi-threaded mode insert exception "Unique index or primary key violation", test case by Anatolii K.
702
</li>
703
<li>Implement ILIKE operator for case-insensitive matching.
704
</li>
705
<li>Optimise LIKE queries for the common cases of '%Foo' and '%Foo%'.
706
</li>
707
<li>Issue #387: H2 MSSQL Compatibility Mode - Support uniqueidentifier.
708
</li>
709
<li>Issue #401: NPE in "SELECT DISTINCT * ORDER BY".
710
</li>
711
<li>Added BITGET function.
712
</li>
713
<li>Fixed bug in FilePathRetryOnInterrupt that caused infinite loop.
714
</li>
715
<li>PR #389, Handle LocalTime with nanosecond resolution, patch by katzyn.
Noel Grandin's avatar
Noel Grandin committed
716
</li>
717
<li>PR #382, Recover for "page store" H2 breaks LOBs consistency, patch by vitalus.
Noel Grandin's avatar
Noel Grandin committed
718
</li>
719
<li>PR #393, Run tests on Travis, patch by marschall.
Noel Grandin's avatar
Noel Grandin committed
720
</li>
721
<li>Fix bug in REGEX_REPLACE, not parsing the mode parameter.
722 723 724
</li>
<li>ResultSet.getObject(..., Class) threw a ClassNotFoundException if the JTS suite was not in the classpath.
</li>
725 726 727
<li>File systems: the "cache:" file system, and the
    compressed in-memory file systems memLZF and nioMemLZF did not
    correctly support concurrent reading and writing.
728 729 730
</li>
<li>TIMESTAMP WITH TIMEZONE: serialization for the PageStore was broken.
</li>
731
</ul>
732

thomasmueller's avatar
thomasmueller committed
733
<h2>Version 1.4.193 (2016-10-31)</h2>
734
<ul>
735 736
<li>PR #386: Add JSR-310 Support (introduces JTS dependency fixed in 1.4.194)
</li>
737 738 739 740
<li>WARNING: THE MERGE BELOW WILL AFFECT ANY 'TIMESTAMP WITH TIMEZONE' INDEXES. You will need to drop and recreate any such indexes.
</li>
<li>PR #364: fix compare TIMESTAMP WITH TIMEZONE
</li>
741 742
<li>Fix bug in picking the right index for INSERT..ON DUPLICATE KEY UPDATE when there are both UNIQUE and PRIMARY KEY constraints.
</li>
743 744
<li>Issue #380: Error Analyzer doesn't show source code
</li>
745 746
<li>Remove the "TIMESTAMP UTC" datatype, an experiment that was never finished.
</li>
747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766
<li>PR #363: Added support to define last IDENTIFIER on a Trigger.
</li>
<li>PR #366: Tests for timestamps
</li>
<li>PR #361: Improve TimestampWithTimeZone javadoc
</li>
<li>PR #360: Change getters in TimestampWithTimeZone to int
</li>
<li>PR #359: Added missing source encoding. Assuming UTF-8.
</li>
<li>PR #353: Add support for converting JAVA_OBJECT to UUID
</li>
<li>PR #358: Add support for getObject(int|String, Class)
</li>
<li>PR #357: Server: use xdg-open to open the WebConsole in the user's preferred browser on Linux
</li>
<li>PR #356: Support for BEFORE and AFTER clauses when using multiple columns in ALTER TABLE ADD
</li>
<li>PR #351: Respect format codes from Bind message when sending results
</li>
Noel Grandin's avatar
Noel Grandin committed
767 768 769 770
<li>ignore summary line when compiling stored procedure
</li>
<li>PR #348: pg: send RowDescription in response to Describe (statement variant), patch by kostya-sh
</li>
771
<li>PR #337: Update russian translation, patch by avp1983
Noel Grandin's avatar
Noel Grandin committed
772 773 774 775 776 777 778
</li>
<li>PR #329: Update to servlet API version 3.1.0 from 3.0.1, patch by Mat Booth
</li>
<li>PR #331: ChangeFileEncryption progress logging ignores -quiet flag, patch by Stefan Bodewig
</li>
<li>PR #325: Make Row an interface
</li>
779
<li>PR #323: Regular expression functions (REGEXP_REPLACE, REGEXP_LIKE) enhancement, patch by Akkuzin
Noel Grandin's avatar
Noel Grandin committed
780
</li>
781 782
<li>Use System.nanoTime for measuring query statistics
</li>
783 784
<li>Issue #324: Deadlock when sending BLOBs over TCP
</li>
785 786
<li>Fix for creating and accessing views in MULTITHREADED mode, test-case courtesy of Daniel Rosenbaum
</li>
Noel Grandin's avatar
Noel Grandin committed
787 788
<li>Issue #266: Spatial index not updating, fixed by merging PR #267
</li>
789
<li>PR #302: add support for "with"-subqueries into "join" &amp; "sub-query" statements
Noel Grandin's avatar
Noel Grandin committed
790 791
</li>
<li>Issue #299: Nested derived tables did not always work as expected.
792
</li>
793 794
<li>Use interfaces to replace the java version templating, idea from Lukas Eder.
</li>
795
<li>Issue #295: JdbcResultSet.getObject(int, Class) returns null instead of throwing.
796
</li>
797 798
<li>Mac OS X: Console tool process did not stop on exit.
</li>
799 800
<li>MVStoreTool: add "repair" feature.
</li>
801 802
<li>Garbage collection of unused chunks should be faster still.
</li>
803 804
<li>MVStore / transaction store: opening a store in read-only mode does no longer loop.
</li>
805 806 807 808
<li>MVStore: disabled the file system cache by default, because it limits concurrency
    when using larger databases and many threads.
    To re-enable, use the file name prefix "cache:".
</li>
809 810
<li>MVStore: add feature to set the cache concurrency.
</li>
811 812
<li>File system nioMemFS: support concurrent reads.
</li>
813 814
<li>File systems: the compressed in-memory file systems now compress better.
</li>
815
<li>LIRS cache: improved hit rate because now added entries get hot if they
816 817
    were in the non-resident part of the cache before.
</li>
818 819 820 821
</ul>

<h2>Version 1.4.192 Beta (2016-05-26)</h2>
<ul>
thomasmueller's avatar
thomasmueller committed
822 823
<li>Java 6 is no longer supported (the jar files are compiled for Java 7).
</li>
824 825
<li>Garbage collection of unused chunks should now be faster.
</li>
826 827
<li>Prevent people using unsupported combination of auto-increment columns and clustering mode.
</li>
828 829
<li>Support for DB2 time format, patch by Niklas Mehner
</li>
830 831
<li>Added support for Connection.setClientInfo() in compatibility modes for DB2, Postgresql, Oracle and MySQL.
</li>
832 833
<li>Issue #249: Clarify license declaration in Maven POM xml
</li>
Thomas Mueller Graf's avatar
Thomas Mueller Graf committed
834
<li>Fix NullPointerException in querying spatial data through a sub-select.
835
</li>
836 837 838
<li>Fix bug where a lock on the SYS table was not released when closing a session that contained a temp
table with an LOB column.
</li>
839 840
<li>Issue #255: ConcurrentModificationException with multiple threads in embedded mode and temporary LOBs
</li>
841 842
<li>Issue #235: Anonymous SSL connections fail in many situations
</li>
843
<li>Fix race condition in FILE_LOCK=SOCKET, which could result in the watchdog thread not running
844
</li>
845 846
<li>Experimental support for datatype TIMESTAMP WITH TIMEZONE
</li>
847 848
<li>Add support for ALTER TABLE ... RENAME CONSTRAINT .. TO ...
</li>
849 850
<li>Add support for PostgreSQL ALTER TABLE ... RENAME COLUMN .. TO ...
</li>
851 852 853 854 855 856
<li>Add support for ALTER SCHEMA [ IF EXISTS ]
</li>
<li>Add support for ALTER TABLE [ IF EXISTS ]
</li>
<li>Add support for ALTER VIEW [ IF EXISTS ]
</li>
857
<li>Add support for ALTER INDEX [ IF EXISTS ]
858 859 860
</li>
<li>Add support for ALTER SEQUENCE [ IF EXISTS ]
</li>
861 862
<li>Improve performance of cleaning up temp tables - patch from Eric Faulhaber.
</li>
863 864
<li>Fix bug where table locks were not dropped when the connection closed
</li>
865 866
<li>Fix extra CPU usage caused by query planner enhancement in 1.4.191
</li>
867 868
<li>improve performance of queries that use LIKE 'foo%' - 10x in the case of one of my queries
</li>
869 870
<li>The function IFNULL did not always return the result in the right data type.
</li>
871 872
<li>Issue #231: Possible infinite loop when initializing the ObjectDataType class
    when concurrently writing into MVStore.
873
</li>
Thomas Mueller Graf's avatar
Thomas Mueller Graf committed
874
</ul>
875 876 877

<h2>Version 1.4.191 Beta (2016-01-21)</h2>
<ul>
878 879
<li>TO_DATE and TO_TIMESTAMP functions. Thanks a lot to Sam Blume for the patch!
</li>
880 881 882
<li>Issue #229: DATEDIFF does not work for 'WEEK'.
</li>
<li>Issue #156: Add support for getGeneratedKeys() when executing commands via PreparedStatement#executeBatch.
883
</li>
884
<li>Issue #195: The new Maven uses a .cmd file instead of a .bat file.
885
</li>
886
<li>Issue #212: EXPLAIN PLAN for UPDATE statement did not display LIMIT expression.
887
</li>
888
<li>Support OFFSET without LIMIT in SELECT.
889
</li>
890
<li>Improve error message for METHOD_NOT_FOUND_1/90087.
891
</li>
892 893
<li>CLOB and BLOB objects of removed rows were sometimes kept in the database file.
</li>
894 895
<li>Server mode: executing "shutdown" left a thread on the server.
</li>
896 897
<li>The condition "in(select...)" did not work correctly in some cases if the subquery had an "order by".
</li>
898 899
<li>Issue #184: The Platform-independent zip had Windows line endings in Linux scripts.
</li>
900
<li>Issue #186: The "script" command did not include sequences of temporary tables.
901
</li>
Thomas Mueller Graf's avatar
Thomas Mueller Graf committed
902
<li>Issue #115: to_char fails with pattern FM0D099.
903
</li>
904 905 906 907 908 909
</ul>

<h2>Version 1.4.190 Beta (2015-10-11)</h2>
<ul>
<li>Pull request #183: optimizer hints (so far without special SQL syntax).
</li>
910
<li>Issue #180: In MVCC mode, executing UPDATE and SELECT ... FOR UPDATE
911 912
    simultaneously silently can drop rows.
</li>
913 914 915
<li>PageStore storage: the cooperative file locking mechanism
    did not always work as expected (with very slow computers).
</li>
916 917 918
<li>Temporary CLOB and BLOB objects are now removed while the database is open
    (and not just when closing the database).
</li>
919 920
<li>MVStore CLOB and BLOB larger than about 25 MB: An exception could be thrown
    when using the MVStore storage.
921
</li>
922 923
<li>Add FILE_WRITE function. Patch provided by Nicolas Fortin
    (Lab-STICC - CNRS UMR 6285 and Ecole Centrale de Nantes)
nicolas-f's avatar
nicolas-f committed
924
</li>
925 926
</ul>

927
<!-- [close] { --></div></td></tr></table><!-- } --><!-- analytics --></body></html>