diff --git a/CHANGELOG.markdown b/CHANGELOG.markdown index 43494b8b..bc65dafc 100644 --- a/CHANGELOG.markdown +++ b/CHANGELOG.markdown @@ -2,6 +2,20 @@ All notable changes to this project (at least, from v3.0.0 onwards) are documented in this file. +## 5.3.0 - 2021-08-19 + +[Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v5.3.0) + +### Changed + +* 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) to ensure data is fully persisted to the database before updating Sphinx. More details in [#1204](https://github.com/pat/thinking-sphinx/pull/1204). + +### Fixed + +* 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. + ## 5.2.1 - 2021-08-09 [Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v5.2.1) diff --git a/README.textile b/README.textile index 3a855888..2ca7299a 100644 --- a/README.textile +++ b/README.textile @@ -1,6 +1,6 @@ h1. Thinking Sphinx -Thinking Sphinx is a library for connecting ActiveRecord to the Sphinx full-text search tool, and integrates closely with Rails (but also works with other Ruby web frameworks). The current release is v5.2.1. +Thinking Sphinx is a library for connecting ActiveRecord to the Sphinx full-text search tool, and integrates closely with Rails (but also works with other Ruby web frameworks). The current release is v5.3.0. h2. Upgrading @@ -14,7 +14,7 @@ It's a gem, so install it like you would any other gem. You will also need to sp
gem 'mysql2',          '~> 0.4',    :platform => :ruby
 gem 'jdbc-mysql',      '~> 5.1.35', :platform => :jruby
-gem 'thinking-sphinx', '~> 5.2'
+gem 'thinking-sphinx', '~> 5.3' The MySQL gems mentioned are required for connecting to Sphinx, so please include it even when you're using PostgreSQL for your database. diff --git a/thinking-sphinx.gemspec b/thinking-sphinx.gemspec index 5a10d80d..a99c3da1 100644 --- a/thinking-sphinx.gemspec +++ b/thinking-sphinx.gemspec @@ -5,7 +5,7 @@ $:.push File.expand_path('../lib', __FILE__) Gem::Specification.new do |s| s.name = 'thinking-sphinx' - s.version = '5.2.1' + s.version = '5.3.0' s.platform = Gem::Platform::RUBY s.authors = ["Pat Allan"] s.email = ["pat@freelancing-gods.com"]