Skip to content

v5.3.0

Compare
Choose a tag to compare
@pat pat released this 19 Aug 06:29
· 81 commits to develop since this release
b8560be

Upgrading

No breaking or major changes.

Changes to behaviour

  • StaleIdsExceptions now include a URL in their error message with recommendations on how to resolve the problem.
  • Fire real-time callbacks on after_commit (including deletions) instead of after_save/after_destroy to ensure data is fully persisted to the database before updating Sphinx. More details in #1204.

Fixes

  • Ensure Thinking Sphinx's ActiveRecord components are loaded by either Rails' after_initialise hook or ActiveSupport's on_load notification, because the order of these two events are not consistent.
  • Remove app/indices from eager_load_paths in Rails 4.2 and 5, to match the behaviour in 6.

Both of these fixes are evolutions/improvements to changes introduced in v5.2.0/5.2.1.