Upstream changes:
revision 1.60 2009-09-22 11:03 (UTC)
----------------------------
- fix a well masked error in the sql-test tokenizer
revision 1.59 2009-09-22 08:39 (UTC)
----------------------------
- fixed a couple of untrapped undefined warnings
- allow -in/-between to accept literal sql in all logical
variants - see POD for details
- unroll multiple parenthesis around IN arguments to accomodate
crappy databases
Upstream changes:
0.08112 2009-09-21 10:57:00 (UTC)
- Remove the recommends from Makefile.PL, DBIx::Class is not
supposed to have optional dependencies. ever.
- Mangle the DBIx/Class.pm POD to be more clear about
copyright and license
- Put back PG's multiple autoinc per table support, accidentally
dropped during the serial-autodetection rewrite
- Make sure ResultSetColumn does not depend on the (undefined)
return value of ->cursor->reset()
- Add single() to ResultSetColumn (same semantics as ResultSet)
- Make sure to turn off IDENTITY_INSERT after insert() on MSSQL
tables that needed it
- More informative exception on failing _resolve_relationship
- Allow undef/NULL as the sole grouping value in Ordered
- Fix unreported rollback exceptions in TxnScopeGuard
- Fix overly-eager left-join chain enforcing code
- Warn about using distinct with an existing group_by
- Warn about attempting to $rs->get_column a non-unique column
when has_many joins are added to resultset
- Refactor of the exception handling system (now everything is a
DBIx::Class::Exception object)
Changes since 1.2.2:
- Add a test for connection.ping()
- Fix#2061583: Ignore any non-numeric portion of client and server
version numbers.
- Fix for bug #2479317 (patch #2496558) by kylev. Make some time handling
stuff more consistent.
- Backport some new trunk tests
- Move tests into their own directory to parallel trunk
- Short-term fix for bug #2671682.
- Add nose.collector as test_suite
- We missed one more 2.6-warning generating exception
- Fix bug 1808476 for OSX compilation, ported from trunk.
- don't leak special-case tuples (present in unicode modes)
- Updated ez_setup.py to latest version.
- Found one more old-style raise. Should fix#2122496.
- Found one more Set reference.
- Change raise to use the modern syntax for Python 3.0 compatibility.
- Remove more deprecated Set usage. Refs #2156977.
- More documentation updates.
- Documentation and package data updates
- Fix#2001855: Don't use ez_setup; just use setuptools direction.
- Fix#2156977: Use frozenset as the base for DBAPISet. Only tested for
Python 2.5.
- Fix bug #2137599: Better regex for parsing INPUT statements. Passes unit
tests but has not been thoroughly tested.
- Remove versioned python name from package as egg packaging
also does this.
This package now works with the "python26" package.
pkgsrc changes:
- Adding license definition
Upstream changes:
0.07 Sat Aug 29 13:17:21 UTC 2009
- RT#48919: Allow quoting strings containing \0 (not that doing so is
very useful, but there's not much I can do about that).
Upstream changes:
2009-09-16 Patrick Galbraith <patg@patg.net> (4.013)
* #49484: PATCH add support for MYSQL_INIT_COMMAND to
DBD::mysql - Thanks Peter John Edwards ?
* #48242: 'mysql_bind_type_guessing' doesn't work correctly
with minus sign - Thanks Serguei Trouchelle!
* #45616: t/40blobs.t cannot pass without database access -
ServerError() not declared - Thanks ysth http://ysth.livejournal.com/
Upstream changes:
0.783 (09.14.2009) - John Siracusa <siracusa@gmail.com>
* Added new range operators: between, gt_lt, gt_le, ge_lt, and ge_le.
* The strip() helper method will now throw an exception when there are
pending "on-save" actions. (Reported by Kevin McGrath)
* Added strip_on_save_ok parameter to strip() to override the default
behavior.
* Worked around yet another MySQL empty-string-default "feature."
(Reported by Terrence Brannon)
* Added missing documentation about the required return value of the
"object" handler in the traverse_depth_first() helper method.
(Reported by David Christensen)
* The traverse_depth_first() helper now preserves the existing context
object if a "relationship" handler is not defined. (Reported by
David Christensen)
* Fixed a bug that prevented scalar reference filter arguments from working
correctly with date columns in Manager queries. (Reported by Todd Lyons)
* Fixed a multi-many Manager bug that caused duplicate sub-objects to be
linked to the wrong parent object. (Reported by Anton Shevchenko)
Upstream changes:
0.754 (09.14.2009) - John Siracusa <siracusa@gmail.com>
* Removed outdated warning about Oracle support.
* Clarified the return value and error handling for do_transaction().
dependencies, and all are only useful in special cases
(and the additional pkgs can be installed later if wanted, no need
to have them present at build time)
ride on recent update
pkgsrc changes:
- Adjusting dependencies
Upstream changes:
0.29 Mon Sep 7 15:31:29 EDT 2009
- support for coderef connect_info's
0.28 Thu Aug 27 08:14:05 EDT 2009
- autobox issues in dep chain, bump CX::Component::Traits dep
(caelum)
0.27 Wed Aug 26 09:09:44 EDT 2009
- remove autobox usage due to reports of strange errors (caelum)
- make schema a delegate for model, config too (caelum)
Version 3.1.2 -- the "Skip the impersonations" release.
* Contains translation updates and small bug fixes. No new features.
* ca, cs, de, fr, he, it, nb, nl, pl, pt_br, ru, sk, sv,
* fixes a failure in 'Check & Repair Database'
* fixes to Gramplets
* fixes to CLI regressions
* fixes to Latin1 characterset in Graphviz reports
* fixes to many reports
* fixes to the clipboard
* fixes to NarrativeWeb
* fixes to importing from older XML files
* fixes to ensure GRAMPS continues to run on newver versions of Python
pkgsrc changes:
- Updating dependencies
Upstream changes:
0.08111 2009-09-06 21:58:00 (UTC)
- The hashref to connection_info now accepts a 'dbh_maker'
coderef, allowing better intergration with Catalyst
- Fixed a complex prefetch + regular join regression introduced
in 0.08108
- Fixed insert_bulk rebless handling
- Fixed Storable roundtrip regression, and general serialization
cleanup
- SQLT related fixes:
- sqlt_type is now called on the correct storage object
- hooks can now see the correct producer_type (RT#47891)
- optional SQLT requirements for e.g. deploy() bumped to 0.11002
- Really fixed (and greatly cleaned up) postgresql autoinc sequence
autodetection
- Automatically detect MySQL v3 and use INNER JOIN instead of JOIN
- POD improvements (including RT#48769)
- Test suite tweaks (including fixes for recent CPANTS fails)
- Better support for MSSQL IDENTITY_INSERT ON
pkgsrc changes:
- remove patch to detect iODBC correctly after is was applied upstream
Upstream changes:
Changes in DBD::ODBC 1.23 September 11, 2009
- Only a readme change and version bumped to 1.23. This is a full release
of all the 1.22_x development releases.
Changes in DBD::ODBC 1.22_3 August 19, 2009
- Fix skip count in rt_38977.t and typo in ok call.
- Workaround a bug in unixODBC 2.2.11 which can write off the end of the
string buffer passed to SQLColAttributes.
- Fix skip count in rt_null_nvarchar.t test for non SQL Server drivers.
- Fix test in 02simple.t which reported a fail if you have no ODBC
datasources.
- In 99_yaml.t pick up the yaml spec version from the meta file instead
of specifying it.
- Change calls to SQLPrepare which passed in the string lenth of the SQL to
use SQL_NTS because a) they are null terminated and more importantly b)
unixODBC contains a bug in versions up to 2.2.16 which can overwrite the
stack by 1 byte if the string length is specified and not built with iconv
support and converting the SQL from ASCII to Unicode.
- Fixed bug in ping method reported by Lee Anne Lester where it dies if used
after the connection is closed.
- A great deal of changes to Makefile.PL to improve the automatic detection
and configuration for ODBC driver managers - especially on 64bit platforms.
See rt47650 from Marten Lehmann which started it all off.
- Add changes from Chris Clark for detecting IngresCLI.
- Fix for rt 48304. If you are using a Microsoft SQL Server database and
nvarchar(max) you could not insert values between 4001 and 8000 (inclusive)
in size. A test was added to the existing rt_38977.t test. Thanks to
Michael Thomas for spotting this.
- Added FAQ on UTF-8 encoding and IBM iSeries ODBC driver.
- Add support for not passing usernames and passwords in call to connect.
Previously DBD::ODBC would set an unspecified username/password to '' in
ODBC.pm before calling one of the login_xxx functions. This allows the
driver to pull the username/password from elsewhere e.g., like the
odbc.ini file.
Changes in DBD::ODBC 1.22_1 June 16, 2009
- Applied a slightly modified version of patch from Jens Rehsack to improve
support for finding the iODBC driver manager.
- A UNICODE enabled DBD::ODBC (the default on Windows) did not handle
UNICODE usernames and passwords in the connect call properly.
- Updated "Attribution" in ODBC.pm.
- Unicode support is no longer experimental hence warning and prompt removed
from the Makefile.PL.
- old_ping method removed.
- Fixed bug in 02simple.t test which is supposed to check you have at least
one data source defined. Unfortunately, it was checking you had more than
1 data source defined.
- rt_null_varchar had wrong skip count meaning non-sql-server drivers or
sql server drivers too old skipped 2 tests more than were planned.
It is used by mk/bdb.buildlink3.mk:
BDB_LIBS= ${BUILDLINK_LDADD.${BDB_TYPE}}
which is then used e.g. by p5-BerkeleyDB:
MAKE_ENV+= BERKELEYDB_NAME=${BDB_LIBS:Q}
* Force WAL segment switch during pg_start_backup()
* Disallow "RESET ROLE" and "RESET SESSION AUTHORIZATION" inside
security-definer functions
* Make "LOAD" of an already-loaded loadable module into a no-op
* Disallow empty passwords during LDAP authentication
* Fix handling of sub-SELECTs appearing in the arguments of an
outer-level aggregate function
* Fix bugs associated with fetching a whole-row value from the output
of a Sort or Materialize plan node
* Revert planner change that disabled partial-index and constraint
exclusion optimizations when there were more than 100 clauses in an
AND or OR list
* Fix hash calculation for data type interval
* Treat to_char(..., 'TH') as an uppercase ordinal suffix with 'HH'/'HH12'
* Fix overflow for INTERVAL 'x ms' when "x" is more than 2 million
and integer datetimes are in use
* Fix calculation of distance between a point and a line segment
* Fix money data type to work in locales where currency amounts have
no fractional digits, e.g. Japan
* Properly round datetime input like 00:12:57.9999999999999999999999999999
* Fix poor choice of page split point in GiST R-tree operator classes
* Avoid performance degradation in bulk inserts into GIN indexes when
the input values are (nearly) in sorted order
* Fix Windows shared-memory allocation code
* Force WAL segment switch during pg_start_backup()
* Disallow "RESET ROLE" and "RESET SESSION AUTHORIZATION" inside
security-definer functions
* Make "LOAD" of an already-loaded loadable module into a no-op
* Disallow empty passwords during LDAP authentication
* Fix handling of sub-SELECTs appearing in the arguments of an
outer-level aggregate function
* Fix bugs associated with fetching a whole-row value from the output
of a Sort or Materialize plan node
* Prevent synchronize_seqscans from changing the results of
scrollable and WITH HOLD cursors
* Revert planner change that disabled partial-index and constraint
exclusion optimizations when there were more than 100 clauses in an
AND or OR list
* Fix hash calculation for data type interval
* Treat to_char(..., 'TH') as an uppercase ordinal suffix with 'HH'/'HH12'
* Fix overflow for INTERVAL 'x ms' when "x" is more than 2 million
and integer datetimes are in use
* Fix calculation of distance between a point and a line segment
* Fix money data type to work in locales where currency amounts have
no fractional digits, e.g. Japan
* Fix LIKE for case where pattern contains %_
* Properly round datetime input like 00:12:57.9999999999999999999999999999
* Fix memory leaks in XML operations
* Fix poor choice of page split point in GiST R-tree operator classes
* Ensure that a "fast shutdown" request will forcibly terminate open
sessions, even if a "smart shutdown" was already in progress
* Avoid performance degradation in bulk inserts into GIN indexes when
the input values are (nearly) in sorted order
* Correctly enforce NOT NULL domain constraints in some contexts in
PL/pgSQL
* Fix portability issues in plperl initialization
* Fix pg_ctl to not go into an infinite loop if "postgresql.conf" is
empty
* Improve pg_dump's efficiency when there are many large objects
* Use SIGUSR1, not SIGQUIT, as the failover signal for pg_standby
* Fix WAL page header initialization at the end of archive recovery
* Fix "cannot make new WAL entries during recovery" error
* Fix problem that could make expired rows visible after a crash
* Disallow "RESET ROLE" and "RESET SESSION AUTHORIZATION" inside
security-definer functions
* Make "LOAD" of an already-loaded loadable module into a no-op
* Make window function PARTITION BY and ORDER BY items always be
interpreted as simple expressions
* Fix several errors in planning of semi-joins
* Fix handling of whole-row references to subqueries that are within
an outer join
* Fix Windows shared-memory allocation code
* Fix locale handling with plperl
* Fix handling of reloptions to ensure setting one option doesn't
force default values for others
* Ensure that a "fast shutdown" request will forcibly terminate open
sessions, even if a "smart shutdown" was already in progress
* Avoid memory leak for array_agg() in GROUP BY queries
* Treat to_char(..., 'TH') as an uppercase ordinal suffix with 'HH'/'HH12'
environment variable which makes (at least if GNU configure is
used the common way) that everything in the pkg gets linked against db4,
whether needed or not, which causes hidden dependencies and strange errors
Pkgsrc changes:
- Perl 5.10, which includes version.pm, is now required by pkgsrc, hence
the dependency on devel/p5-version can be removed
- Set LICENSE
Upstream changes:
0.58 Tue Jul 14 03:21:21 EST 2009
- Possible incompatibilities:
* Modules which use Jifty::DBI::Schema will have strict and warnings
automatically applied to them.
- Features:
* Jifty::DBI::Handle now has methods for supported_drivers,
available_drivers, and is_available_driver.
- Fixes:
* Remove unused _limit_clause method
* Various error message improvements
* Use ->new_item instead of ->record_class->new since it was a performance
hit in Jifty
* Avoid cals to ->new_item where possible
- Documentation:
* Document connect's quirky return value
0.57 Tue May 19 08:02:03 EDT 2009
- Major bugfixes:
* Use eval {} in Jifty::DBI::Handle's DESTROY block when manipulating DBI
Alterations to the DBI object in the DESTROY block must be wrapped in
an eval {}, as object destruction order is not guaranteed during
global destruction, and this interacts poorly with DBI's tie'd object.
* During DESTROY, don't explicitly disconnect a dbh set InactiveDestroy
The InactiveDestroy flag on DBI objects prevent them from being
implicitly disconnected when they go out of scope -- for example, in
the case where a process has forked, and two processes hold the socket
open.
However, it does not prevent them from being _explicitly_
disconnected, as we were doing in Jifty::DBI::Handle's DESTROY method.
This caused InactiveDestroy to never kick in, causing either a shared
socket, or two closed handles after a fork. We prevent this by having
Jifty::DBI::Handle respect InactiveDestroy in its DESTROY method.
* Do not use Scalar::Defer defaults for columns' defaults in the db
- New features:
* Add a display_length attribute on columns
* add schema manipulation tables: rename_column and rename_table
* If a column's default is a record, call its id method
- Fixes:
* Improve SQL error message and avoid its duplication
* Pull the input_ and output_filters out of the instance hash
- Tests:
* Added a unit test for the SaltHash filter
* use drop_table_if_exists in tests
* add drop_table_if_exists in t/utils.t
* unconditionaly drop tables for testing
* test rename_table
* add tests for rename_column
* SaltHash test does not need an is_deeply()
* Don't explicitly disconnect the handle, DESTROY handles it better
* Test for warnings instead of letting them leak into the test output
2009-08-14 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcutil.c (tctmpldumpeval): "INC", "PRT" operators and "SET" directive were added.
* tcutil.c (tcwwwformdecode2): a bug of memory corruption was fixed.
* tchdb.c (tchdbgetimpl): a bug related to caching large records was fixed.
- Release: 1.4.32
* Expose the sqlite3_strnicmp() interface for use by extensions and
applications.
* Remove the restriction on virtual tables and shared cache mode. Virtual
tables and shared cache can now be used at the same time.
* Many code simplifications and obscure bug fixes in support of providing 100%
branch test coverage.
pkgsrc changes:
- Adjusting license and dependencies according to META.yml
Upstream changes:
0.782 (07.09.2009) - John Siracusa <siracusa@gmail.com>
* Altered tests to confirm the fix for RT 45836.
* Detect enum-like columns in PostgreSQL. (RT 46214)
* Added optional warning to the Loader for missing primary keys.
(Patch by Ed Loehr)
* Fixed a memory leak in the Iterator class. (RT 47294)
(Patch by Thomas Whaples)
* Unique indexes that have predicates are now skipped by the auto-
initialization process. Use the include_predicated_unique_indexes
Metadata attribute and/or Loader attribute to override the default.
This feature is currently only supported in PostgreSQL.
(Patch by Ed Loehr)
* Improved unknown method error messages. (Suggested by Brian Miller)
* Updated some example code in the documentation.
pkgsrc changes:
- Adjusting license and dependencies
Upstream changes:
0.753 (07.09.2009) - John Siracusa <siracusa@gmail.com>
* Detect enum-like columns in PostgreSQL. (RT 46214)
* Added support for the "sslmode" DSN option for PostgreSQL.
(Reported by foudfou)
pkgsrc changes:
- Adding license
- Adjusting dependencies
- Using "correct" module type
Upstream changes:
0.008 18 Aug 2009
* add tests and support for fuzzy int-types
* refactor to include an explicit Column class to allow for more
granular control of sql building. Thanks to John Maslanik for the prompting
that led to this idea.
Upstream changes:
0.26 Wed Jul 29 16:16:09 PDT 2009
- fix loading connect_info from schema-defined connection
(bluefeet, RT 48084)
- detect wrong case for "dbi:" DSN part in DBIC helper (caelum)
- Fix missing dep on Catalyst::Helper that made tests fail
(wintrmute, RT 47449)
pkgsrc changes:
- Adding recommended dependencies
- Adjusting dependencies according to META.yml
Upstream changes:
# ----------------------------------------------------------
# 0.11001 2009-08-18
# ----------------------------------------------------------
* Removed last use of Readonly
* Adjusted YAML dependency
# ----------------------------------------------------------
# 0.11000 2009-08-18
# ----------------------------------------------------------
* Re-add version numbers to files, else cpan's "upgrade" gets very confused
* Replaced code using Readonly, since most of the rest uses constant, and thats already a dep
* Moved YAML and XML::LibXML back to recommends, the tests for both now skip if not installed
* Bumped to 0.11000 to supercede 0.10 which has incorrect numbering scheme
# ----------------------------------------------------------
# 0.10 2009-08-13
# ----------------------------------------------------------
* Resolved the following RT bugs (thanks to everyone for reporting!):
25791 does not recognize PostgreSQL ON_ERROR_STOP
29265 sqlt-diagram: --natural-join needs Graph::Directed
37814 SQLite translator failing to parse schema
42548 Producer::PostgreSQL incorrectly inserts the size in
'time(stamp)? with(out) time zone' fields
43173 SQL::Translator::Parser without versionnumber - will install
old 0.09002
46805 (No subject)
47026 META.yml is not packaged due to MANIFEST.SKIP (easyfix)
32130 Move from XML::XPath to XML::LibXML::XPathContext
22261 MySQL parse
13915 missing optional prerequisite cause make test to fail
8847 Diagram.pm: BINMODE missing in printing of graphic file.
21065 GraphViz producer fails on tables named 'node'
35448 Producer::PostgreSQL types without size
22026 sqlt-diagram uses -f arg twice
47897 [PATCH] Fix uninitialized value within @_ in (uc|lc)
47668 Mysql Parser doesn't recognize key types
46448 sqlt-graph errors out on MySQL DDL with btree keys
47176 Add Foreign Key support to Parser::DBI::PostgreSQL.pm
48025 MySQL Producer: Case inconsistency between elements in
@no_length_attr and $data_type
48569 sqlt-diagram fails to load SQLite schema
48596 SQL::Translator::Diff::schema_diff should produce a list in
list context
44907 SQL::Translator::Producer::PostgreSQL produce() in list context
should return a list of statements
pkgsrc changes:
- Adjusting dependencies according to META.yml
Upstream changes:
0.08109 2009-08-18 08:35:00 (UTC)
- Replication updates:
- Improved the replication tests so that they are more reliable
and accurate, and hopefully solve some cross platform issues.
- Bugfixes related to naming particular replicants in a
'force_pool' attribute.
- Lots of documentation updates, including a new Introduction.pod
file.
- Fixed the way we detect transaction to make this more reliable
and forward looking.
- Fixed some trouble with the way Moose Types are used.
- Made discard_chages/get_from_storage replication aware (they
now read from the master storage by default)
- Refactor of MSSQL storage drivers, with some new features:
- Support for placeholders for MSSQL via DBD::Sybase with proper
autodetection
- 'uniqueidentifier' support with auto newid()
- Dynamic cursor support and other MARS options for ODBC
- savepoints with auto_savepoint => 1
- Support for MSSQL 'money' type
- Support for 'smalldatetime' type used in MSSQL and Sybase for
InflateColumn::DateTime
- support for Postgres 'timestamp without timezone' type in
InflateColumn::DateTime (RT#48389)
- Added new MySQL specific on_connect_call macro 'set_strict_mode'
(also known as make_mysql_not_suck_as_much)
- Multiple prefetch-related fixes:
- Adjust overly agressive subquery join-chain pruning
- Always preserve the outer join-chain - fixes numerous
problems with search_related chaining
- Deal with the distinct => 1 attribute properly when using
prefetch
- An extension of the select-hashref syntax, allowing labeling
SQL-side aliasing: select => [ { max => 'foo', -as => 'bar' } ]
- Massive optimization of the DBI storage layer - reduce the
amount of connected() ping-calls
- Some fixes of multi-create corner cases
- Multiple POD improvements
- Added exception when resultset is called without an argument
- Improved support for non-schema-qualified tables under
Postgres (fixed last_insert_id sequence name auto-detection)
2.15.1 Released August 7, 2009
- Release to fix the SIGNATURE file. [GSM]
2.15.0 Released August 4, 2009 (subversion r13164)
- Use PQexecPrepared even when no placeholders (CPAN bug #48155) [GSM]
- Allow execute_array and bind_param_array to take oddly numbered items,
such that DBI will make missing entries undef/null (CPAN bug #39829) [GSM]
- Put single quotes around array literals when quoting arrays via
the quote() method. Per report from David Garamond (CPAN bug #48420) [GSM]
2.14.1 Released July 28, 2009 (subversion r13140)
- Remove invalid bigint assignment [Tim Bunce]
2.14.0 Released July 27, 2009 (subversion r13130)
- Make quoting of int, floats, and names much safer. (CPAN bug #41565) [GSM]
- Make quoting of geometric types respect all valid chars (CPAN bug #41565) [GSM]
- Fix quoting of booleans to respect more Perlish variants (CPAN bug #41565) [GSM]
- Return ints and bools-cast-to-number from the db as true Perlish numbers.
(CPAN bug #47619) [GSM]
- Fix backslash quoting of arrays (CPAN bug #46732) [GSM]
- Fix error when destringifying array starting with '[x:y]='. Per report from
Jeff Trout [GSM]
- Fix problem with foreign_key_info() and NAME_uc (CPAN bug #46109) [GSM]
- Make foreign_key_info() respect FetchHashKeyName (CPAN bug #46103) [GSM]
- Fix Makefile.PL to apply POSTGRES_INCLUDE in a saner way.
(CPAN bug #45769) [GAURAV@cpan.org]
- Improve Win32 README notes [Curtis Jewell]
- Fix spelling error in type_info (CPAN bug #47786) [justin.d.hunter@gmail.com]
- Add functions to support MS VC++ 7.0 (CPAN bug #47858) [Taro Nishino]
0.39 6th June 2009
* Added support for BDB 4.8
- associate_foreign
- set_bt_compress (no callbacks as yet).
* Also added interface to
- ENV->stat_print
- ENV->txn_stat_print
* Oldest Perl supported is now 5.005
* Fixed issue db_stat when it returned a null pointer.
(#46312 rt.cpan.org)
* Fixed issue with DNM Filters & UTF8 support.
Patch supplied by Torsten Foertsch.