- Add support for Rails 8.0.
- Fix issue 157 which caused an
ArgumentError
when invokingActiveRecord::Associations::Association#find_target
in Rails edge. Thanks kyrofa
- Add support for Rails 7.2.
- Fix issue 140 - Defer referencing ActiveRecord classes until
it's been initialized to ensure the
Rails.application.config.filter_parameters
setting is applied properly. Thanks GuillouuH
- Auto include associations when the through association has already been loaded. See 138 for details. Thanks @Flixt
- Add support for custom preloads to automatically eager loading non-Active Record association data. See 129 for details. Thanks @apauly
- Drop support for Ruby < 3.0 and Rails < 6.1.
- Add support for Rails 7.0 and Ruby 3.1.
- Fix issue 88 which resulted in a stack overflow when
navigating from an
ActiveStorage::Attachment
to its associatedActiveStorage::Blob
.
- Fix an issue where changes to
Goldiloader.globally_enabled
wouldn't propagate to threads that had already invokedGoldiloader.enabled
orGoldiloader.disabled
. Thanks @bdurand
- Add support for selectively enabling/disabling Goldiloader for sections of code. See 106 for details. Thanks @fsateler
- Fix issue 105 - Handle polymorphic associations with scopes.
- Fix Rails Edge for changes in
ActiveRecord::Associations::Preloader
API. - Add support for Ruby 3.0.
- Drop support for Rails < 5.2.
- Drop support for Ruby < 2.6.
- Rails 6.1 support.
- Fix to support Rails 6.0 beta 3.
- Initial support for Rails 6.0.
- Optimize association eager loadable checks by caching information on the association's reflection.
- Optimize association eager loading if we're only eager loading associations for a single model.
- Fix destroyed model eager loading which accidentally broke in #74.
- Enable eager loading of associations on destroyed models in all versions of Rails except 5.2.0 since Rails issue 32375 has been fixed.
- Optimize checks to see if an association is eager loadable.
- Drop support for Ruby <= 2.2.
- Use frozen string literals.
- Fix issue 61 - don't eager load has_one associations with an order. Thanks @sobrinho
- Enable eager loading of associations with a
from
orgroup
in Rails 5.0.x >= 5.0.7 and Rails >= 5.1.5 because the underlying Rails bug has been fixed.
- Rails 5.2 support.
- No code changes. Fix bad deploy.
- Add
auto_include
query scope method. - Remove
auto_include
association option in favor of using theauto_include
query scope method. - Add Rails 5.1 support.
- Drop Rails 3.2, 4.0 and 4.1 and Ruby 1.9 and 2.0 support.
- Change ActiveRecord monkey patching to use
Module#prepend
instead ofalias_method_chain
.
- Version bump only release
- Fix issue 42 - inverse_of now work properly in Rails 5.x.
- Fix issue 34 - HABTM associations now honor the auto_include option.
- Fix issue 39 -
CollectionProxy#exists?
should return false for a new model's association with no values.
- Fix issue 13 - Eager load associations with unscope in Rails 4.1.9+ now that the underlying Rails bug has been fixed.
- Fix issue 11 - Eager load associations with joins in Rails 4.2+ now that the underlying Rails bug has been fixed.
- Initial support for Rails 5. There are no known issues but see issue 27 for remaining tasks.
- MRI 2.3.0 support.
- JRuby 9000 support.
- Merge pull request - Optimization: Cache compatibility checks. Thanks Jonathan Calvert!
- Fix issue 23 - Handle polymorphic belongs_to associations in Rails 4 that have a mix of non-nil and nil values.
- Fix issue 20 by not auto-eager loading associations that are instance dependent. Eager loading these associations produces potentially incorrect results and leads to a deprecation warning in Rails 4.2.
- Fix issue 21 - Handle explicit eager loads of singular associations that are nil.
- Rails 4.2 support.
- Workaround issue 16 by not auto-eager loading has_and_belongs_to_many associations with a uniq in Rails 3.2 since Rails doesn't eager load them properly.
- Fix issue 17 - models eager loaded via an explicit call to eager_load now auto eager load nested models.
- Fix ActiveRecord and ActiveSupport dependencies to work with versions greater than 4.1.0. Thanks for the pull requests Alexey Volodkin and Philip Claren.
- Workaround issue 13 by not auto-eager loading associations
that use
unscope
. This workaround will be removed when the underlying bug 11036 in the Rails eager loader is fixed. - Workaround issue 11 by not auto-eager loading associations
that use
joins
. This workaround will be removed when the underlying bug 11518 in the Rails eager loader is fixed. - Fix issue 15 - Don't auto eager load associations with finder_sql in Rails 4.0. Previously this was only done for Rails 3.2.
- Fix issue 3 -
exists?
method should take an argument. Thanks for reporting Bert Goethals - Fix issue 4 - Associations couldn't be loaded in after destroy callbacks. Thanks for reporting Bert Goethals
- Fix issue 6 - Models in read only associations weren't being marked as read only
- Fix issue 7 - Don't attempt to eager load associations that aren't eager loadable e.g. if they have a limit
- Fix issue 8 - Handle eager loading associations whose accessor methods have been overridden.