Skip to content

Releases: algolia/algoliasearch-rails

v2.3.2

19 Mar 13:49
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.3.1...2.3.2

v2.3.1

05 Dec 09:45
Compare
Choose a tag to compare

What's Changed

  • Allow configuring user agent / other default options by @bagedevimo in #438
  • Allow configuration ActiveJob queue for auto_index by @bagedevimo in #439

New Contributors

Full Changelog: 2.3.0...2.3.1

v2.3.0

12 Sep 06:53
Compare
Choose a tag to compare

What's Changed

  • fix: don't consider objectID changed if using custom attribute by @DevinCodes in #436

Full Changelog: 2.2.2...2.3.0

v2.2.2

14 Jun 11:22
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.2.1...2.2.2

v2.2.1

14 Jun 11:22
Compare
Choose a tag to compare

What's Changed

  • fix:settings changes detection issue with empty array by @kiyohara in #424
  • fix: settings changes detection issue for replica indexes with inherit opt by @kiyohara in #426
  • fix: make sync opt to be selectable for auto setting update logic by @kiyohara in #425
  • Add relevancyStrictness to IndexSettings by @matteodepalo in #427

New Contributors

Full Changelog: 2.2.0...2.2.1

v2.2.0

14 Mar 15:36
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.1.4...2.2.0

2.0.0

17 May 06:44
Compare
Choose a tag to compare

Breaking changes

  • Adds support for algolia gem.
  • Drops support for Ruby < 2.4
  • Drops support for Rails < 5.1

1.25.0

24 Nov 10:54
Compare
Choose a tag to compare

Added

  • Pass array argument to geoloc (#372)
  • Containerize the repo (#391)

Fixed

  • Use Zeitwerk for loading models in Rails 6 (#364)

1.23.0

25 Jun 23:21
Compare
Choose a tag to compare

Added

  • Introduce rake algoliasearch:set_all_settings command - PR #315

    This command will push settings for all models to all indices: primary index,
    replicas and additional indices. It follows the inherit: true option.
    It should typically be added to your deployment script

  • Add option to disable automatic settings - PR #315

    By default, this gem check your settings to see when to push them. Depending on
    your implementation, it might create a lot of API calls. If you wish to disable
    the automatic change detection for settings, use the check_settings option:

    class Musician < ActiveRecord::Base
      include AlgoliaSearch
    
      algoliasearch check_settings: false do
        # Settings...
      end
    end

Fixed

  • Handle attribute_changed? in transactions - PR #354

1.22.0

21 Mar 09:02
Compare
Choose a tag to compare

🚨 The documentation for our Rails integration was refreshed 🎉
It will be published very soon here: https://www.algolia.com/doc/framework-integration/rails/getting-started/setup/
Preview is available here: https://deploy-preview-2711--algolia-doc.netlify.com/doc/framework-integration/rails/getting-started/setup/

Added

  • Introduce algolia_dirty? on models to decide if a model should be reindex.

    This feature already exists via _changed? methods but might requires to implements many
    methods if you have multiple dynamic attributes. Dynamic attributes are attributes not mapping
    to a DB column. This feature allows you to group avoid all the _changed? method calls and
    group all the logic inside one unique method.

Fixed