File rubygem-activerecord-import.changes of Package rubygem-activerecord-import
-------------------------------------------------------------------
Mon Feb 3 09:07:10 UTC 2025 - Dan Čermák <dan.cermak@posteo.net>
- ## Changes in 2.0.0
### Breaking Changes
* Fix `recursive_on_duplicate_key_update` doesn't work with non-standard
association name. Thanks to @jacob-carlborg-apoex via \#852. The documentation for the
`:recursive_on_duplicate_key_update` option specifies that the hash key is
the association name. But previously the name of associated table was used to
look up the options. Now the behavior matches the documentation and the name
of the association is used instead. This only affects associations that uses
a name that doesn't follow the ActiveRecord naming conventions of
associations and class names, i.e. when the `class_name:` option is used on
an association.
-------------------------------------------------------------------
Mon Nov 4 16:00:28 UTC 2024 - Dan Čermák <dan.cermak@posteo.net>
- ## Changes in 1.8.1
### Fixes
* Further update for ActiveRecord 7.2 compatibility when running validations. Thanks to @denisahearn via \##847.
## Changes in 1.8.0
### New Features
* Add support for ActiveRecord 7.2 via \##845.
-------------------------------------------------------------------
Fri Jun 21 09:15:31 UTC 2024 - Dan Čermák <dan.cermak@posteo.net>
- ## Changes in 1.7.0
### New Features
* Add support for ActiveRecord 7.1 composite primary keys. Thanks to @fragkakis via \##837.
* Add support for upserting associations when doing recursive imports. Thanks to @ramblex via \##778.
## Changes in 1.6.0
### New Features
* Add trilogy adapter support. Thanks to @zmariscal via \##825.
### Fixes
* Use the locking_enabled? method provided by activerecord to decide whether the lock field should be updated. Thanks to @dombesz via \##822.
-------------------------------------------------------------------
Mon Jan 29 13:29:41 UTC 2024 - Dan Čermák <dan.cermak@posteo.net>
- ## Changes in 1.5.1
### Fixes
* Stop memoizing schema_columns_hash so dynamic schema changes are picked up. Thanks to @koshigoe via \##812.
-------------------------------------------------------------------
Tue Nov 14 14:45:46 UTC 2023 - Dan Čermák <dan.cermak@posteo.net>
- New upstream release 1.5.0, see bundled CHANGELOG.md
-------------------------------------------------------------------
Mon Oct 10 12:54:29 UTC 2022 - Stephan Kulow <coolo@suse.com>
updated to version 1.4.1
see installed CHANGELOG.md
## Changes in 1.4.1
### Fixes
* Fix importing models that have required belongs_to associations and use composite primary keys. Thanks to @thoughtbot-summer vi \##783.
-------------------------------------------------------------------
Thu Apr 28 05:14:31 UTC 2022 - Stephan Kulow <coolo@suse.com>
updated to version 1.4.0
see installed CHANGELOG.md
## Changes in 1.4.0
### New Features
* Enable compatibility with frozen string literals. Thanks to @desheikh via \##760.
-------------------------------------------------------------------
Tue Jan 25 06:25:09 UTC 2022 - Stephan Kulow <coolo@suse.com>
updated to version 1.3.0
see installed CHANGELOG.md
## Changes in 1.3.0
### Fixes
* Ensure correct timestamp values are returned for models after insert. Thanks to @kos1kov via \##756.
* Restore database_version method to public scope. Thanks to @beauraF via \##753.
### New Features
* Add support for ActiveRecord 7.0. Thanks to @nickhammond, @ryanwood, @jkowens via \##749 and \##752.
* Add support for compound foreign keys. Thanks to @Uladzimiro via \##750.
* Add support for :recursive combined with on_duplicate_key_update: :all. Thanks to @deathwish via \##746.
-------------------------------------------------------------------
Mon Jul 26 05:44:02 UTC 2021 - Stephan Kulow <coolo@suse.com>
updated to version 1.2.0
see installed CHANGELOG.md
## Changes in 1.2.0
### Fixes
* Update JDBC MySQL adapter to use mysql2 connection adapter. Thanks to @terencechow via \##744.
* Fix importing STI models with ActiveRecord 6. Thanks to @clemens1483 via \##743.
* Use polymorphic_name instead of base_class.name for imports. Thanks to @kmhajjar via \##741.
* Fix compatibility issue with composite primary keys. Thanks to @dlanileonardo via \##737.
* Prevent double validation of associations on recursive import.
-------------------------------------------------------------------
Thu Jun 24 16:51:07 UTC 2021 - Stephan Kulow <coolo@suse.com>
updated to version 1.1.0
see installed CHANGELOG.md
## Changes in 1.1.0
### New Features
* Add batch progress reporting. Thanks to @gee-forr via \##729.
## Changes in 1.0.8
### Fixes
* Use correct method for clearing query cache. Thanks to @EtienneDepaulis via \##719.
-------------------------------------------------------------------
Fri Jan 22 04:56:04 UTC 2021 - Matthew Trescott <matthewtrescott@gmail.com>
Update to upstream 1.0.7:
- Use @@max_allowed_packet session variable instead of querying SHOW VARIABLES.
- 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].
- Prevent mass-assignment errors in Rails strict mode.
Changes in 1.0.6:
- Handle after_initialize callbacks.
- Fix regression introduced in 1.0.4. Explicity allow adapters to
support on duplicate key update.
-------------------------------------------------------------------
Wed Jul 22 00:25:59 UTC 2020 - Matthew Trescott <matthewtrescott@gmail.com>
- Update to upstream 1.0.5
-------------------------------------------------------------------
Tue May 12 16:32:37 UTC 2020 - Matthew Trescott <matthewtrescott@gmail.com>
Never mind, rpmlint doesn't like it. But delete dotfiles from installed package.
-------------------------------------------------------------------
Tue May 12 16:01:11 UTC 2020 - Matthew Trescott <matthewtrescott@gmail.com>
Make architecture noarch
-------------------------------------------------------------------
Sat May 9 20:43:46 UTC 2020 - Matthew Trescott <matthewtrescott@gmail.com>
First attempt