Skip to content

Commit 55ac59e

Browse files
committed
prepare for 1.3.0.beta1
1 parent a2faad8 commit 55ac59e

File tree

3 files changed

+88
-3
lines changed

3 files changed

+88
-3
lines changed

History.txt

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,81 @@
1+
== 1.3.0.beta1 (04/11/13)
2+
3+
- [db2] map datetime / timestamp / time types + correct time handling on AS400
4+
- AREL values passed to #to_sql not handled correctly on AR-3.0 (#365)
5+
- (Ruby) API cleanup - removed ArJdbc::Jdbc::Mutex and CompatibilityMethods
6+
- new base implementations for all exec_xxx methods (introduced in AR 3.1)
7+
- returning AR::Result from #exec_query + #exec_query_raw for old behavior
8+
- [mssql] #table_exists? does not filter views (only #tables does)
9+
- [postgres] introduced new types on AR 4.0 - same ones native adapter supports
10+
(uuid values, arrays, json, hstore, ltree, PG ranges, interval, cidr etc.)
11+
- Java API - now compiled with Java 1.6 since we're using JDBC 4 API anyways
12+
- generic #exec_query returning AR::Result + #exec_raw_query for compatibility
13+
- [postgres] improve #insert_sql (uses primary_key, supports all AR versions)
14+
- [postgres] support config[:insert_returning]
15+
- [postgres] always return correct primary key (failing if no sequence)
16+
- Java API - xxxToRuby refactorings - to allow for more flexible overrides
17+
- [postgres] support BIT(n) type where n > 1 as "bit strings"
18+
- [postgres] #disable_referential_integrity on USER level (AR 4.0 compatible)
19+
- Java API - allow objectToRuby and arrayToRuby overrides
20+
- allow more-intuitive initialize arguments when sub-classing JdbcColumn
21+
- do not translate native (Java) exceptions into StatementInvalid (from #log)
22+
- Java API - replaced #tableLookupBlock with (a new) #matchTables
23+
- [mssql] better message for jTDS driver bug (support disabling explain)
24+
- Java API:- accept (and use) catalog as arg[1] in #columns which does leads to
25+
a refactoring of #extractTableName to accept a catalog name
26+
- [mssql] current_user and (change-able) default_schema support (#311)
27+
- [sqlite3] correct empty insert statement value (on AR-4.0)
28+
- Java API - do not wrap runtime exceptions when handling throwables
29+
- [mysql] correct empty insert statement value (was not working on 4.0)
30+
- Java API - handle :xml and :array AR column type to JDBC type conversion
31+
- Java API - SQL Array and Object JDBC type (to Ruby) mappings
32+
- Java API - reviewed (and updated) JDBC type handling for adapters :
33+
* FLOAT/DOUBLE types should be handled (just like REAL) as Double-s
34+
* NUMERIC/DECIMAL values should be handled as BigDecimal-s
35+
* BIT/BOOLEAN should be converted to (Ruby) true/false by default
36+
* NULL should always be returned as nil
37+
* close binary/character stream & free SQLXML once converted
38+
* JDBC 4.0 N(CHAR) types should be handled
39+
- JdbcConnectionFactory.newConnection now throws SQLException - this is backwards
40+
incompatible but most extension do not need to deal with this interface (#347)
41+
- (AR 4.0 compatible) transaction isolation support
42+
- Java API - deprecate SQLBlock class in favor of a parameterized Callable iface
43+
- Java API - #retry makes no sense during #rollback (should use the same connection)
44+
- [postgres] session variables support (from configuration)
45+
- [mysql] session variables support (from configuration)
46+
- [mysql] :strict config option, for STRICT_ALL_TABLES on AR-4.0
47+
- AR 4.0 (master) compatible #rename_table_indexes and #renamed_column_indexes
48+
- [postgres] no need to clear_query_cache after insert on AR-2.3's #insert_sql
49+
- Java API - connection #execute_delete "alias" for #execute_update
50+
- [derby] XMLPARSE when inserting into an XML column type ...
51+
but still can not retrieve XML values using SELECT * FROM
52+
- [sqlite3] IndexDefinition#unique should be a true/false
53+
- [mssql] execute_procedure support, AR-SQLServer style (#266)
54+
- [mssql] #charset, #current_database
55+
- [mssql] config[:database] support + switching using #use_database (#311)
56+
- [mssql] explain support
57+
- [mssql] better query type detection - make sure WITHs work as SELECts
58+
- [mssql] make sure there's a column class (#269) + better special column magic
59+
- [mssql] better - working date/time quoting (with some ms precision support)
60+
- Java API - re-arrange JDBC (to-ruby) type conversion methods
61+
- [mssql] fix Model.first on SQL Server 2000 when called with only order
62+
- [oracle] XMLTYPE column support - can't test due bug in driver
63+
- [db2] working XML column type support
64+
- [oracle] (MATRIALIZED) VIEWS/SYNONYMS should be usable on table_exists?
65+
- a better (default) table_exists? (aligned with columns_internal) for all
66+
- Java API - add #mapTables for OOP-ish mapping of results from #getTables
67+
- [db2] [derby] some (working) connection alive sql (db gurus should help)
68+
- [oracle] (a working) connection alive sql
69+
- [db2] seems like DB2 on ZOS used a non-existing get_primary_key method
70+
- do not call_discovered_column_callbacks for extending column impls
71+
- [hsqldb] a 'valid' connection alive SQL for HSQLDB
72+
- ActiveRecord::AbstractAdapter#exec_insert has 5 args in AR 4.0 (master)
73+
- no need for a ArJdbc::Version module simply use ArJdbc::VERSION
74+
- support auto-loading of adapter gems e.g. when specified in a Gemfile
75+
- load out raltie from arjdbc instead of activerecord-jdbc-adapter thus it will
76+
work consistently even if only a specific adapter gem is specified in Gemfile
77+
- make sure we require arjdbc instead of just arjdbc/jdbc from adapters
78+
179
== 1.2.9 (03/20/13)
280

381
- [oracle] native database types ala oracle-enhanced adapter

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,18 @@ AR-JDBC **1.2.x** officially supports ActiveRecord 3.x as well as 2.3, it's
88
latest version is compatible with JRuby 1.6.8+ (but as always we recommend to
99
use the latest and greatest of JRubies) thus requires Java 1.6 at minimum.
1010

11+
**NOTE:** version **1.3.0** of AR-JDBC adapter is currently in the making which
12+
strives to provide ActiveRecord 2.3, 3.x as well as 4.0 (master) compatibility.
13+
Our master already contains a lot of fixes but since we diverged significantly
14+
from the 1.2 line (we no longer back-port fixes) and still require to perform a
15+
few refactorings we advise users to point their *Gemfiles* to our master or use
16+
pre-release versions of our gem(s) e.g. **1.3.0.beta1**.
17+
1118
**NOTE:** activerecord-jdbc-adapter gem **1.2.6** contains a SQL injection
1219
[security vulnerability](http://cl.ly/code/0n381E353414) and has been yanked,
13-
please update ASAP (to version >= 1.2.8) if you happen to be still using it !
20+
please update ASAP (to version >= 1.2.8) if you happen to still be using it !
1421
Caused by a [regression](http://git.io/MDmiGQ) introduced in the 1.2.6 release,
15-
which was still not completely been fixed in 1.2.7 thus has been yanked as well.
22+
which was still not completely been fixed in 1.2.7 and has been yanked as well.
1623

1724
## Databases
1825

lib/arjdbc/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module ArJdbc
2-
VERSION = "1.3.0.DEV"
2+
VERSION = "1.3.0.beta1"
33
module Version # :nodoc:
44
VERSION = ArJdbc::VERSION # :nodoc: 1.2.x compatibility
55
end

0 commit comments

Comments
 (0)