Skip to content

Commit abcf85f

Browse files
committed
fill in 1.3.0.rc1 change-log
1 parent 50fa0ab commit abcf85f

File tree

2 files changed

+74
-8
lines changed

2 files changed

+74
-8
lines changed

History.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,70 @@
1+
## 1.3.0.rc1 (08/03/13)
2+
3+
- add activerecord gem as a dependency of the main AR-JDBC gem
4+
- override `to_sql` due AR 4.0 - we want to consume the passed binds array
5+
- [sqlite3] introduce Version constant (returned from sqlite_version)
6+
- `execute` expects `skip_logging` param on AR <= 3.0 (+ does not accept binds)
7+
- we shall not do any `to_sql` in any of the exec_xxx methods
8+
- [postgres] array column defaults more reliable (ported from Rails)
9+
- [mssql] review MSSQL date-time handling - no need for that customized quoting
10+
- [mssql] MSSQL - `rake db:migrate:reset` can drop database
11+
- [oracle] handle null strings (e.g. returned on XML columns) instead of NPE
12+
- [oracle] get rid of oracle's `execute_id_insert` not sure how it ever worked
13+
- [oracle] sequence quoting + `insert` refactoring + support for RETURNING
14+
revisit `insert` / `insert_sql` / `exec_insert` to work for all ARs we support
15+
- [db2] refactor DB2's `last_insert_id` using *IDENTITY_VAL_LOCAL()*
16+
- [db2] DB2 supports standalone *VALUES* statements (just like Derby does)
17+
- [derby] last_insert_id for Derby using *IDENTITY_VAL_LOCAL()*
18+
- [derby] only hookup SQL checks on #execute when no #exec_query etc. available
19+
- [sqlite] query-ing last_insert_id after each INSERT seems redundant
20+
- [sqlite] a saner way of getting last_insert_row_id() via the JDBC API
21+
- better `last_inserted_id` unwrapping on the base (jdbc) adapter level
22+
- [postgres] support exec_insert with PS + make sure RETURNING works
23+
- (thread_safe based) quoted column/table name cache implementation
24+
currently used with PostgreSQL, Oracle and MS-SQL adapter (#432)
25+
- [mssql] prevent special column corruption of ORDER BY (#431)
26+
- [db2] fix error with timezone + use default date and time parsing
27+
- [db2] fix error on named index removing
28+
- [postgres] fix array values escaping: backslashes should be escaped too
29+
- [postgres] fix `add_column` / `change_column` with arrays
30+
- [mssql] support for running with official MSSQL driver *adapter: sqlserver*
31+
- [mssql] visitor update (based on built-in) to better resolve ORDER BY
32+
- [mssql] handle SELECT DISTINCT correctly with LIMIT (#154)
33+
- `add_limit_offset!` / `add_lock!` only to be available before AREL (2.3)
34+
- remove Arel::SqlCompiler extensions - was only available with AR 3.0.0 pre
35+
- refactored AREL support - esp. visitor resolution - simpler & more reliable
36+
- [postgres] handle DISTINCT correctly with backwards-compat (#418)
37+
- [firebird] full featured support - first class firebird_connection method
38+
- [jdbc-] jdbc-firebird - packaged JayBird JDBC driver (gem) for FireBird 2.2.3
39+
- [postgres] fix array quoting
40+
- implemented support for returning Ruby Date/Time objects from JDBC
41+
allows such Ruby objects to be returned in custom SELECTs as well (#349)
42+
- introduce a (better) `update_lob_value` as a `write_large_object` replacement
43+
- beyond second precision with timestamp values for adapters that support 'em
44+
- rename `MissingFunctionalityHelper` -> `TableCopier`
45+
- finishing **prepared statement support** for all (Java API now stable), handles
46+
`exec_query`, `exec_update`, `exec_delete` and `exec_insert`
47+
- use `init connection` to check if *connection_alive_sql* needed (old driver)
48+
- JDBC API based savepoint support (that should work for all adapters)
49+
- remove `connection.config=` and make sure it does not change `config`
50+
- avoid executing mysql/sqlite3 JDBC type resolving code (for some speed up)
51+
- simplify native_database_types - now on adapter + overriden avoids jdbc
52+
- [mysql] support canceling a timer for wrapped (JNDI) connections as well
53+
- [mysql] refactor cancel timer (field access) to work correctly (#413)
54+
- Java API: introduce newConnection + refactor @connection_factory to Java
55+
- [postgres] missing point casting code + string to bit casts (#60)
56+
- [derby] tables should only return those from current schema
57+
- [derby] set current schema thus identifiers get resolved (closes #408)
58+
- [derby] no *connection_alive_sql* needed since Derby 10.8
59+
- [postgres] make sure uuid is correctly used/resolved as PK (AR 4.0)
60+
- [postgres] match pk_and_sequence_for with AR 4.0
61+
62+
Code Contributors (in no particular order): Alexey Noskov, Pierrick Rouxel,
63+
Matías Battocchia, @gapthemind and Sören Mothes
64+
65+
Code Contributors (in no particular order): @alno, @pierrickrouxel,
66+
@matiasbattocchia, @gapthemind, @soemo
67+
168
## 1.3.0.beta2 (05/30/13)
269

370
- only load rake tasks if AR is being used - AR::Railtie is loaded (#234)

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@ ActiveRecord-JDBC-Adapter (AR-JDBC) is a database adapter for Rails'
44
*ActiveRecord* component that can be used with [JRuby][0]. It allows use of
55
virtually any JDBC-compliant database with your JRuby on Rails application.
66

7-
AR-JDBC **1.2.x** officially supports ActiveRecord **3.x** as well as **2.3**,
8-
it's latest version is compatible and require JRuby **1.6.8+** (but as always we
7+
AR-JDBC **1.2.x** officially supports `ActiveRecord` **3.x** as well as **2.3**,
8+
it's latest version is compatible and requires JRuby **1.6.8+** (but as always we
99
recommend to use the latest and greatest of JRubies) thus Java **1.6** is needed.
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.beta2**.
11+
**NOTE:** version **1.3.x** of AR-JDBC adapter strives to provide `ActiveRecord`
12+
**4.x** compatibility (as well as still supporting **2.3** and **3.x**) from a
13+
single code base. It's a recommended update for all AR-JDBC 1.2.x users.
14+
15+
[![Gem Version](https://badge.fury.io/rb/activerecord-jdbc-adapter.png)](http://badge.fury.io/rb/activerecord-jdbc-adapter)
1716

1817
## Databases
1918

0 commit comments

Comments
 (0)