=== 3.32.0 (2012-02-01)
* Make serialization_modification_detection plugin work correctly with
new objects and after saving existing objects (jeremyevans) (#432)
* Make refreshes after model creation clear the deserialized values in
the serialization plugin (jeremyevans)
* Add Dataset#update_ignore on MySQL, for using UPDATE IGNORE in
queries (danielb2) (#429)
* Allow select_map/select_order_map to take both a column argument and
a block (jeremyevans)
* Fix virtual row block handling in select_map/select_order_map if
block returns an array (jeremyevans) (#428)
* Add Sequel.empty_array_handle_nulls setting, can be set to false for
possible better performance on some databases (jeremyevans)
* Change exclude(:b=>[]) to not return rows where b is NULL (jeremyevans) (#427)
* Support ActiveModel 3.2 in the active_model plugin, by adding
support for to_partial_path (jeremyevans)
* Fix metadata methods (e.g. tables) on Oracle when custom identifier
input methods are used (jeremyevans)
* Fix Database#indexes on DB2 (jeremyevans)
* Make DateTime/Time columns with Sequel::CURRENT_TIMESTAMP default
values use timestamp column on MySQL (jeremyevans)
* Wrap column default values in extra parens on SQLite, fixes some
cases (jeremyevans)
* Make Database#indexes not include primary key indexes on Derby,
HSQLDB, Oracle, and DB2 using the jdbc adapter (jeremyevans)
* Support Database#indexes in shared MSSQL adapter (jeremyevans)
* Support :include option when creating indexes on MSSQL, for storing
column values in the index (crawlik) (#426)
* Make set_column_type not modify defaults and NULL/NOT NULL setting
on MSSQL, H2, and SQLite (jeremyevans)
* Qualify identifiers when filtering/excluding by associations (jeremyevans)
* Make table_exists? better handle tables where you don't have
permissions for all columns (jeremyevans) (#422)
* Using new association options, support associations based on columns
that clash with ruby method names (jeremyevans) (#417)
* Add use_after_commit_rollback setting to models, can be turned off
to allow model usage with prepared transactions (jeremyevans)
* Fix alter table emulation on SQLite when foreign keys reference the
table being altered (jeremyevans)
* Fix progress shared adapter, broken since the dataset literalization
refactoring (jeremyevans) (#414)
* Support :map and :to_hash prepared statement types (jeremyevans)
* Make Dataset#naked! work correctly (jeremyevans)
* Remove Dataset#paginate!, as it was broken (jeremyevans)
* Fix query extension to not break usage of #clone without arguments
(jeremyevans) (#413)
=== 3.31.0 (2012-01-03)
* Dataset#from no longer handles :a__b__c___d as a.b.c AS d (jeremyevans)
* Support many_to_one associations with the same name as their column,
using the :key_column option (jeremyevans)
* Add Model.def_column_alias for defining alias methods for columns
(jeremyevans)
* Support :server option in Dataset#import and #multi_insert (jeremyevans)
* Respect existing RETURNING/OUTPUT clauses in #import/#multi_insert on
PostgreSQL/MSSQL (jeremyevans)
* Support :return=>:primary_key option to Dataset#import and #multi_insert
(jeremyevans)
* Correctly handle return value for Dataset#insert with column array and value
array on PostgreSQL <8.2 (jeremyevans)
* Dataset#insert_multiple now returns an array of inserted primary keys
(jeremyevans) (#408)
* Support RETURNING with DELETE and UPDATE on PostgreSQL 8.2+ (funny-falcon)
* Raise error if tables from two separate schema are detected when parsing the
schema for a single table on PostgreSQL (jeremyevans)
* Handle clob types as string instead of blob on H2 (jeremyevans)
* Add database type support to the mock adapter, e.g. mock://postgres
(jeremyevans)
* Allow creation of full text indexes on Microsoft SQL Server, but you need to
provide a :key_index option (jeremyevans)
* Allow Dataset#full_text_search usage with prepared statements (jeremyevans)
* Make Dataset#exists use a PlaceholderLiteralString so it works with prepared
statements (jeremyevans)
* Fix Dataset#empty? for datasets with offsets when offset support is emulated
(jeremyevans)
* Add Dataset#group_rollup and #group_cube methods for GROUP BY ROLLUP and
CUBE support (jeremyevans)
* Add support for custom serialization formats to the serialization plugin
(jeremyevans)
* Support a :login_timeout option in the jdbc adapter (glebpom) (#406)
== v0.13.2 [2012-02-22] Michael Granger <ged@FaerieMUD.org>
- Make builds against PostgreSQL earlier than 8.3 fail with a descriptive
message instead of a compile failure.
== v0.13.1 [2012-02-12] Michael Granger <ged@FaerieMUD.org>
- Made use of a finished PG::Connection raise a PG::Error instead of
a fatal error (#110).
- Added missing BSDL license file (#108)
== v0.13.0 [] Michael Granger <ged@FaerieMUD.org>
Reorganization of modules/classes to be better Ruby citizens (with backward-compatible aliases):
- Created toplevel namespace 'PG' to correspond with the gem name.
- Renamed PGconn to PG::Connection (with ::PGconn alias)
- Renamed PGresult to PG::Result (with ::PGresult alias)
- Renamed PGError to PG::Error (with ::PGError alias)
- Declare all constants inside PG::Constants, then include them in
PG::Connection and PG::Result for backward-compatibility, and
in PG for convenience.
- Split the extension source up by class/module.
- Removed old compatibility code for PostgreSQL versions < 8.3
Documentation:
- Clarified licensing, updated to Ruby 1.9's license.
- Merged authors list, added some missing people to the Contributor's
list.
- Cleaned up the sample/ directory
- Making contact info a bit clearer, link to the Google+ page and
the mailing list
Enhancements:
- Added a convenience method: PG.connect -> PG::Connection.new
Bugfixes:
- Fixed LATIN5-LATIN10 Postgres<->Ruby encoding conversions
* A new CMake option, MYSQL_PROJECT_NAME, can be set on Windows or Mac OS X to
be used in the project name.
Bugs Fixed
* Performance: InnoDB Storage Engine: Memory allocation for InnoDB tables was
reorganized to reduce the memory overhead for large numbers of tables or
partitions, avoiding situations where the “resident set size” could grow
regardless of FLUSH TABLES statements. The problem was most evident for tables
with large row size.
* Incompatible Change: An earlier change (in MySQL 5.1.62 and 5.5.21) was found
to modify date-handling behavior in General Availability-status series (MySQL
5.1 and 5.5). This change has been reverted.
* The change was that several functions became more strict when passed a DATE()
function value as their argument, thus they rejected incomplete dates with
a day part of zero. These functions were affected: CONVERT_TZ(), DATE_ADD(),
DATE_SUB(), DAYOFYEAR(), LAST_DAY(), TIMESTAMPDIFF(), TO_DAYS(), TO_SECONDS(),
WEEK(), WEEKDAY(), WEEKOFYEAR(), YEARWEEK(). The previous behavior has been
restored.
* InnoDB Storage Engine: A Valgrind error was fixed in the function
os_aio_init().
* InnoDB Storage Engine: The server could crash when creating an InnoDB
temporary table under Linux, if the $TMPDIR setting points to a tmpfs
filesystem and innodb_use_native_aio is enabled, as it is by default in MySQL
5.5.4 and higher.
* InnoDB Storage Engine: References to C preprocessor symbols and macros
HAVE_purify, UNIV_INIT_MEM_TO_ZERO, and UNIV_SET_MEM_TO_ZERO were removed
from the InnoDB source code. They were only used in debug builds instrumented
for Valgrind. They are replaced by calls to the UNIV_MEM_INVALID() macro.
Changes from previous:
----------------------
0.02006 Wed Dec 21 16:58:00 2011
- Repackaged with Module::Install 1.00
- Migrated repository from svn to git and added links to meta tags
Changes from previous:
----------------------
1.01 2011-08-23
- Update to modern build practices.
- Make tests work with SQLite, so they don't need to be configured.
- Document its depricated status.
=== 1.3.5 / 2011-12-03 - ZOMG Holidays are here Edition!
* Enhancements
* Windows: build against SQLite 3.7.9
* Static: enable SQLITE_ENABLE_COLUMN_METADATA
* Added Statement#clear_bindings! to set bindings back to nil
* Bugfixes
* Fixed a segv on Database.new. Fixes#34 (thanks nobu!)
* Database error is not reset, so don't check it in Statement#reset!
* Remove conditional around Bignum statement bindings.
Fixes#52. Fixes#56. Thank you Evgeny Myasishchev.
* Internal
* Use proper endianness when testing database connection with UTF-16.
Fixes#40. Fixes#51
* Use -fPIC for static compilation when host is x86_64.
=== 1.3.4 / 2011-07-25
* Enhancements:
* Windows: build against SQLite 3.7.7.1
* Windows: build static binaries that do not depend on sqlite3.dll be
installed anymore
* Bugfixes
* Backup API is conditionaly required so that older libsqlite3 can be used.
Thanks Hongli Lai.
* Fixed segmentation fault when nil is passed to SQLite3::Statement.new
* Fix extconf's hardcoded path that affected installation on certain systems.
- bug #3460090 [interface] TextareaAutoSelect feature broken
- patch #3375984 [export] PHP Array export might generate invalid php code
- bug #3049209 [import] Import from ODS ignores cell that is the same as
cell before
- bug #3463933 [display] SELECT DISTINCT displays wrong total records found
- patch #3458944 [operations] copy table data missing
SET SQL_MODE='NO_AUTO_VALUE_ON_ZERO'
- bug #3469254 [edit] Setting data to NULL and drop-downs
- bug #3477063 [edit] Missing set fields and values in generated INSERT query
- bug #3460867 [libraries] license issue with TCPDF (updated to 5.9.145)
* Not using gmake, dropped from USE_TOOLS.
* PYPKGPREFIX is not in PLIST, dropped from PLIST_SUBST.
* no compiler is required, USE_LANGUAGES should be empty.
* distutils pakcage should include distutils.mk and register egg-info.
No negative feedback over 3 months from OWNER.
Bump PKGREVISION.
Changes:
1.926 Wed Jan 11 15:48:11 UTC 2012
* Fix auto-reconnect when the server is dead or a
client timeout.
See https://github.com/melo/perl-redis/issues/1#issuecomment-3444989
1.925 Tue Jan 10 16:02:04 UTC 2012
* Implemented auto-reconnect
* Add support for UNIX domain sockets
* Make REDIS_SERVER work with both TCP and UNIX domain sockets
* Make the test suite workaround a missing redis-server binary
* Assorted small bug fixes
* Improve documentation
Changes:
0.11
- RT#41721 is completely fixed. (sorry, I updated only Makefile.PL and forgot to update META.yml)
- remove SUPPORT OPERATING SYSTEM in POD because description is too old.
- fix typo in POD (reported in RT#63121: Misprint in documentation)
0.10
- add missing dependency for Digest::SHA1 (reported in RT#41721)
- fix RT#36646
Changes:
2011-08-15 Patrick Galbraith <patg at patg dot net> (4.020)
* Numerous (!! Thank you!!) fixes for prepared statements: Masahiro Chiba <nihen at megabbs
dot com>
- Chop blanks fixed
- UTF8 improvements
- fixed memory allocation for BLOBs
- auto-reconnect
* Fix in leak test, which failed sometime due to first assignment $prev_size over
paging (Masahiro Chiba)
* Catalog test allows use of schemas other than 'test' (Masahiro Chiba)
* Documentation fix for auto_reconnect (Karen Etheridge <ether at cpan dot
org>)
* Win32 and general installation fixes (Alexandr Ciornii, http://chorny.net)
Changes:
0.797 (11.21.2011) - John Siracusa <siracusa@gmail.com>
* Fixed a bug that prevented explicitly disabling/enabling column
triggers from working (RT 72592)
Changes:
1.09 Mon 24 Oct 2011
- Spelling fix (gregoa herrmann)
- Updating to Module::Install 1.04
1.08 Wed 12 Oct 2011
- Adds support support for class based timelines
- Removed ORLite::Migrate::Perl as complex cases can now use the
class based timelines.
Changes:
1.51 Fri 25 Nov 2011
- Module::Install::DSL updated to 1.04
- Automatically load overlay classes if there exist. That is, where a
Foo/TableName.pm module exists in addition to the automatically
generated Foo::TableName class.
Changes:
0.74 2012-01-25
- Documentation:
* Re-release of 0.73, now with a proper changelog
0.73 2012-01-25
- Fixes:
* Allow prefetching of only a subset of the other table's columns (Alex Vandiver)
* Avoid a compilation failure on blead caused by incorrect precedence (Thomas Sibley)
Changes:
1.826 25 Jan 2012
* t/db-btree.t - fix use of "length @array"
[RT ##74336]
1.825 24 Jan 2012
* t/db-btree.t - fix use of "length @array"
[RT ##74336]
Changes:
0.08196 2011-11-29 05:35 (UTC)
* Fixes
- Fix tests for DBD::SQLite >= 1.34.
- Fix test failures with DBICTEST_SQLITE_USE_FILE set
- Fix the find() condition heuristics being invoked even when the
call defaults to 'primary' (i.e. when invoked with bare values)
- Throw much clearer error on incorrect inflation spec
- Fix incorrect storage behavior when first call on a fresh schema
is with_deferred_fk_checks
- Fix incorrect dependency on Test::Simple/Builder (RT#72282)
- Fix uninitialized warning in ::Storage::Sybase::ASE
- Improve/cache DBD-specific datatype bind checks (also solves a
nasty memleak with version.pm on multiple ->VERSION invocations)
- The internal carp module now correctly skips CAG frames when
reporting a callsite
- Fix test failures on perl < 5.8.7 and new Package::Stash::XS
- Fix TxnScopeGuard not behaving correctly when $@ is set at the
time of $guard instantiation
- Fix the join/prefetch resolver when dealing with ''/undef/()
relation specifications
* Misc
- No longer depend on Variable::Magic now that a pure-perl
namespace::clean is available
- Drop Oracle's Math::BigInt req down to 1.80 - no fixes concerning
us were made since
Changes:
1.35 Tue 29 Nov 2011
- Updated to SQLite 3.7.9 (ISHIGAKI)
- One small potential break case if you are using FTS4 and ^
1.34_03 Tue 1 Nov 2011
- Adding an explicit dynamic_config => 1 (ADAMK)
- bind_param SQL_INTEGER error now actually dies with RaiseError.
(ISHIGAKI)
1.34_02 Fri 21 Oct 2011
*** CHANGES THAT MAY POSSIBLY BREAK YOUR OLD APPLICATIONS ***
- Resolved#67581: bind_param SQL_INTEGER numifies value;
Now DBD::SQLite croaks if you explicitly specify datatype
(with bind_param) and datatype mismatch happens (ISHIGAKI)
- Datatype set in the bind_param(_array) becomes sticky now
(as per DBI spec). This potentially affects code depending on
current undocumented and broken behavior. (Yuriy Kaminskiy)
- Resolved#71311: binding output columns as SQL_BLOB returns
nothing (ISHIGAKI)
- Bsymbolic flag was not portable enough and was not silently
ignored under MacOSX. Needs to check harder to see if the
linker supports the option. (ISHIGAKI)
- Fixed binding named parameters. (Yuriy Kaminskiy)
- Moved check for bind_ph/is_inout so it always error-out.
(Yuriy Kaminskiy)
- Don't set imp_sth->stmt to NULL on error path (Yuriy Kaminskiy)
- Explained an issue of rollback with unfinished statements.
(ISHIGAKI)
1.34_01 Thu 22 Sep 2011
- Updated to SQLite 3.7.8 (ISHIGAKI)
- Made util/getsqlite.pl work properly for SQLite 3.7.5+ (ISHIGAKI)
- Cookbook: don't use globals (Yuriy Kaminskiy)
- Resolved#70135 and hopefully other mod_perl/CentOS issues like
#63873 and #47983, with a patch by MDOOTSON++ (ISHIGAKI)
While here, let to register egg-info.
What's new in psycopg 2.4.4
---------------------------
- 'register_composite()' also works with the types implicitly defined
after a table row, not only with the ones created by 'CREATE TYPE'.
- Values for the isolation level symbolic constants restored to what
they were before release 2.4.2 to avoid breaking apps using the
values instead of the constants.
- Named DictCursor/RealDictCursor honour itersize (ticket #80).
- Fixed rollback on error on Zope (ticket #73).
- Raise 'DatabaseError' instead of 'Error' with empty libpq errors,
consistently with other disconnection-related errors: regression
introduced in release 2.4.1 (ticket #82).
What's new in psycopg 2.4.3
---------------------------
- connect() supports all the keyword arguments supported by the
database
- Added 'new_array_type()' function for easy creation of array
typecasters.
- Added support for arrays of hstores and composite types (ticket #66).
- Fixed segfault in case of transaction started with connection lost
(and possibly other events).
- Fixed adaptation of Decimal type in sub-interpreters, such as in
certain mod_wsgi configurations (ticket #52).
- Rollback connections in transaction or in error before putting them
back into a pool. Also discard broken connections (ticket #62).
- Lazy import of the slow uuid module, thanks to Marko Kreen.
- Fixed NamedTupleCursor.executemany() (ticket #65).
- Fixed --static-libpq setup option (ticket #64).
- Fixed interaction between RealDictCursor and named cursors
(ticket #67).
- Dropped limit on the columns length in COPY operations (ticket #68).
- Fixed reference leak with arguments referenced more than once
in queries (ticket #81).
- Fixed typecasting of arrays containing consecutive backslashes.
- 'errorcodes' map updated to PostgreSQL 9.1.
* Support Berkeley DB 5.3.x.
* Drop support for Berkeley DB 4.2 and Python 2.3. Our reference
is Red Had Enterprise Linux 5, until march 2014.
* Support for "DBEnv->set_intermediate_dir()", available in
Berkeley DB 4.3-4.6. Patch by Garret Cooper.
* Support for "DB->set_dup_compare()". Original patches by
Nikita M. Kozlovsky and Ben Schmeckpeper.
* Fixed a testsuite compatibility problem with BDB 5.2.
* If we are running Solaris or derivatives, and 64bit python,
try to find the library under "/usr/local/Berkeley.*.*/64/".
* Solaris 10 Update 10 exposes a very old race condition in the replication
master election tests. Some details in
https://forums.oracle.com/forums/thread.jspa?messageID=9902860 .
Workaround proposed in a private email from Paula Bingham (Oracle),
in 20110929.
* When doing the full matrix test for a release, stop the verification
if any test failed.
* Added support for verifying named in-memory dbs.
* Added an integer key comparison function to improve performance through the
SQL API.
* Support build on the platforms where pthread_t is a struct.
* Added an API call so the user can specify the size of the region in a heap db.
* Improved Replication Manager's ability to recover from the (perhaps rare)
phenomenon of two sites trying to connect to each other simultaneously, which
used to result in loss of both connections, requiring a retry after the
CONNECTION_RETRY timeout period.
* Enhanced the interface for copying databases for a hot backup. Added configure
support for --enable-atomicfileread.
* Enhaced the log reading routine to detect that a log file is missing rather
than returning that a zero length record was found.
* Added pragma bdbsql_shared_resources to set or report the maximum amount of
memory to be used by shared structures in the main environment region and
bdbsql_lock_tablesize to set or report the number of buckets in the lock
object hash table. These are advanced tuning features for applications with
large number of tables or needs to reduce locking on concurrent long running
transactions.
* Added set_metadata_dir() and get_metadata_dir() to enable storage of
persistent metadata files in a location other than the environment home
directory.
* Improved the error handling through the SQL API. Errors can be sent to a file
with the use of the BDBSQL_ERROR_FILE pragma.
* Database handles can now be configured to give exclusive access to the
database.
* XA transactions will now use transaction snapshots if the XA databases they
operate on were configured with DB_MULTIVERSION.
* Added additional stats fields into the C# API
* Added pragma bdbsql_single_process to keep the Berkeley DB environment
information on the heap instead of in shared memory. This option cannot be
used if the database is accessed from multiple processes.
* Improved the ability of DB->compact to move DB_HASH database pages to the
begining of the file.