Pkgsrc changes:
+ Support user-destdir installation.
+ Document the way that pkgsrc handles the freetds documentation.
+ Use GENERATE_PLIST instead of creating a .PLIST.doc.
+ Remove patch-ac and patch-ad due to reports of success compiling
FreeTDS on Mac OS X without changes on the freetds@ mailing list.
Package changes:
- libtds.* has been removed. Its objects are now linked directly
into the other client libraries.
- support TLSv1 sessions to MSSQL servers
- fixed timeout handling
- added protocol version discovery
- reduced network bandwidth use on Linux and -BSD
- fixed conversion NUMERIC->NUMERIC changing precision/scale
- added named instance support (mssql2k)
- many other code improvements and bug fixes
- improved pool server
- ODBC:
- cursors (mssql)
- fixed database setting
- fixed SQLGetData result
- fixed compute handling in ODBC
- paramset support
include:
* Have Dataset#graph give a nil value instead of a hash with all nil
values if no matching rows exist in the graphed table. This changes
how graph handles missing records in associated tables (which occur
because graph defaults to LEFT OUTER joins by design).
* Fix Dataset#eager_graph when not all objects have associated objects.
This changes how eager_graph handles missing records in associated
tables (which occur because graph defaults to LEFT OUTER joins by
design).
other DB abstraction packages is that MDB2 goes much further to ensure
portability. MDB2 provides most of its many features optionally that
can be used to construct portable SQL statements.
Stop lying and drop maintainership of these packages. I have not
maintained them for a very long time already, so leave room for
fresh blood to take over them.
include:
* SECURITY: Fix backslash escaping of strings
* No longer depend on ParseTree, RubyInline, or ruby2ruby, but you still
need them if you want to use the block filters
* Paginating an already paginated/limited dataset now raises an error
* Added support for arbitrary index types (including spatial indexes)
* Allow joining of multiple datasets, by making the table alias different
for each dataset joined
* Add ability to create a graph of objects from a query, with the result
split into corresponding tables
* Set a timeout in the Sqlite adapter, default to 5 seconds
* Quote column names in SQL generated for SQLite
* Add support for PostgreSQL partial indexes
* Support storing microseconds in postgres timestamp fields
* Fix table joining in MySQL
* Fix MySQL default values insert
* Fix renaming columns on MySQL with type :varchar
* Fix ODBC adapter improperly escaping date and timestamp values
* Fix connecting to an MSSQL server via ODBC using domain user credentials
* No longer depend on the assistance gem, merge the Inflector and
Validations code
* Make the validation errors API compatible with Merb
* Add validates_uniqueness_of, for protecting against duplicate entries
in the database
* Use reciprocal associations for all types of associations in the
getter/setter/add_/remove_ methods
* Fix many_to_one associations to cache negative lookups
* Add eager loading of associations via new sequel_core object graphing
* Fix many_to_many associations with classes inside modules without an
explicit join table
* Add the eager! and eager_graph! mutation methods to model datasets
* Add Model.def_dataset_method, for defining methods on the model that
reference methods on the dataset
* Change Model#=== to always be false if the primary key is nil
* Add Model#hash, which should be unique for a given class and primary
key (or values if primary key is nil)
* Make Model#reload clear any cached associations
* Fix Model#destroy so that it returns self, not the result of after_destroy
* Make Model#initialize, Model#set, and Model#update_with_params
invulnerable to memory exhaustion
* Add Model.str_columns, which gives a list of columns as frozen strings
- assume that Python 2.4 and 2.5 are compatible and allow checking for
fallout.
- remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+
default. Modify the others to deal with the removals.
2007-12-26 Patrick Galbraith <patg@grazr.com> (4.006)
* Cleanups on OS X compile
* Fixes to syntax errors on AIX
* Removed test code that was leaving trace files around
2007-3-22 Patrick Galbraith <patg@grazr.com> (4.005)
* Fixed mysql_warning issue < 4.1 (reminers, patches, help from ROAM, (issue 25713)
* makerealclean patch from ROAM (issue #25714)
* sqlstate cleanup patch from ROAM
* Replaced all references to dbis to use imp_xxh per DBI best practices
* Fix to dbd_st_destroy - added back previously removed 'free everything' code which
had been moved to dbd_st_finish, causing a crash upon freeing of bind values
after all rows resulting from one execution of a query have been fetched. This meant
that next attempt to execute the prepared statement would segfault. This
work thanks to Rainer Weikusat!
* Removed all 'FindNewTable' calls in all tests. Just use 't1' for all tests to
simplify things. Plus, this is how MySQL internall tests.
* Better 'skip test' logic in some tests that were still running when they shouldn't
have been.
2007-3-22 Patrick Galbraith <patg@grazr.com> Jim Winstead <jimw@mysql.com> (4.004)
* Work around a bug in old 3.23 servers by specifying NOT NULL for fields used
as a primary key in tests. (Bug #20325, reported by Julian Ladisch)
* Add support for mysql_warning_count statement handle attribute. (Bug #25457,
patch from Philip Stoev)
* Add support for mysql_multi_statements connection option. (RT #12322, based
on patch from Doug Morris)
* Had to bump to 4.003 do to print statement in mysql.pm that made it
into the dist. Even though you can delete a file on CPAN, you cannot
re-upload it if it's the same name. Mea Culpa.
* UTF8-Flag not set with flag mysql_enable_utf8 and column collation utf8_bin patch,
Joost Diepenmaat, (RT #24738)
* Fixed do_error definition (Scott Hildreth, Tim Bunce)
* Conversion of test suite to Test::More
2007-3-5 Patrick Galbraith <patg@grazr.com> Jim Winstead <jimw@mysql.com> (4.003)
* Fix inclusion of non-primary keys in primary_key_info. (Bug #26786,
reported and patch by Dave Rolsky)
2007-3-1 Patrick Galbraith <patg@grazr.com> Jim Winstead <jimw@mysql.com> (4.002)
* Fix re-exec of Makefile.PL when forcing $ENV{LANG} to 'C'. (RT #25233,
reported by Slaven Rezic)
* Rewrote table_info method to support all arguments (previously it would
only ever return all of the tables in the current database, no matter what
was specified)
* Fixed $DBD::mysql::VERSION to be a string instead of a float, which caused
problems for certain locales
* Fixed bug #23974. $dbh->column_info now returns handle with no rows upon
table not existing. Much thanks to Tim Bunce for help fixing the problem
in mysql.pm vs. dbdimp.c
* Removed #ifdefs for do error (sqlstate being passed as last arg depending on
version)
* Fixed insertid test to work with auto_increment_increment replication setup.
* Patch from Tim Bunce fixing do() not set $dbh->{Statement} attribute,
which prevented DBD::Profile from giving correct results for calls to do()
and causing ShowErrorStatement to possibly report the wrong statement in the
error message
* Patch from Tim Bunce clearing out the sth attribute cache when switching
between result, sets which prevented the adjustedment of NUM_OF_FIELDS
* Cleanup of several unused variables
* Added support for wildcards in last argument of column_info().
* Add mysql_is_auto_increment to results of column_info(). (Bug #26603,
original patch from Dave Rolsky)
* Return the correct table type for both tables and views from the table_info()
method. (Bug #26603, original patch from Dave Rolsky)
* Add implementation of foreign_key_info() (Bug #26604, original patch from
Dave Rolsky, and final implementation based on Connector/J code)
2007-1-8 Jim Winstead <jimw@mysql.com> Patrick Galbraith <patg@grazr.com> (4.001)
* Fix handling of unsigned integer values in result sets when using
server-side prepared statements (they were not retrieved at all).
* Fix handling of signed integer values when using server-side prepared
statements (they were being forced to unsigned values).
* Do not tell Perl that the contents of binary fields are UTF-8.
[rt.cpan.org #22123], original patch by Joost Diepenmaat
* Fix double-free of bound parameters when freeing statements. (Bug #20559)
* Make sure to handle "magical" values in a couple of places. (Bug #20104)
* Update the hints about what to do when zlib is found missing while
linking. (Bug #13803, reported by Philip Stoev)
* Explicitly initialize the MySQL client library to avoid possible race
conditions in a multithreaded application. (Bug #21792)
* Fix warning when no connection attributes are passed to the connect
method (Bug #17323, reported by Phil Randal)
* Removed redundant warnings when commit or rollback is called while
AutoCommit is enabled. [rt.cpan.org #15802], reported by Tyler MacDonald
* Report correct type for decimal columns from MySQL 5.0 and later
[rt.cpan.org #18294], reported by Ray Zimmerman
* Fix t/40bindparam.t to work when ANSI_QUOTES SQL_MODE is set.
[rt.cpan.org #21521], reported by David Wheeler
* Return a statement handle with an error when column_info is called on
a table that does not exist. (Bug #23974, patch by Philip Stoev)
* Fix handling of table names with characters that did not match /\w/ in
the column_info method. (Bug #22005, reported by Philip Stoev)
* Fix handling of negative integers bound to a column marked as SQL_INTEGER.
[rt.cpan.org #18976], patch from Mike Schilli.
* Add support for the primary_key_info method. [rt.cpan.org #8541]
* Fixed Bundle::DBD::mysql to only include modules required for using
DBD::mysql, not the old Mysql package. [rt.cpan.org #24096]
* Updated Makefile.PL to not include files in .svn directories
* Fixed various compile warnings in mysql.xs (ISO C)
* Cleaned up stored procedure examples, made strict
* Fixed bug that blew away subsequent result sets if you fetched all rows, only in
result sets that had more than one row
* Added test for bug #14979http://rt.cpan.org/Ticket/Display.html?id=14979, which still
fails
* Tested with ALL mysql versions, fixed 40types, 40bind_param tests to work with 4.0, 4.1
* Fixed dbdimp.c to not test for MYSQL_DATA_TRUNCATED unless >= mysql 5.0
2006-12-22 Patrick Galbraith <patg@patg.net>, Alexey Stroganov (4.00)
* Added Alexey Stroganov's patch which fixes varying number of columns in
multiple result sets. Added new test cases to 80procs.t based of his
test script (bug #21028) (Thanks Alexey!). Also fixed 80procs.t to allow
'CALL' to be prepared
* Added Philip Stoev's patch for DATA_TYPE date and time columns (bug #23988)
(Thanks Philip!)
* Reworked (for working with 4.0, which doesn't support sqlstate) Philip Stoev's
patch for sqlstate, bug #23935 (Thanks Philip!)
* New Versioning! 4.00 now. This dev tree will now become trunk
* Cleaned up much code that failed between versions (!!!)
* Turned off prepared statements by default
* Tested this with 5.1, 5.0, 4.1, 4.0. Works with ALL these versions!
2006-10-10 Patrick Galbraith <patg@patg.net>, Alexey Stroganov (3.0009_1)
* Added fbind and bind alloc to dbd_st_describe. This was causing a crash
when using with mod_perl
2006-10-10 Patrick Galbraith <patg@patg.net> (3.0008_1)
* Added patch for SSL Verify Certificate (Thanks Eric Chen!)
* Added multiple fixes to dbd_st_prepare which fixed variable overwrite
and unset increment counter. Also improved loop which checks statements
for presence of "LIMIT" by using a pointer as opposed to char array
increment variable. These errors were showing up in OpenBSD and other
Unixen (which I think all BSD-based) (Thanks to Kyle George!)
* Added fix to Makefile.PL to obtain correct build flags on VMS
(Thanks to Eric Milkie!)
* Fixed casting of num_params to unsigned int in calls to NewZ in mysql.xs
2006-10-07 Patrick Galbraith <patg@patg.net>, Jim Winstead <jimw@mysql.com>
(3.0007_2)
* Added UTF8 patch from Dominic Mitchell (Thanks!)
* Fixed declaration of "row" in mysql_st_internal_execute which caused compile
errors on some platforms
* Fix documentation for _ListDBs to remove incorrect information about
limitations of data_sources(). (RT #20843, patch by Ann Barcomb)
* Fix typo in example (missing quote). (RT #15086)
* Mention in POD that 'localhost' always means to connect via UNIX socket,
and 127.0.0.1 must be used for TCP/IP to localhost (RT #14942, reported by
Alessandro Ranellucci)
* Fix typos in Makefile.PL (RT#16178, reported by Gavin Shelley)
2006-09-08 Jim Winstead <jimw@mysql.com>, Patrick Galbraith <patg@mysql.com>
(3.0007_1) (3.0006/3.0006_1 is the same as 3.0005/3.0005_1)
* Make sure to call dbd_st_finish when all rows from a statement handle
have been fetched. (Bug #20153, Bug #21607, RT #20464, RT #21241)
* Patch from Steve Hay to fix bind_param to deal properly with insertion
of a NULL into an INT or DOUBLE column using server-side prepare.
Converted Steve's dbi.pl script to expose this problem to 40bindparam2
test.
* Fix to mysql_st_internal_execute to keep from passing undefined dbh
handle member (bind_type_guessing) to parse_param causing crash on
OpenBSD. Reported on rt.cpan.org (#20868) by Kyle Georg, as well as
info from Sam Smith and Federico Giannici
* Cleaned up tests to make sure test table is dropped at end of test.
2006-06-10 Patrick Galbraith <patg@mysql.com) (3.0005)
* Fix dbd_st_finish in 3.0004 didn't clean up bind buffers resulting in
a memory leak. See eg/prepare_memory_usage.pl to see how this manifests
itself. Thanks to Jason Snell for giving me a good script to reproduce
this!
* Fix to parse_params, mysql.xs dbh->do, and bind_param to deal with
passing substr to "do" for placeholder value. Thanks Martin Waite for
the patch to parse_params (extended to mysql.xs "do" and bind_param for
server-side prepared statements.
2006-05-17 Patrick Galbraith <patg@mysql.com) (3.0004_1)
* Fix dbd_st_finish which closed the handle prematurely (Martin Evans)
* Compile issues (Martin Evans)
* Small change to get utf8 data returned. One still has to:
$dbh->do("set character set utf8");
$dbh->do("set names utf8");
to get utf8 back and even then you only get it back if the
column is defined as utf8 in mysql.
* Fix to dbd_bind_ph to deal with numbers (ints, floats) correctly
(Alexey Stroganov)
* Test changes - bind_param 41 and 42
* Turned off 70takeimp test
2006-04-29 Patrick Galbraith <patg@mysql.com) (3.0003_1)
* Removed old Msql-Mysql Driver emulation code - finally!!!
* Removed aweful string testing code (that I wrote) for unsported
statements and now use mysql_stmt_prepare, if statement not
supported, toggle to mysql_emulated_prepare
* Fixed bug where failed stmt execution caused later statements
to fail with mysql_stmt_reset
* Added tests for unsupported statements
* Added test for test of failed statement with subsequent executes
(thanks to Martin Evans!)
* Added typo fix (Martin Evans)
* Added support for ParamValues and associated test (Martin Evans)
* Removed old emulated driver tests (HOORAY!)
* Cleaned up debug printing code
* Fixed syntax for create table ENGINE=InnoDB instead of type=innobase
* Cleaned up tests
2006-01-31 Patrick Galbraith <patg@mysql.com> (3.0002_5)
* Fixed bugs 15546 (selectcol_arrayref failing on SHOW TABLES)
and 15665, 'USE dbname' failing when driver is not in emulated
prepare mode
2005-10-26 Patrick Galbraith <patg@mysql.com> (3.0002_4)
* Added Guy Harrison's patch for multiple result sets
* Fixed bugs with declarations in middle of functions
* Cleaned up code, rewrote several loops using pointers
instead of iterators
* Rewrote 'SHOW', 'ALTER', 'CALL', 'CREATE' toggling code that turns
off server prepared statements (these calls are not supported)
* Updated documentation
2005-09-28 Patrick Galbraith <patg@mysql.com> (3.0002_3)
* Added code to mysql_st_internal_execute that determines whether the
SV *h is a sth or dbh, and then imports imp_dbh appropriately
2005-09-26 Patrick Galbraith <patg@mysql.com> (3.0002_2)
* Fixed bug in dbd_st_execute where imp_sth was being
imported unecessarily, when only imp_dbh is needed. This caused a
core dump in some cases. Thanks to Andy Maas at Proofpoint for his
execellent detective work!
* Small changes to Makefile.PL to make sure --ps-protocol works as
advertised.
* Updated install.html with current info about prepared statements and FC
RPM/YUM packages.
2005-08-04 Patrick Galbraith <patg@mysql.com> (3.0002_1)
* Prepared statement support is default now. To turn it off
a parameter 'mysql_emulated_prepare' must be turned ON
* Better error handling in mysql_internal_execute_ps (renamed
from mysql_internal_execute41). Also free the result if error -
that could have been a memory bug
* Added a simply 'do' to t/35prepare.test to see if you can turn
off prepared statements in the 'do' call.
* Cleaned up a LOT of cruft. Added more 'caveat' blurbage to old
Mysql.pm lib, which will not work with prepared statements
1.53 Tue Apr 2 03:06:56 UTC 2008
* Fix mysql version check in DistinctQuery function
* Fix order by outer column on Oracle
* Improve tests
1.52 Tue Apr 1 00:48:56 UTC 2008
* Fix order by outer column on SQLite, mysql, adjust Pg. Add test that
cover this.
1.51 Tue Jan 15 22:53:56 UTC 2008
* Fix CountAll method when paging is enabled and data is in memory already
1.50 Fri Nov 23 23:24:00 UTC 2007
* Oracle: Don't DISTINCT query when there is a group by clause
* Fix a problem when we have more then two collections in a union
and some of them are empty
1.49 Sat Jul 7 18:45:41 EDT 2007
* Fix a CPAN signature issue
0.36 Thu Dec 13 17:49:35 PST 2007
- Patch from ISHIGAKI@cpan.org to suppress unnecessary warnings about
undefined local_options, thanks!
- fix bug preventing adding new columns as primary keys under Pg
0.35 Mon Oct 29 18:58:36 PDT 2007
- Fix minor breakage (pretty_print) resulting from Jesse's changes.
- Update mysql driver to handle BIGSERIAL columns
- Update Column.pm, move all mysql and Pg-specific code to DBD driver
callbacks
- Update Table.pm, add local_options
- Fix mysql NULL reverse-engineering and updating code
0.34 Sun Aug 19 10:08:51 PDT 2007
- More work on update schema from Slaven Rezic <srezic@cpan.org>,
thanks!
+ implement table dropping (closes: CPAN#27936)
+ implement column dropping (closes: CPAN#27896)
- Fix to quiet warnings from internal use of old API from Jesse Vincent
<jesse+cpan@fsck.com>, thanks! (closes: CPAN#27958)
- Make table dropping optional, not the default.
0.33 Thu Jun 28 18:46:15 PDT 2007
- Overhaul of index representation: indices (both normal and unique)
now have names and are DBIx::DBSchema::Index objects
- update_schema now handles indices!
- Bump version numbers in Table.pm, Column.pm and DBD.pm
- Pg reverse-engineering fix for column order in multi-column indices,
to prevent needless drop/add of identical indices
- mysql reverse-engineering patch from Brian Phillips
<bphillips@cpan.org>, closes: CPAN#17582, thanks!
- mysql NAME vs NAME_lc patch from Ralf Hack <ralf@beetlecraft.net>,
closes: CPAN#16715, thanks!
- mysql fix for additional column data from Chris Mungall
<cjm@fruitfly.org>, closes: CPAN#20859, thanks!
- SQLite SERIAL patch from IN SUK JOUNG <i.joung@gmail.com>, and fix
for mis-application of said patch from Slaven Rezic
<srezic@cpan.org>, thanks!
- Update README wrt current CVS info and URL, closes: CPAN#27577
0.32 Wed Apr 18 15:02:25 PDT 2007
- increment the version numbers in Column.pm and Table.pm and the
"use" statements accordingly
- Error reporting for load constructor
- Update documentation wrt supported databases and new update_schema
stuff
- Fixes for dropping nullability on old Pg (<= 7.2)
- Fixes for adding nullability on old Pg (<= 7.3)
- Throw a warning if pg_server_version is unavailable, assume >= 7.3
- fix POD error in DBSchema::DBD::SQLite that confused pod2man and
prevented the documentation from being installed. Patch from Niko
Tyni <ntyni@iki.fi>, thanks!
databases/sqsh
databases/sqsh-motif
databases/sqsh-x11
The latter two are now just databases/sqsh built with a specific set of
options. Changes include:
+ Add options.mk that supports three options:
sqsh-motif Motif GUI
sqsh-xaw Athena GUI
sybase-openclient Use real Sybase
Note that USE_SYBASE_OPENCLIENT is a legacy variable for the new
global "sybase-openclient" option.
+ Remove Makefile.common and move all logic into sqsh/Makefile and
sqsh/options.mk.
+ Remove section in patch-aa that tried to deal with termcap/curses
issues for readline. That is now automatically taken care of in
pkgsrc through termcap.buildlink3.mk, which is included here
indirectly by readline/buildlink3.mk.
+ Add full DESTDIR support.
+ Bump the PKGREVISION for sqsh, sqsh-motif and sqsh-x11 to 5. All
three packages now track and use the same PKGREVISION number.
changes: many fixes, improvements and API extensions, see
http://www.jcea.es/programacion/pybsddb.htm
pkgsrc note: 'egg' (setuptools) support was added upstream, but
disabled in pkgsrc because it leads to nondeterministic results
depending on OS version and installed pkgs
Changes:
* doc/rrdcreate.pod, doc/rrdgraph.pod, doc/rrdgraph_graph.pod,
doc/rrdgraph_rpn.pod, doc/rrdtutorial.pod: fixes for better web
rendering
* COPYRIGHT: added ZPL 2.1 to floss exception
* src/rrd_graph.c, trunk/program/src/rrd_graph.c: fixed parsing of
fontnames with embeded spaces
* bindings/tcl/tclrrd.c, configure.ac, src/rrd_cgi.c: * fix fadvice
and madvice inclusion ... again * fix rrdcgi warning * fix
warnings in tcl bindings -- Peter Breitenlohner peb mppmu.mpg.de
* src/rrd_graph.c: weekday and time are too tight
* configure.ac: fixing the solaris build
* netware/Makefile, src/rrd_update.c, win32/Makefile: updates for
netware and mingw32 ... allows for crosscompilation
* src/rrd_update.c: make update compile for mingw32 3.4.5
* bindings/perl-shared/Makefile.PL, configure.ac, src/rrd_tool.h,
src/rrd_update.c: * improve portability of compile environment to
netbsd and solaris
databases/ruby-sequel as of version 1.4.0.
+ Update dependencies for www/thoth and www/merb-sequel to reflect
removal of ruby-sequel-model -- use ruby-sequel instead. Bump the
PKGREVISION for these two packages.
+ Add patch-aa and patch-ab which are changes pulled from upstream to
allow the creation of new records that don't have a primary key when
the cache is on.
* Merge ``sequel_model'' into ``sequel''.
* Eager loading for all types of associations.
* One-to-many associations now populate the corresponding many-to-one
instance variable (even when eagerly loaded).
* ActiveRecord style has_many :through associations are now supported
via many_to_many. many_to_many will no longer select the entire result
set, just the columns of the associated table (and not the join table),
so it works for both has_and_belongs_to_many (simple join table) and
has_many :through (join table model) scenarios.
0.768 (02.25.2008) - John Siracusa <siracusa@gmail.com>
* Changed mailing list and wiki URLs.
* Fixed the "warn" overflow mode for character columns to carp
instead of croaking. (Reported by John Ingram)
* Refined workaround for http://rt.cpan.org//Ticket/Display.html?id=33193
to apply only to versions that exhibited this bug.
* Added the forget_related() helper method to the "all" export tag.
0.767 (02.15.2008) - John Siracusa <siracusa@gmail.com>
* Added the forget_related() helper method.
* Enhanced and documented the long-dormant "hints" Manager parameter.
* Added a work-around for a DBD::Pg 2.0.0 array/bind_col() bug:
http://rt.cpan.org//Ticket/Display.html?id=33193
* Improved the column method handling for array-reference values
that may be fetched from array columns by DBD::Pg 2.0.0.
* Fixed a bug in the test suite that caused some Postgres tests
to fail if the "chkpass" column type was not installed.
(Reported by Randal Schwartz)
0.7665 (02.08.2008) - John Siracusa <siracusa@gmail.com>
* Fixed a bug that prevented the convention manager's auto_table_name()
method from honoring the tables_are_singular() attribute value.
(Reported by Ben Tilly)
* The new, more correct behavior of Rose::DB 0.739's array column
value parsing and formatting revealed a bug in QueryBuilder's
handling of "(any|all)_in_array" conditions involving empty list
arguments. This is now fixed.
0.7664 (02.06.2008) - John Siracusa <siracusa@gmail.com>
* Fixed a bug that caused boolean columns to be incorrectly marked as
modified. (Reported by Grzegorz Nosek)
* Added sql_qualify_column_names_on_load() Metadata method to help
support Postgres functions that can masquerade as columns if they're
prefixed by the table name. (Suggested by Grzegorz Nosek)
0.7663 (02.04.2008) - John Siracusa <siracusa@gmail.com>
* Fixed a bug that caused delete_on_save method creation for foreign
keys to fail in some circumstances. (Reported by Justin Ellison)
* Fixed a bug that prevented Perl code from being emitted for
non-set columns with check_in attributes. (Reported by Sam Tregar)
* Pushed cache control methods down into Rose::DB::Object::Cached
in preparation for more caching subclasses.
* The clear_object_cache() method now correctly clears load timestamps
as well. (Patch by Justin Ellison)
0.7662 (01.30.2008) - John Siracusa <siracusa@gmail.com>
* Fixed copy-and-paste-o in Rose::DB::Object::Cached code.
0.7661 (01.29.2008) - John Siracusa <siracusa@gmail.com>
* Fixed method clash detection in Rose::DB::Object::Manager.
* Streamlined caching implementation in Rose::DB::Object::Cached.
0.766 (12.13.2007) - John Siracusa <siracusa@gmail.com>
* Added the unique_key_by_name() metadata method.
* Added the ability to do unrestricted joins in some circumstances.
* Added the remember_all() class method to Rose::DB::Object::Cached.
* Added the undef_overrides_default column attribute.
* The key_column() method in the ForeignKey class now works correctly.
(Patch by Christopher Masto)
* Further synced datetime and timestamp method-maker code.
* Added a test suite exclusion for DBD::SQLite 1.14, which still suffers
from this bug: http://rt.cpan.org/Public/Bug/Display.html?id=21472
* Improved detection of fatal errors during class setup.
* Added a "gotchas" section to the Loader documentation.
* Fixed propagation of db objects in update and delete Manager methods.
* Fixed a bug that caused some cached SQL to persist incorrectly after
inheritance. (Patch by Daniel Koch)
* Fiddled with not_found() detection. (Changes suggested by Philip Dye)
* Made one-to-one relationships (attempt to) work even when uniqueness is
not apparent in the metadata.
* The Loader no longer chokes on SQLite columns that use the
current_timestamp keyword. (Reported by George Hartzell)
* Setting undef integer attributes to zero is now correctly detected
as a modification.
0.765 (07.21.2007) - John Siracusa <siracusa@gmail.com>
* Added a value_type attribute to SET columns.
* Added a normalize_get_objects_args() utility method to make
custom Manager methods less cumbersome to implement.
* Setting a BigInt column to undef no longer sets it to zero.
(Reported by Jeffrey Horn)
* Corrected error propagation in many-to-many "find" methods when bad
arguments are passed. (Reported by Michael Reece)
* Added "use strict" the output of perl_manager_class().
* Restored default use of table aliases in Manager queries. The new
table_aliases parameter can be used to alter the behavior.
* Added support for literal sort_by parameters using scalar references.
* Added is/is_not comparison operators to QueryBuilder. (Suggested by
Jonathan Vanasco)
* Scalar references appearing in the select => ... list in Manager calls
are now passed through unmodified.
* Existing map records are now correctly checked for when adding items
through a many-to-many relationship. (Reported by Drew Taylor)
* Using a nonexistent column name in a primary or unique key is now a
fatal error. (Reported by Philip Dye)
* Multi-columns "select count(distinct ...)" queries now fall back to
count(*) on a subselect in databases that do not support calling count
on multi-argument distinct clauses. (Reported by Derek Watson)
* The auto-init system will now skip Postgres functional indexes when
extracting unique keys. (Reported by Jonathan Vanasco)
* Fixed a bug that caused inner joins to be used inappropriately in
certain cases with many-to-many relationships or when nested joins
are disabled.
* Fixed a bug that caused the auto-init system to fold multiple foreign
keys that reference the same remote key into a single multi-column
foreign key. (Reported by Marlon Bailey)
* Fixed a Manager bug that caused count queries to use incorrect
table aliases when passed empty with_objects or require_objects
array reference values. (Reported by Denis Moskowitz)
* Fixed a bug that prevented relationship and foreign key names from
being resolved when used in nested query parameters.
* Relationship count methods no longer die when the count is zero.
(Reported by Derek Watson)
* Setting enum fields to undef now works correctly. (Reported by Ovid)
* Columns with custom DBI bind attributes are now updated correctly.
(Reported by Derek Watson)
* Epoch columns with zero (0) default values now work correctly.
(Reported by Peter Karman)
* Setting boolean columns to null (undef) now works correctly.
(Reported by Derek Watson)
* Fixed a bug that caused literal query parameters with bind arguments
to become corrupted after their first use.
* Changed the way classes are registered in order to fix a Loader bug
that caused cross-database foreign keys to be erroneously created
when tables with the same names exists in two different databases.
(Reported by Adrian Howard)
* Deleting one-to-one related objects on save now works correctly.
(Reported by Ovid)
* The "find" method for many-to-many relationships now propagates custom
Manager arguments correctly. (Patch by Michael Reece)
* The use_key parameter to load() now dies if an invalid key is passed.
(Reported by Jonathan Vanasco)
0.741 (02.25.2008) - John Siracusa <siracusa@gmail.com>
* Changed mailing list URLs.
0.740 (02.15.2008) - John Siracusa <siracusa@gmail.com>
* Added support for Rose::DB::Object 0.767's new hints features.
0.739 (02.08.2008) - John Siracusa <siracusa@gmail.com>
* Caching of db objects during mod_perl server start-up is now turned
off by default, with new API to turn it back on and do the necessary
pre-fork clean-up that this entails. This change solved a segmentation
fault problem triggered in DBD::Informix when database handles created
in the parent were not properly disconnected prior to the first fork of
the apache process.
0.738 (02.06.2008) - John Siracusa <siracusa@gmail.com>
* The Informix INT8 column type is now detected and mapped to "bigint"
on behalf of Rose::DB::Object.
* Fixed a bug that prevented format_array() and parse_array() from
correctly handling arrays containing undef or NULL, respectively.
(Reported by Derek Watson)
0.737 (12.13.2007) - John Siracusa <siracusa@gmail.com>
* Altered the behavior of connect() and disconnect() to account
for the possibility that dbi_connect() may return a DBI $dbh
that is already connected and has already been initialized.
* Added optional (on by default) coercion of column type metadata
from (big)int auto-increment to (big)serial for MySQL and SQLite.
* Added support for the current_timestamp keyword to SQLite.
* Added a dozen or so new MySQL connection attributes that must be
inlined into the DSN rather than passed as connect() options.
0.736 (11.13.2007) - John Siracusa <siracusa@gmail.com>
* Added new_or_cached() method and associated caching framework.
* Added dbi_connect() method. (Patch by Peter Karman)
* Removed mistakenly checked in breakpoint.
0.735 (07.21.2007) - John Siracusa <siracusa@gmail.com>
* Improved parsing of SET values.
* Fixed the test suite's detection of the broken DBD::SQLite 1.13.
* Fix character string comparison for Windows locales that consider
different character combinations as equal
* Repair potential deadlock between concurrent "VACUUM FULL"
operations on different system catalogs
* Fix longstanding "LISTEN"/"NOTIFY" race condition
* Disallow "LISTEN" and "UNLISTEN" within a prepared transaction
* Disallow dropping a temporary table within a prepared transaction
* Fix rare crash when an error occurs during a query using a hash
index
* Fix memory leaks in certain usages of set-returning functions
* Fix input of datetime values for February 29 in years BC
* Fix "unrecognized node type" error in some variants of "ALTER
OWNER"
* Ensure pg_stat_activity.waiting flag is cleared when a lock wait is
aborted
* Fix handling of process permissions on Windows Vista
* More...
* Fix character string comparison for Windows locales that consider
different character combinations as equal
* Repair corner-case bugs in "VACUUM FULL"
* Fix misbehavior of foreign key checks involving character or bit
columns
* Avoid needless deadlock failures in no-op foreign-key checks
* Fix possible core dump when re-planning a prepared query
* Fix possible failure when re-planning a query that calls an
SPI-using function
* Fix failure in row-wise comparisons involving columns of different
datatypes
* Fix longstanding "LISTEN"/"NOTIFY" race condition
* Disallow "LISTEN" and "UNLISTEN" within a prepared transaction
* Disallow dropping a temporary table within a prepared transaction
* Fix rare crash when an error occurs during a query using a hash
index
* Fix incorrect comparison of tsquery values
* Fix incorrect behavior of LIKE with non-ASCII characters in
single-byte encodings
* Disable xmlvalidate