2012-06-03 00:15:37 -04:00
|
|
|
== 0.8.x (in git)
|
|
|
|
|
2012-08-06 01:17:21 -04:00
|
|
|
* New options for AR :truncation for speed. See README for details. (Stanislaw Pankevich)
|
2012-08-01 08:23:08 -04:00
|
|
|
* view caching works with the schema_plus gem loaded
|
|
|
|
* ActiveRecord::ConnectionAdapters::AbstractAdapter#views was renamed to an internal name
|
2012-08-01 07:04:37 -04:00
|
|
|
* ActiveRecord truncation strategy caches the list of tables #130 (Petteri Räty)
|
|
|
|
|
2012-06-03 00:47:18 -04:00
|
|
|
== 0.8.0 2012-06-02
|
2012-06-03 00:15:37 -04:00
|
|
|
|
2012-07-08 11:09:20 -04:00
|
|
|
* Faster truncation strategy for ActiveRecord with MySQL or PostgreSQL
|
|
|
|
* Upgrade to RSpec 2
|
2012-06-03 00:15:37 -04:00
|
|
|
* Support for Mongoid 3/Moped (Andrew Bennett)
|
2012-06-03 00:47:18 -04:00
|
|
|
* Postgres Adapter no longer generates invalid SQL when no tables provided. (Michael-Keith Bernard)
|
2011-11-12 20:24:13 -05:00
|
|
|
|
2012-03-21 11:29:47 -04:00
|
|
|
== 0.7.2 2012-03-21
|
|
|
|
|
|
|
|
* Proper Mysql2Adapter superclass fix. (Jonathan Viney)
|
|
|
|
* Sequel::Transaction works with latest Sequel. (David Barri)
|
|
|
|
* Documenation fixes/improvements. (David Barri, Ben Mabey, Kevin Moore)
|
|
|
|
|
2012-01-15 14:22:56 -05:00
|
|
|
== 0.7.1 2012-01-15
|
|
|
|
|
|
|
|
=== New Features
|
|
|
|
|
|
|
|
* Support for Rails 3.2. (David Demaree)
|
|
|
|
|
|
|
|
=== Bugfixes
|
|
|
|
|
|
|
|
* Truncation resets the id count on SQLite. (Jordan Hollinger)
|
|
|
|
* AR delete strategy now disables referential integrity. (Ben Mabey)
|
|
|
|
* Fixes Postgres adapter for JRuby. (Dmytrii Nagirniak, Uģis Ozols)
|
|
|
|
* Documenation fixes. (Josh Rendek, Joshua Flanagan)
|
|
|
|
* Fixes bad error message when no database is specified for AR. (issue #72, Ben Mabey)
|
|
|
|
|
|
|
|
|
2011-11-12 20:24:13 -05:00
|
|
|
== 0.7.0 2011-11-12
|
2011-02-09 11:53:38 -05:00
|
|
|
|
2011-06-16 22:11:53 -04:00
|
|
|
=== New Features
|
|
|
|
|
2011-11-12 20:23:37 -05:00
|
|
|
* Sequel Support (Corin Langosch)
|
2011-06-16 22:11:53 -04:00
|
|
|
* Updates DataMapper strategies to work with DataMapper 1.1 (Xavier Shay and Anthony Williams)
|
|
|
|
* for AR and PSQL, truncate all tables with one command, improving performance due to avoiding cascades (Leonid Shevtsov)
|
|
|
|
|
2011-11-12 20:23:37 -05:00
|
|
|
=== Bugfixes
|
|
|
|
|
|
|
|
* Avoids trying to load the ':default' ActiveRecord config. #72 (Ben Mabey)
|
|
|
|
|
|
|
|
|
2011-06-16 22:11:53 -04:00
|
|
|
== 0.6.7 2011-04-21
|
2011-04-21 23:38:49 -04:00
|
|
|
|
2011-03-21 18:45:07 -04:00
|
|
|
=== Bugfixes
|
|
|
|
* Explicity require ERB. (Vít Ondruch)
|
2011-03-24 11:32:10 -04:00
|
|
|
* Cache DB connections, fixes referential integrity bug when using multiple DBs. (John Ferlito)
|
2011-03-21 18:45:07 -04:00
|
|
|
|
|
|
|
== 0.6.6 2011-03-16
|
|
|
|
|
2011-03-15 17:57:19 -04:00
|
|
|
=== Bugfixes
|
|
|
|
* Don't modify the array passed in with the :except key. (Eric Wollesen)
|
2011-03-16 23:56:16 -04:00
|
|
|
* Fixes version checking for postgresql. (Greg Barnett)
|
2011-03-15 17:57:19 -04:00
|
|
|
|
2011-03-08 21:23:48 -05:00
|
|
|
== 0.6.5 2011-03-08
|
|
|
|
|
2011-03-08 21:14:27 -05:00
|
|
|
=== Bugfixes
|
|
|
|
* When truncating in postgresql (>= 8.4) sequences are now reset. (Greg Barnett)
|
2011-03-08 21:18:29 -05:00
|
|
|
* Fixes the MongoDB truncation so non system collections starting with 'system' are not excluded for truncation. (Dmitry Naumov)
|
2011-03-08 21:14:27 -05:00
|
|
|
|
2011-02-21 11:34:01 -05:00
|
|
|
== 0.6.4 2011-02-21
|
|
|
|
|
|
|
|
=== Bugfixes
|
|
|
|
* Avoids trying to drop views in Postgres. (Bernerd Schaefer)
|
|
|
|
|
2011-02-09 11:53:38 -05:00
|
|
|
== 0.6.3 2011-02-09
|
|
|
|
|
|
|
|
=== New Features
|
|
|
|
* Configurable logger to aid in debugging database cleaner. (Marty Haught)
|
|
|
|
|
|
|
|
== 0.6.2 2011-02-04
|
2011-01-27 12:42:09 -05:00
|
|
|
|
2011-01-18 14:21:40 -05:00
|
|
|
=== New Features
|
|
|
|
* Support IBM_DB Adapter for table truncation. This is for DB2 >= 9.7 (GH-39 Samer Abukhait)
|
|
|
|
|
2011-02-04 10:51:39 -05:00
|
|
|
=== Bugfixes
|
|
|
|
* Reversed GH-41 after larger community discussion. Mongo indexes are no longer dropped. (Ben Mabey)
|
2011-02-04 11:06:50 -05:00
|
|
|
* Truncation strategy works on SqlServer tables with FKs. (GH-33, Hugo Freire)
|
2011-02-04 10:51:39 -05:00
|
|
|
|
2011-01-27 12:42:09 -05:00
|
|
|
== 0.6.1 2011-01-27
|
2010-11-11 12:44:40 -05:00
|
|
|
|
2010-11-25 00:25:57 -05:00
|
|
|
=== New Features
|
2011-01-16 12:46:43 -05:00
|
|
|
* Default strategies for all ORM libs are defined. (GH-36, GH-38 Prem Sichanugrist)
|
|
|
|
* Add a NullStrategy. (GH-6 Ben Mabey)
|
2010-11-25 00:25:57 -05:00
|
|
|
|
2010-11-11 12:44:40 -05:00
|
|
|
=== Bugfixes
|
2011-01-26 11:40:49 -05:00
|
|
|
* Mongo colletion indexes are dropped for collections being removed. (GH-41 Ben Mabey)
|
2010-11-24 23:37:42 -05:00
|
|
|
* Exclude database views from tables_to_truncate, if the connection adapter
|
|
|
|
supports reading from the ANSI standard information_schema views. (GH-25 Samer Abukhait)
|
2010-11-11 12:44:40 -05:00
|
|
|
* ORM types can be specified in string format and not mysteriously blowup. (GH-26 Ben Mabey)
|
2010-11-22 20:52:13 -05:00
|
|
|
* Do not remove MongoDB reserved system collections. (GH-24 Ches Martin)
|
2010-08-22 16:29:38 -04:00
|
|
|
|
2010-10-25 13:13:31 -04:00
|
|
|
== 0.6.0 2010-10-25 - The Multi-ORM/Connection Release
|
2010-08-22 16:29:38 -04:00
|
|
|
|
|
|
|
This release has the often asked for functionality of being able to clean
|
2011-03-21 18:45:07 -04:00
|
|
|
multiple databases within the same project. This involves being able to
|
2010-08-22 16:29:38 -04:00
|
|
|
clean databases managed by the same ORM (i.e. different connections) and
|
|
|
|
also being able to clean databases managed by distinct ORMs. So, for
|
|
|
|
example you can now use DatabaseCleaner on a project that has ActiveRecord
|
|
|
|
and Mongoid to help ensure all DBs all in a clean state. Please see the
|
|
|
|
README for more information. The old API has been preserved so this release
|
|
|
|
is backwards compatible.
|
|
|
|
|
|
|
|
This release is a result of Jon Rowe's hard work. Many thanks to Jon for all
|
|
|
|
of the hours and effort he put into making this feature request a reality.
|
|
|
|
|
|
|
|
=== New Features
|
|
|
|
* Ability to clean multiple database connections managed by the same ORM. (Jon Rowe)
|
|
|
|
* Ability to clean multiple DBs managed by different ORMs in same project. (Jon Rowe)
|
|
|
|
* Allows for the ActiveRecord config file (database.yml) to contain ERB and process it. (Fletcher Nichol)
|
2010-08-22 17:01:55 -04:00
|
|
|
* Mysql2Adapter support. (Kamal Fariz Mahyuddin and John Ferlito)
|
2010-10-25 13:13:31 -04:00
|
|
|
* Deletion strategy for ActiveRecord (Mikl Kurkov)
|
2010-02-22 14:32:45 -05:00
|
|
|
|
2010-05-02 14:40:30 -04:00
|
|
|
=== Bugfixes
|
|
|
|
* Updates the DataMapper truncation strategy to version 0.10.3. (Robert Rouse)
|
2010-09-02 12:57:57 -04:00
|
|
|
* Addresses Ruby 1.9 and 1.8 differences causing a bug in the AR PostgreSQLAdapter truncation strategy. (GH-14, James B. Byrne)
|
2010-09-21 19:30:26 -04:00
|
|
|
* Fixes syntax error that MySQL was throwing during DataMapper truncation. (Blake Gentry)
|
2010-10-03 22:55:07 -04:00
|
|
|
* Fixes truncation for PostgreSQL (Bodaniel Jeanes and Gabriel Sobrinho)
|
2010-10-25 13:48:32 -04:00
|
|
|
* Workaround for superclass mismatches for the ActiveRecord-jdbc-adapter (Toms Mikoss)
|
2010-05-02 14:40:30 -04:00
|
|
|
|
2010-04-16 00:28:01 -04:00
|
|
|
== 0.5.2
|
|
|
|
|
|
|
|
=== Bugfixes
|
|
|
|
* Removes extraneous puts call from configuration.rb. (Ben Mabey)
|
|
|
|
|
2010-04-13 11:58:23 -04:00
|
|
|
== 0.5.1 - The Mongoid Release
|
|
|
|
|
|
|
|
This release also attempts to fix AR for Rails 3 support. I have seen mixed reviews on this. Some people
|
|
|
|
claim the fixes allow for use in Rails3 while others have not had good luck with it. I plan on reworking
|
|
|
|
the way AR support is added so that it is more friendly with how Rails 3 uses autoload.
|
|
|
|
|
2010-02-26 17:21:40 -05:00
|
|
|
=== New features
|
2010-03-21 13:30:17 -04:00
|
|
|
* Clean and clean_with methods are now aliased to clean! and clean_with!. (Ben Mabey)
|
2010-04-13 11:58:23 -04:00
|
|
|
* Mongoid Support! (Sidney Burks)
|
2010-02-26 17:21:40 -05:00
|
|
|
|
2010-03-21 13:15:46 -04:00
|
|
|
=== Bugfixes
|
2010-03-21 13:30:17 -04:00
|
|
|
* Check PostgreSQL version >= 8.2 before using TRUNCATE CASCADE (James B. Byrne)
|
|
|
|
* Correct superclass is used in ActiveRecord connection adapters. (johnathan, Aslak Hellesoy, Ben Mabey)
|
2010-03-21 13:15:46 -04:00
|
|
|
|
2010-02-22 14:32:45 -05:00
|
|
|
== 0.5.0 2010-02-22 - The CouchPotato Release
|
2009-12-23 20:21:15 -05:00
|
|
|
|
2010-02-17 23:44:57 -05:00
|
|
|
=== New features
|
|
|
|
* Basic truncation support for CouchPotato / CouchDB. (Martin Rehfeld)
|
|
|
|
* SQLite3 on JRuby will fall back to delete if truncate doesn't work. (Darrin Holst)
|
|
|
|
* JDBC is used for ActiveRecord automaticaly when JRuby is detected. (Darrin Holst)
|
|
|
|
|
2010-02-22 13:48:33 -05:00
|
|
|
=== Bufixes
|
|
|
|
* MongoMapper truncation strategy now works with :only and :except options. (Ben Mabey)
|
|
|
|
|
2010-01-17 14:57:15 -05:00
|
|
|
== 0.4.3 2010-01-17
|
|
|
|
|
|
|
|
=== New features
|
2010-02-17 23:44:57 -05:00
|
|
|
* Truncation for ActiveRecord oracle_enhanced adapter. (Edgars Beigarts)
|
2010-01-17 14:57:15 -05:00
|
|
|
|
2010-01-12 11:53:09 -05:00
|
|
|
== 0.4.2 2010-01-12
|
|
|
|
|
|
|
|
=== Bufixes
|
|
|
|
* Datamapper truncation now uses 'select' instead of deprecated the 'query' method. (Steve Tooke)
|
|
|
|
|
2010-01-07 11:48:49 -05:00
|
|
|
== 0.4.1 2010-01-07
|
|
|
|
|
|
|
|
=== Bufixes
|
|
|
|
* Postgres tables with FKs now truncate (added TRUNCADE CASCADE) using Datamapper. (Ben Mabey)
|
|
|
|
|
2009-12-23 20:21:15 -05:00
|
|
|
== 0.4.0 2009-12-23 (The MongoMapper Edition)
|
|
|
|
|
|
|
|
=== New features
|
|
|
|
* MongoMapper support for the truncation strategy. (Aubrey Holland)
|
2009-12-21 00:19:25 -05:00
|
|
|
|
|
|
|
== 0.3.0 2009-12-20
|
|
|
|
|
|
|
|
=== New features
|
|
|
|
* DataMapper 0.10.0 Compatible. (Martin Gamsjaeger)
|
|
|
|
=== Bufixes
|
|
|
|
* Postgres tables with FKs now truncate (added TRUNCADE CASCADE). (Vika - yozhyk on github)
|
2009-03-05 10:13:12 -05:00
|
|
|
|
2009-05-30 00:00:59 -04:00
|
|
|
== 0.2.3 2009-05-30
|
|
|
|
|
|
|
|
=== New features
|
2009-08-04 10:14:19 -04:00
|
|
|
* Support for SQL Server truncation (Adam Meehan)
|
2009-05-30 00:00:59 -04:00
|
|
|
|
2009-05-08 23:52:37 -04:00
|
|
|
== 0.2.2 2009-05-08
|
2009-04-30 23:30:47 -04:00
|
|
|
=== Bufixes
|
2009-05-08 23:52:37 -04:00
|
|
|
* Added proper gemspec description and summary. (Ben Mabey, thanks to Martin Gamsjaeger)
|
|
|
|
|
2009-05-08 21:58:47 -04:00
|
|
|
=== New features
|
|
|
|
|
|
|
|
== 0.2.1 2009-05-08
|
|
|
|
=== Bufixes
|
|
|
|
* Removed extraneous TruncationBase class definition. (Ben Mabey)
|
2009-04-30 23:30:47 -04:00
|
|
|
|
2009-05-08 20:44:21 -04:00
|
|
|
== 0.2.0 2009-05-08 - The Datamapper Release
|
|
|
|
|
|
|
|
=== New features
|
|
|
|
* DataMapper strategies (Martin Gamsjaeger)
|
|
|
|
* Transaction
|
|
|
|
* Truncation - working SQLite3, MySQL adapters. Experimental Postgres adapter (not tested).
|
|
|
|
|
|
|
|
== 0.1.3 2009-04-30
|
2009-04-30 23:30:47 -04:00
|
|
|
|
2009-12-21 00:19:25 -05:00
|
|
|
=== New features
|
2009-03-11 20:16:07 -04:00
|
|
|
* PostgresSQLAdapter for AR to support the truncation strategy. (Alberto Perdomo)
|
2009-03-05 10:13:12 -05:00
|
|
|
=== Bufixes
|
2009-04-30 23:30:47 -04:00
|
|
|
* Added missing quotes around table names in truncation calls. (Michael MacDonald)
|
2009-03-05 10:13:12 -05:00
|
|
|
|
|
|
|
== 0.1.2 2009-03-05
|
|
|
|
=== New features
|
|
|
|
* JDBC Adapter to enable AR truncation strategy to work. (Kamal Fariz Mahyuddin)
|
|
|
|
|
2009-05-08 20:44:21 -04:00
|
|
|
== 0.1.1 2009-03-04 - Initial Release (Ben Mabey)
|
2009-03-05 10:13:12 -05:00
|
|
|
* Basic infrastructure
|
|
|
|
* Features, RSpec code examples
|
|
|
|
* ActiveRecord strategies
|
|
|
|
* Truncation - with MySQL, and SQLite3 adapters.
|
|
|
|
* Transaction - wrap your modifications and roll them back.
|