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 the mysql_encoding setting in config/thinking_sphinx.yml. In the next significant release, the default will change to utf8mb4 (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).