Skip to content

Commit

Permalink
Merge branch 'release/v5.3.0' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
pat committed Aug 19, 2021
2 parents c90a10a + cbc2fb0 commit 479a980
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions README.textile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -14,7 +14,7 @@ It's a gem, so install it like you would any other gem. You will also need to sp

<pre><code>gem 'mysql2', '~> 0.4', :platform => :ruby
gem 'jdbc-mysql', '~> 5.1.35', :platform => :jruby
gem 'thinking-sphinx', '~> 5.2'</code></pre>
gem 'thinking-sphinx', '~> 5.3'</code></pre>

The MySQL gems mentioned are required for connecting to Sphinx, so please include it even when you're using PostgreSQL for your database.

Expand Down
2 changes: 1 addition & 1 deletion thinking-sphinx.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ["[email protected]"]
Expand Down

0 comments on commit 479a980

Please sign in to comment.