From 5bf226d106ac2a19f44945a05d6d6cda0674cec4 Mon Sep 17 00:00:00 2001 From: Jordan Owens Date: Thu, 15 Oct 2020 11:15:15 -0400 Subject: [PATCH 1/2] Update changelog for v1.0.7 --- CHANGELOG.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a5640943..06da22e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## Changes in 1.0.7 + +* Use @@max_allowed_packet session variable instead of querying SHOW VARIABLES. Thanks to @diclophis via \#706. +* Add option :track_validation_failures. When this is set to true, failed_instances will be an array of arrays, with each inner array having the form [:index_in_dataset, :object_with_errors]. Thanks to @rorymckinley via \#684. + +### Fixes + +* Prevent mass-assignment errors in Rails strict mode. Thanks to @diclophis via \##709. + ## Changes in 1.0.6 ### Fixes @@ -283,7 +292,7 @@ Thanks to @jkowens via \#301. * Allow for custom timestamp columns. Thanks to @mojidabckuu, @jkowens via \#401. - + ### Fixes * Fix ActiveRecord 5 issue coercing boolean values when serializing @@ -295,7 +304,7 @@ * Fix issue where PostgreSQL cannot recognize columns if names include mixed case characters. Thanks to @hugobgranja via \#379. -* Fix an issue for ActiveRecord 5 where serialized fields with +* Fix an issue for ActiveRecord 5 where serialized fields with default values were not being typecast. Thanks to @whistlerbrk, @jkowens via \#386. * Add option :force_single_insert for MySQL to make sure a single From cc4dde8b0e16efa50c8c228bcdde319158ef0ce3 Mon Sep 17 00:00:00 2001 From: Jordan Owens Date: Thu, 15 Oct 2020 11:16:04 -0400 Subject: [PATCH 2/2] Bump version to 1.0.7 --- lib/activerecord-import/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/activerecord-import/version.rb b/lib/activerecord-import/version.rb index 31163ba2..a6495b7f 100644 --- a/lib/activerecord-import/version.rb +++ b/lib/activerecord-import/version.rb @@ -1,5 +1,5 @@ module ActiveRecord module Import - VERSION = "1.0.6".freeze + VERSION = "1.0.7".freeze end end