提交 4850884a authored 作者: Thomas Mueller's avatar Thomas Mueller

Prepare release.

上级 4485dc9f
......@@ -18,7 +18,12 @@ Change Log
<h1>Change Log</h1>
<h2>Next Version (unreleased)</h2>
<ul><li>The double or float value -0.0 is now distinct from 0.0 (as in Java).
<ul><li>-
</li></ul>
<h2>Version 1.3.152 Beta (2011-03-01)</h2>
<ul><li>H2 Console: browser detection didn't work for Mac OS X with OpenJDK 1.7.
</li><li>The double or float value -0.0 is now distinct from 0.0 (as in Java).
</li><li>TCP and PG server: if the default port is already in use, the services are now started on
another free port (unless the port is explicitly set). This allows to start the H2 Console
even if the TCP or PG servers are already running.
......@@ -827,106 +832,5 @@ Change Log
</li><li>An ArrayIndexOutOfBoundsException could occur in the page store (eg. on "delete from table"). Fixed.
</li></ul>
<h2>Version 1.2.130 (2010-02-26)</h2>
<ul><li>EXPLAIN: The query plan now contains ".tableScan" if a table scan is used.
</li><li>IN(..): when combining and IN(..) condition with a condition that didn't use an index,
the result could contain duplicate rows.
</li><li>IN(..): the index was not used if there were multiple IN(..) conditions.
</li><li>For foreign key constraints, the metadata column
INFORMATION_SCHEMA.INDEXES.CONSTRAINT_NAME was not set for non-unique indexes.
</li><li>PostgreSQL compatibility: when using the following exception was thrown:
Column "T.TYPTYPMOD" not found. Fixed. This is only when using psqlodbc_08_04*.
</li><li>A tool to migrate an old database from the non-page store format to the
newest version has been added in src/tools/org/h2/dev/util/Migrate.java. This file is not
included in the jar file currently.
</li><li>When using temporary tables, the database didn't shrink sometimes when closing.
Also, sometimes a database could not recover normally.
</li><li>Large transactions could run out of heap space. The maximum size of a transaction is now much larger.
</li><li>The default setting for the system property h2.webMaxValueLength is now 100000 (it was 10000 before).
</li><li>Creating a database was delayed about 2 seconds if the directory didn't exist.
</li><li>Implemented INIT feature. If the database URL contains ";INIT=...;" then the DDL or DML commands
following are executed on startup. Example URL: jdbc:h2:mem:test;INIT=RUNSCRIPT FROM '~/create.sql'
(patch from Kerry Sainsbury).
</li></ul>
<h2>Version 1.2.129 (2010-02-19)</h2>
<ul><li>The methods of the CloseListener are added to the Trigger interface.
The interface CloseListener is removed. This is potentially a breaking change for existing triggers.
</li><li>CREATE ALIAS: error message when compiling Java code have been improved.
</li><li>MVCC: creating a table with an incorrect constraint could cause strange errors.
</li><li>Hash indexes now are only used for single column indexes.
</li><li>The cache types WEAK_* and TQ are no longer supported.
A weak reference cache never frees up memory so it's the same as
having a very large cache size. The TQ cache was not included in the
jar file since a longer time, and was not tested.
</li><li>The file system abstraction no longer throws SQL exceptions.
</li><li>DatabaseEventListener.diskSpaceIsLow has changed.
</li><li>The CompressTool no longer throw as SQL exceptions. Instead, it throws runtime exceptions.
</li><li>SimpleResultSet.addColumn and addRow now can throw a IllegalStateException
instead of a SQLException.
</li><li>When doing an index lookup, decimal values with the same value but different scale
(for example 0.00 and 0.0) where not considered equal in version 1.2.128.
Now they are (unlike BigDecimal.equals()).
</li><li>The BNF parser now uses the visitor pattern.
</li><li>Converting a UUID to bytes was incorrect. Because of that, updatable result sets on
tables with UUID primary key did not work.
</li><li>The database URL property DATABASE_EVENT_LISTENER_OBJECT is no longer supported
(there are problems passing objects when the PostgreSQL driver is installed as well).
</li><li>H2 Console: asynchronous login (using a DatabaseEventListener) is no longer supported.
</li><li>A workaround for a Windows socket problem has been implemented. Thanks a lot to Sergi Vladykin.
</li><li>The Recover tool did not convert correctly convert CLOB data with non-ASCII characters.
</li><li>Tools: the method run(String... args) has been renamed to runTool(String... args).
</li><li>Server.startWebServer(Connection) was not working as expected.
</li><li>The database URL option ACCESS_MODE_LOG is no longer supported.
</li><li>The database URL option RECOVER has currently no effect.
</li><li>Converting an old (non-page store) database is no longer supported using this version.
</li><li>The following system properties are no longer supported:
h2.overflowExceptions, h2.optimizeDropDependencies, h2.optimizeGroupSorted,
h2.optimizeMinMax, h2.optimizeNot, h2.optimizeIn, h2.optimizeInJoin, h2.reuseSpace*.
Most of then were there for a long time, but always with the same value.
There was no unit test with the other value. So changing them was potentially dangerous
(not a lot, but still).
</li><li>The setting LOG has currently no effect (it only had an effect when the page store was disabled).
</li><li>Disabling the page store is no longer supported. The old storage mechanism
has been removed, shrinking the jar file size by almost 10%.
</li><li>The translated resources are now stored in UTF-8 format.
</li><li>The Windows service wrapper now detects if multiple versions of H2 are installed.
</li></ul>
<h2>Version 1.2.128 (2010-01-30)</h2>
<ul><li>There are known errors on rollback when the page store is disabled and at the same time
MVCC is used. See http://code.google.com/p/h2database/issues/detail?id=158
</li><li>The DeleteDbFiles tool deleted all files in the .lob.db directory,
even files that didn't belong to the database.
</li><li>Automatic conversion of old databases to the page store format failed
if the database contained LOB files.
</li><li>Nested subqueries didn't work for INSERT INTO and IN(..).
Example: insert into test ((select 1));
</li><li>If the database was already closed using SHUTDOWN IMMEDIATELY, closing a second
connection could throw a NullPointerException if there was a local temporary table.
</li><li>Less classes are loaded when using the database in embedded mode.
</li><li>The information schema tables are only initialized when needed.
This reduces memory usage and speeds up creating in-memory databases.
Each in-memory database needs about 8 KB of heap memory.
</li><li>Nested UNION/INTERSECT queries with brackets could produce the wrong result if used within a subquery. Example:
select count(*) from (select 1 union (select 2 intersect select 2)) x;
</li><li>Comparing an column against a constant expression with a higher precision or length
than the column could give wrong results (the expression was truncated before comparing).
</li><li>Improved PostgreSQL compatibility (support SHOW DEFAULT_TRANSACTION_ISOLATION).
</li><li>Documentation: the javadocs for Csv.write and read used the wrong default charset.
</li><li>MVCC: if the table was locked in exclusive mode (such as SELECT ... FOR UPDATE), another session
could query the table. This is now longer possible.
</li><li>If a FOR UPDATE query was executed twice (using a PreparedStatement), the table was not locked.
</li><li>Triggers: INSTEAD OF triggers are now supported.
Such triggers can be defined on views.
</li><li>New system property h2.identifiersToUpper. If set to false,
identifiers in SQL statements are case sensitive even if they are not quoted.
</li><li>Slightly improved performance if the table is already locked.
</li><li>CompressLZF: faster decompression.
</li><li>PgServer: the wrong size was sent for VARCHAR data.
Thanks again to Sergi Vladykin for the patch.
</li><li>Serialized access mode (server-less multi-connection mode): fixed getGeneratedKeys() for sequences.
</li></ul>
<!-- [close] { --></div></td></tr></table><!-- } --><!-- analytics --></body></html>
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -16,7 +16,7 @@ public class Constants {
/**
* The build date is updated for each public release.
*/
public static final String BUILD_DATE = "2011-02-12";
public static final String BUILD_DATE = "2011-03-01";
/**
* The build date is updated for each public release.
......@@ -26,7 +26,7 @@ public class Constants {
/**
* The build id is incremented for each public release.
*/
public static final int BUILD_ID = 151;
public static final int BUILD_ID = 152;
/**
* The build id of the last stable release.
......
......@@ -7,6 +7,7 @@
CREATE TABLE VERSION(ID INT PRIMARY KEY, VERSION VARCHAR, CREATED VARCHAR);
INSERT INTO VERSION VALUES
(102, '1.3.152 Beta', '2011-03-01'),
(101, '1.3.151 Beta', '2011-02-12'),
(100, '1.3.150 Beta', '2011-01-28'),
(99, '1.3.149 Beta', '2011-01-07'),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论