Thinking Sphinx v4.2.0 Release Notes
Release Date: 2019-03-09 // about 5 years ago-
โฌ๏ธ Upgrading
No breaking or major changes.
๐ New features
- Allow changing the default encoding for MySQL database connections from
utf8
to something else via themysql_encoding
setting inconfig/thinking_sphinx.yml
. In the next significant release, the default will change toutf8mb4
(which is supported in MySQL 5.5.3 and newer). - โ Added Rails 6.0 and Manticore 2.8 to the test matrix.
๐ Changes to behaviour
- โ Use Arel's SQL literals for generated order clauses, to avoid warnings from Rails 6.
๐ Bug fixes
- ๐ Fix usage of alternative primary keys in update and deletion callbacks and attribute access.
- Ensure
respond_to?
takes Sphinx scopes into account (Jonathan del Strother in #1124). - โ Add
:excerpts
as a known option for search requests. - ๐ Fix depolymorphed association join construction with Rails 6.0.0.beta2.
- ๐ง Reset ThinkingSphinx::Configuration's cached values when Rails reloads, to avoid holding onto stale references to ActiveRecord models (#1125).
- Don't join against associations in
sql_query
if they're only used by query-sourced properties (Hans de Graaff in #1127).
- Allow changing the default encoding for MySQL database connections from