Changelog History
Page 3
-
v1.5.0 Changes
September 02, 2015=== ๐ New Features/Changes
- Use ensure within the cleaning method. (@cema-sp)
- Restored mysql2 + jruby support. (@ahorek)
- Added required ruby version to gemspec. (@garethrees)
- Added support for Mongoid 5.0 and Mongo Ruby Driver 2.0. (@jprincipe)
- Added support for additional Neo4j::Session.open options. (@brienw)
- And a bunch of code style and README improvements
=== ๐ Bug Fixes
- Fixed truncation for MongoDB 3. (@andreale)
- Fixed YAML error when building gem. (@joshnesbitt)
- Fixed deletion strategy for JDBC MySQL. (@DanElbert)
- Fixed open transactions for multiple connections. (@claptimes5)
-
v1.4.1 Changes
March 09, 2015- Support for deletion with Sequel. (@cyberdelia)
- Use ActiveRecord::Base configuration when different from config file. (@wendy0402)
- Removed dependency of Mongo. (@codegourmet)
- Fixed issue with tables schema prefix in Postgres. (@phoenixek12)
- Use ruby 1.8 syntax. (@daniel-g)
- Added license to gemspec. (@chrismar035)
- Improved coverage for migrations table. (@jonallured)
-
v1.4.0 Changes
December 17, 2014=== ๐ New Features/Changes
- Support for Neo4j. (@dpisarewski)
- Support for multiple connections on Mongoid. (@nyarly)
=== ๐ Better Performance
- Using the deletion strategy with Mysql now only deletes those tables which have had records added to them. (@MadRabbit)
- Add support for pre_count on Sequel with Mysql. (@vrinek)
- Cache collection names in mongo's truncation strategy. (@nyarly)
=== ๐ Bug Fixes
- Fix undefined method error with DataMapper SQLite adaptor. (@lanej)
- Fully define Mysql2 adaptor constant. (@jgonera)
- Don't truncate schema tables in Postgres. (@billywatson)
- Fix issue where Moped cleaner was missing collections with 'system' in their name. (@MartinNowak)
-
v1.3.0 Changes
May 23, 2014=== ๐ New Features/Changes
- Introduced
DatabaseCleaner::cleaning
method that takes a block. (@ethco) - Improved Sequel support and added more tests (@ethco, @rhunter)
=== ๐ Bug Fixes
- Fixed an issue with the
Transaction
strategy and Active Record where application-level transactions are not rolledback correctly. (Godfrey Chan) - activerecord-oracle_enhanced-adapter now works again (#259, @sockmonk)
- Introduced
-
v1.2.0 Changes
October 09, 2013A huge thanks goes to @tommeier for fixing the bug with class loading that was cuasing the wrong adapters to be used in certain cases.
=== ๐ New Features/Changes
- Upgraded RSpec to remove deprecation warnings (John Rowe)
- Caching of tables to truncate is now optional (@marcoow)
=== ๐ Bug Fixes
- Use class_eval loading of superclasses to ensure right version of class is patched. (Tom Meier, Joel Nimety, Ernesto Tagwerker)
- Add truncate_tables method to SQLiteAdapter. (Chris Mo)
- Fixes missing #uses_sequence invokation in adapter classes for sqlite and sqlite3 (Lefteris Laskaridis)
-
v1.1.1 Changes
August 01, 2013=== ๐ Bug Fixes
- Fixes typo in Postgres superclass (POSTGRE_ADAPTER_PARENT > POSTGRES_ADAPTER_PARENT) (Joel Nimety)
-
v1.1.0 Changes
August 01, 2013=== ๐ New Features/Changes
- schema_migrations table name is now retrieved from ActiveRecord (Kyle Stevens)
- Autoloading logic is now exposed, see PR #212 for details (Jeff Felchner)
=== ๐ Bug Fixes
- Deletion strategy works again on MySQL, had to roll back multiple statements patch.
- Fix MySqlAdapter superclass bug via class_eval loading of superclasses (Tom Meier)
- Sequel strategy fix dealing with symbol/string mismatch on table names. (Fred Wu)
-
v1.0.1 Changes
May 13, 2013- Patch release to fix broken gemspec file. Sorry folks!
-
v1.0.0 Changes
May 13, 2013=== ๐ New Features/Changes
- Dropping support for Ruby 1.8.x; Only 1.9.x and beyond will be supported going forward.
- Now supporting and testing against ruby 2.0.x.
- Adds support for AR 4.0 by using
begin_transaction
(David Chelimsky and Steve Madsen) - Adds Rails 4 support for SQLite3Adapter
- Suppport for Moped when used without Mongoid (Cyprian Kowalczyk)
Redis & Ohm support (Hengbin Qiu, James Conroy-Finn)
CI Improvements (Jan Vlnas, Murahashi Sanemat Kenichi, Samer Masry, Jordan Hollinger)
README/Documentation improvements (Marcelo Cajueiro, Donald Ball, TJ Chambers, Nick Huanca, Justin Edwards, Ryota Arai)
=== ๐ Bug Fixes
- Fixes transaction errors when using
after_commit
hooks in AR. - Fixes truncation error with SQLite (Daniel White)
- Fixes
pre_count
logic in AR Postgres. (Jordan Hollinger) - Sequel fix to normalize all table names to strings. (Lauri Peltola)
- #clean_with now works with multiple connections. (John Ferlito)
- Always start a AR transaction to prevent nil errors in AR when rolling back (John Hampton, M.Shibuya)
-
v0.9.1 Changes
October 11, 2012๐ (0.9.0 was released first but was yanked due to bad gemspec)
=== ๐ New Features
- New options for AR :truncation for speed. See README for details. (Stanislaw Pankevich)
- view caching works with the schema_plus gem loaded
- ActiveRecord::ConnectionAdapters::AbstractAdapter#views was renamed to an internal name
- ActiveRecord truncation strategy caches the list of tables #130 (Petteri Rรคty)
- Caches AR DB connections which speeds up cleaning with multiple DBs and allows for transation strategy.
- MongoDB :truncation strategy (wihtout use of additional library like Mogoid). #138 (Christopher Darrell & Richard Luther/@sidereel)
- Add Sequel support for multiple migration storage names in #148 (Jack Chu)
- Multiple database support for Mongoid 3 #149 (Luke Francl)
=== ๐ Bug Fixes
- :deletion for AR Postgres in JRuby now works #140 (Heiko Seebach)
- Rescue LoadError when AR adapters not available. #145 (Garrow Bedrossian)
- Fixes DatabaseCleaner::[] to cache cleaners.