v5.2.0
Upgrading
No breaking or major changes.
New features
- Confirmed support for Ruby 3.0.
- Orphaned records in real-time indices can now be cleaned up without running
rails ts:rebuild
. Disabled by default, can be enabled by settingreal_time_tidy
to true per environment inconfig/thinking_sphinx.yml
(and will needts:rebuild
to restructure indices upon initial deploy). More details in #1192.
Bug fixes
- Avoid loading ActiveRecord during Rails initialisation so app configuration can still have an impact (@jdelStrother in #1194).
- Remove
app/indices
(in both the Rails app and engines) from Rails' eager load paths, which was otherwise leading to indices being loaded more than once. (See #1191 and #1195).