ChangeLog for DBI

0.0.13 (2002-04-16)

- Moved project to SourceForge.
- dbd_odbc: fixed bug in method columns (Norbert Gawor)
- dbd_proxy, proxyserver: upgraded to DBD API 0.2; fixed bug (Norbert Gawor)

0.0.12 (2001-12-28)

- dbd_oracle: added Database#columns method
- sql.rb: nil as argument in methods of DBI::SQL::BasicQuote::Coerce results in nil
- examples: added xmlgen.rb (library to generate XML; requires REXML)
- dbd_sqlrelay: updated version included (by David Muse).
- dbd_pg: fixed bug (displayed wrong default values) in method Database#columns (Joseph McDoanlds)
- dbd_oracle:
  - added ?-style parameter markers (don't use them together with :1 or :name style)
- dbd_sqlite: added type conversion
- sql.rb: added class PreparedStatement
- dbd_odbc: fixed method Database#tables, added Database#ping and columns, extended Statement#column_info
- dbi.rb: fetch_all and fetch_many now always return an Array ([] instead of nil)
- proxyserver.rb: moved into directory bin/proxyserver
- sqlsh.rb:
  - moved from examples to bin/commandline; install it by default
  - refactored source a lot
  - added \irb (start irb in context) and \rb (execute ruby command) commands
  - SQL statements end with ";" (over multiple lines)

0.0.11 (2001-11-14)

- dbd_sqlite: new DBD for SQLite
- dbd_sqlrelay: new DBD for SQLRelay
- dbd_mysql: fixed quoting for DBI::Binary and Strings containing non-printable characters
- dbd_pg:
  - improved Database#ping (return one instead of hundred rows)
  - added Database attribute: pg_client_encoding
  - added driver specific functions in Database: blob_import, blob_export, blob_create, blob_open, blob_unlink and blob_read
  - convert automatically DBI::Binary objects to OID's and insert the content as BLOB
  - method DatabaseHandle#columns now extract default value.
- dbd_db2: provide DatabaseHandle#do and parameter markers.
- sqlsh.rb: added commands \dt (describe table), \s (select * from table) and \pl (page length).

0.0.10 (2001-10-22)

- dbd_odbc: added odbc_ignorecase option (submitted by Sean O'Halpin), requires Ruby/ODBC 0.93
- dbi: DBI.get_driver(driver_url) returns DriverHandle object
- dbd_mysql: added createdb, dropdb, reload, shutdown as driver-specific functions (callable with method Handle#func) of Driver and Database
- dbd_mysql: added StatementHandle#fetch_scroll

0.0.9 (2001-09-07)

- Fixed bug in sql.rb, method "quote" (gsub! => gsub). (thanks to Stephen Davies)
- dbd_db2: return more fields in method StatementHandle#column_info
- dbd_odbc: removed patch required for Ruby/ODBC version 0.4
- moved DBI::ColumnInfo out of file dbi.rb to columninfo.rb
- DatabaseHandle#columns currently only supported by DBD::Pg and DBD::MySQL. Thanks to Eli Green for his implementation.
- StatementHandle#column_info no more returns an array of hashs, instead it returns an array of DBI::ColumnInfo objects
- new class DBI::ColumnInfo
- new method DatabaseHandle#columns(table)
- extended DBD and DBI specs (added constants for introspection, Database#columns)
- fixed bug in utils.rb XMLFormatter.table (thanks to Jim Menard)

0.0.8 (2001-07-28)

- fixed bug in DBI::Row (dup/clone did not work) (Jim Weirich)
- fixed bug in dbi.rb (load_driver)
- corrected quoting for Date, Time and Timestamp

0.0.7 (2001-07-11)

- fixed bug in dbi.rb, which was newly introduced in 0.0.6

0.0.6 (2001-07-06)

- added supports for dbi:DBD:database:host instead of dbi:DBD:database=aaa;host=bbb (John Gorman)
- added case-insensitive driver URLs (e.g. dbi:Pg:... and dbi:pg:... works) (John Gorman)
- improved examples/sqlsh.rb (added scripting features \i \o)
- fixed bug in dbi/sql.rb method bind.

0.0.5 (2001-06-09)

- almost complete rewrite of DBI by Michael Neumann.

0.0.4 (2001-05-05)

- based on Jim Weirich's suggestion, the drivers have been moved into a new namespace: DBI::DBD::[driver]

0.0.3 (2001-04-28)

- changed 'driver not found' error-message to something more generic

0.0.2

- initial release