Recent Releases of https://github.com/elastic/elasticsearch-rails
https://github.com/elastic/elasticsearch-rails - v8.0.1
Bugfix release:
- elasticsearch-rails: Fixes #1082
rake elasticsearch:import:model - ArgumentError: unknown keyword: :type (ArgumentError). Thanks @beatjoerg Pull Request. - elasticsearch-model: Fixes
ArgumentErrorwhen callingdupon aggregations. Thanks @rafayqayyum Pull Request.
- Ruby
Published by picandocodigo 4 months ago
https://github.com/elastic/elasticsearch-rails - v8.0.0
First general availability release for 8.0.0. Major versions of 8.x will support Elasticsearch version 8.x changing the elasticsearch dependency's major version: gem 'elasticsearch', '~> 8'.
All references to type should have been removed. Document types were deprecated and do not exist in 8.x.
The dependency from elasticsearch on elasticsearch-transport was updated to elastic-transport. All 8.x Elasticsearch APIs supported by elasticsearch should now be supported on the Rails library. See Release notes for the Elasticsearch client 8.0 and the 8.x release notes for more information.
Compatibility
The gem is currently testing with Ruby 3.1, 3.2 and 3.3 and JRuby 9.4. Testing for Ruby 2.x versions has been dropped as they're no longer updated or supported. Currently testing with Rails 6.1, 7.0 and 7.1.
Changes since 8.0.0.pre
- Address Rails 7.1 deprecation warning in elasticsearch-rails PR
- Ensure subclasses are added to the registry PR
Development changes
- Using
debugfor debugging indevelopmentandtestingGemfile groups. - Minor general code cleanups and styling changes.
- Updated code for
elasticsearch8.x.
- Ruby
Published by picandocodigo over 1 year ago
https://github.com/elastic/elasticsearch-rails - v8.0.0.pre
General:
First pre-release for 8.0.0. Major versions of 8.x will support Elasticsearch version 8.x changing the elasticsearch dependency's major version: gem 'elasticsearch', '~> 8'.
All references to type should have been removed. Document types were deprecated and do not exist in 8.x.
The dependency from elasticsearch on elasticsearch-transport was updated to elastic-transport. All 8.x Elasticsearch APIs supported by elasticsearch should now be supported on the Rails library. See Release notes for the Elasticsearch client 8.0 and the 8.x release notes for more information.
Compatibility
The gem is currently testing with Ruby 3.1, 3.2 and 3.3 and JRuby 9.4. Testing for Ruby 2.x versions has been dropped as they're no longer updated or supported. Currently testing with Rails 6.1, 7.0 and 7.1.
Development changes
- Using
debugfor debugging indevelopmentandtestingGemfile groups. - Minor general code cleanups and styling changes.
- Updated code to for
elasticsearch8.x.
- Ruby
Published by picandocodigo over 1 year ago
https://github.com/elastic/elasticsearch-rails - 7.2.1
- The default git branch
masterhas been renamed tomain - Adds compatibility with Ruby 3 Pull Request
- Ruby
Published by picandocodigo almost 4 years ago
https://github.com/elastic/elasticsearch-rails - 7.2.0
- Updates specs and dependency to use with
elasticsearchv7.14.0. - Update README, remove Virtus (unmaintained)
- Updates
Bundler.with_clean_dev(deprecated) towith_unbundled_envcommit - Deal with
nildocument types in Multimodel commit - Update dependency to explicitly support version 7 commit
- Stop emitting FATAL log when checking existence of indices commit
- Remove unnecessary exception test on index checking commit
- Removes dependency on extensions commit
- Fixes basic template elasticsearch dependency commit
ActiveModel
- Fixes indexing to use right logger in client
- Updates ES client spec for client 7.14.0
- Updates transport references
- Ruby
Published by picandocodigo over 4 years ago
https://github.com/elastic/elasticsearch-rails - 7.1.2.pre
Pre release, backports bugfixes from master. Full CHANGELOG will be published on final release.
- Ruby
Published by picandocodigo almost 5 years ago
https://github.com/elastic/elasticsearch-rails - 7.1.1
- Fix: Ruby 2.7 deprecation warning on
find_in_batches - Updates README for generating app with template. Related: #938
ActiveModel
- Do not override existing methods (#936)
- Ruby
Published by picandocodigo over 5 years ago
https://github.com/elastic/elasticsearch-rails - 6.1.1
- Fix: Ruby 2.7 deprecation warning on
find_in_batches- backport fix from the7.xrelease. Fixes #951
- Ruby
Published by picandocodigo over 5 years ago
https://github.com/elastic/elasticsearch-rails - 7.1.0
- Tested with elasticsearch Ruby client version 7.6.0.
- Adds pipeline to bulk params (commit).
- Updates rake version.
- Ruby
Published by picandocodigo over 5 years ago
https://github.com/elastic/elasticsearch-rails - 7.1.0.pre
This is a pre-release, tested with elasticsearch Ruby client version 7.6.0.
Full Changelog details will be published with the final release.
- Ruby
Published by picandocodigo almost 6 years ago
https://github.com/elastic/elasticsearch-rails - 7.0.0
This version of the rails gems supports Elasticsearch 7.0 and Rails 6.
It has the following changes in addition to those in release 7.0.0.pre
- [MODEL] Fix naming with inheritance when using Proxy (#887)
- [MODEL] Refactor module/mixin organization for clarity (#893)
- [MODEL] Only add the document_type to the request if it's defined (#894)
- [MODEL] Remove support for Single Table Inheritance (STI)
- Test Rails 6
- Remove unnecessary
selfas a return value ofinitializemethod (#897
- Ruby
Published by estolfo over 6 years ago
https://github.com/elastic/elasticsearch-rails - 6.1.0
This minor release primarily added a deprecation warning if Single Table Inheritance is used.
It also contains the following changes:
- Update test tasks and travis (#840)
respond_to_missing?to silence Ruby 2.4 warnings (#838)- Only execute update if document attributes is not empty (#862)
- Update bundler dependencies in gemspec files (#899)
- Ensure that 6.x is in the Compatibility table
ActiveModel
- Fix import when preprocess returns empty collection (#720)
- Add test for not importing when ActiveRecord query is empty
- Validate that #first called on response records equals #[] with 0
- Port basic response tests to rspec (#833)
- Add newlines at the end of files that are missing it
- Port adapter tests to rspec (#834)
- Ensure that specified ActiveRecord order is not overwritten by Elasticsearch search results order (#835)
- Port remainder of Elasticsearch::Model unit tests to rspec (#836)
- Port all integration tests to rspec (#837)
- Avoid executing search twice; Reuse response in Response#raw_response (#850)
- Update example to account for deprecation of _suggest endpoint in favor of _search
- Use logger to log index not found message (#868)
- Add warning and documentation about STI support being deprecated (#898)
- Tweak STI deprecation description
Persistence
- Ensure that arguments are passed to super (#853)
- Index name option is handled by super, no need to pass options expicitly
Ruby on Rails
- Convert tests to rspec (#842)
- Fix seeds file to stop using outdated YAML method (#843)
- Fixed 03-expert.rb set tracer only in dev env (#621)
- Ruby
Published by estolfo over 6 years ago
https://github.com/elastic/elasticsearch-rails - 7.0.0.pre
This pre version supports Elasticsearch server version 7.0.0. It is not recommended for production use.
Please try it in your testing environments and open any issues in the GitHub repository.
7.0.0.pre
- Update test tasks and travis (#840)
respond_to_missing?to silence Ruby 2.4 warnings (#838)- Update README.md to link to migration blog post (#857)
- Add license headers, LICENSE and NOTICE files (#861)
- Only execute update if document attributes is not empty (#862)
- Remove bundler version requirement in gemspec files
- 7.0 support (#875)
- Update version to 7.0.0.pre
ActiveModel
- Fix import when preprocess returns empty collection (#720)
- Add test for not importing when ActiveRecord query is empty
- with 0
- Port basic response tests to rspec (#833)
- Add newlines at the end of files that are missing it
- Port adapter tests to rspec (#834)
- Ensure that specified ActiveRecord order is not overwritten by Elasticsearch search results order (#835)
- Port remainder of Elasticsearch::Model unit tests to rspec (#836)
- Port all integration tests to rspec (#837)
- Avoid executing search twice; Reuse response in Response#raw_response (#850)
- Update example to account for deprecation of _suggest endpoint in favor of _search
- Handle total hits as an object in search response
- Use logger to log index not found message (#868)
- Test against Rails 6.0.rc1
Persistence
- Ensure that arguments are passed to super (#853)
- Index name option is handled by super, no need to pass options expicitly
- Handle total hits as an object in search response
Ruby on Rails
- Convert tests to rspec (#842)
- Fix seeds file to stop using outdated YAML method (#843)
- Fixed 03-expert.rb set tracer only in dev env (#621)
- Ruby
Published by estolfo over 6 years ago
https://github.com/elastic/elasticsearch-rails - 6.0.0
This version has many smaller changes and two major changes: the deprecation of the ActiveRecord Persistence pattern and a refactor of the Repository pattern.
This version includes all the changes in 6.0.0.pre in addition to those listed below.
Breaking Changes
- You must include the
Elasticsearch::Persistence::Repository::DSLmixin if you'd like to define settings at the class-level for a Repository. - Settings on a Repository class and instances are immutable. For example, you cannot set a repository client with
repository.client = ..... This is true for the following settings:document_typeindex_nameklassclient
- The following methods can no longer be called on a Repository class. They must be called on instances.
create_index!delete_index!refresh_index!index_exists?
- Clients must be defined explicitly for repositories. The client setting on
Elasticsearch::Persistenceis removed. This setting was previously mutable and led to unexpected behavior for repositories.
Here is a full list of changes:
- Update to test against Elasticsearch 6.4
- Fix sort order on ActiveRecord >= 5. re issue #546 (#831)
ActiveModel
- Inherit from HashWrapper for disabling warnings
- Fix import method to pass index name on refresh (#692)
- Use default scope on ActiveRecord model when importing (#827)
- Support scope, query and preprocess importing options in Mongoid Adapter in 6.x (#829)
- Address performance of HashWrapper in Response objects (#825)
Persistence
- Address performance of HashWrapper in Response objects (#825)
- Minor refactor in Repository::Search
- Remove example music app that demonstrates the AR pattern
- Update Sinatra app
- Update README
- Change document type references to _doc
- Ruby
Published by estolfo over 7 years ago
https://github.com/elastic/elasticsearch-rails - 6.0.0.pre
This is a pre-release of version 6.0.0. Please try out the gem in your testing environment and report any issues in the GitHub project.
- Added the "Compatibility" chapter to the READMEs
- Updated the Bundler instructions and Github URLs in the READMEs
- Updated the version on the
masterbranch to6.0.0.alpha1 - Update versions to 6.0.0.beta
- minor: Fix spacing
- Update various gemspecs to conditionally depend on gems incompatible with JRuby (#810)
- Update versions
- Use local as source for gem dependencies when possible
- Only require 'oj' gem if not using JRuby
- Update versions to .pre
ActiveModel
- Added an example with a custom "pattern" analyzer
- Added a "trigram" custom analyzer to the example
- Fix README typo (s/situation/situations)
- Fix reference to @ids in example and README
- Add Callbacks to the example datamapper adapter
- Fix
Asynchronous Callbacksexample - Fixed a typo in the README
- Improved the custom analyzer example
- Removed left-overs from previous implementation in the "completion suggester" example
- Updated the
changesmethod name inIndexingtochanges_to_savefor compatibility with Rails 5.1 - Fixed the handling of changed attributes in
Indexingto work with older Rails versions - Update child-parent integration test to use single index type for ES 6.3 (#805)
- Use default doc type: _doc (#814)
- Avoid making an update when no attributes are changed (#762)
Persistence
- Updated the failing integration tests for Elasticsearch 5.x
- Updated the dependency for "elasticsearch" and "elasticsearch-model" to
5.x - Documentation for Model should include Model and not Repository
- Depend on version >= 6 of elasticsearch gems
- Undo last commit; depend on version 5 of elasticsearch gems
- Reduce repeated string instantiation (#813)
- Make default doc type '_doc' in preparation for deprecation of mapping types (#816)
- Remove Elasticsearch::Persistence::Model (ActiveRecord persistence pattern) (#812)
- Deprecate _all field in ES 6.x (#820)
- Remove development dependency on virtus, include explicitly in Gemfile for integration test
- Refactor Repository as mixin (#824)
- Add missing Repository::Response::Results spec
- Update README for Repository mixin refactor
- Minor typo in README
- Add #inspect method for Repository
- Update references to Elasticsearch::Client
Ruby on Rails
- Fixed typo in README
- Fix typo in rake import task
- Updated the templates for example Rails applications
- Add 'oj' back as a development dependency in gemspec
- Ruby
Published by estolfo over 7 years ago
https://github.com/elastic/elasticsearch-rails - Sample data from Discogs
Sample data with releases from the Dischord label scraped from Discogs.
- Ruby
Published by karmi almost 9 years ago
https://github.com/elastic/elasticsearch-rails - nyt_articles.v1
- Ruby
Published by karmi about 12 years ago