v5.3.0
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 ofafter_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.