alphagov / search-api

Search API for GOV.UK
https://docs.publishing.service.gov.uk/apps/search-api.html
MIT License
32 stars 9 forks source link

Bump elasticsearch from 6.8.3 to 7.17.11 #2926

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 4 months ago

Bumps elasticsearch from 6.8.3 to 7.17.11.

Release notes

Sourced from elasticsearch's releases.

v7.17.11

  • Ruby 3.3 added to the test matrix. Tested versions of Ruby for 7.17.11: Ruby (MRI) 3.0, 3.1, 3.2, 3.3, JRuby 9.3, JRuby 9.4.
  • Adds base64 dependency to elasticsearch-transport: base64 was added to the gemspec, since starting in Ruby 3.4.0, base64 will no longer be part of the default gems and will no longer be in the standard library, #2400

v7.17.10

Backports support for Faraday 2 from elastic-transport. ¡Gracias santiagorodriguez96!

This version of the gem now supports Faraday v2. If you don't have a locked version of Faraday in your project, when you upgrade your gems, Faraday v2 will be installed. The main change on dependencies when using Faraday v2 is all adapters, except for the default net_http one, have been moved out of Faraday into separate gems. This means if you're not using the default adapter and you migrate to Faraday v2, you'll need to add the adapter gems to your Gemfile.

These are the gems required for the different adapters with Faraday 2, instead of the libraries on which they were based:

# HTTPCLient
gem 'faraday-httpclient'

NetHTTPPersistent

gem 'faraday-net_http_persistent'

Patron

gem 'faraday-patron'

Typhoeus

gem 'faraday-typhoeus'

Things should work fine if you migrate to Faraday 2 as long as you include the adapter (unless you're using the default one net-http), but worst case scenario, you can always lock the version of Faraday in your project to 1.x: gem 'faraday', '~> 1'

Be aware if migrating to Faraday v2 that it requires at least Ruby 2.6, unlike Faraday v1 which requires 2.4.

Troubleshooting

If you see a message like: :adapter is not registered on Faraday::Adapter (Faraday::Error) Then you probably need to include the adapter library in your gemfile and require it.

Please submit an issue if you encounter any problems.

v7.17.9

  • Backports fix from elastic-transport: #66 - Manticore transport unable to send custom headers with perform_request Pull Request.

v7.17.8

  • Patch releases back to being detached from Elastic stack releases.
  • Tested compatibility with Elasticsearch v7.17 APIs.
  • Tested versions of Ruby for 7.17.8: Ruby (MRI) 2.7, 3.0, 3.1, 3.2, JRuby 9.3, JRuby 9.4.
  • Bugfix in elasticsearch-transport: Fixes enforcing UTF-8 in Response body, causing an error when the string is frozen, particularly when using webmock: [issue #63](elastic/elastic-transport-ruby#63).

7.17.7

  • Compatibility with Elasticsearch v7.17.7 APIs.

... (truncated)

Commits
  • c38be0c [CI][DOCS] Adds GitHub Action for docs validation comment
  • 3576ac7 [DOCS] Updates Release notes
  • 269c9cf Bumps version to 7.17.11
  • d2f8604 [CI] Adds Ruby 3.3 to Buildkite build
  • 25ab13a Add base64 as a dependency for Ruby 3.4
  • 1507236 Add CI for Ruby 3.3
  • 8df818d [CI] Updates 8.x versions in stack test matrices to 8.14
  • e915ac3 [API] Test Runner: Updates wipe cluster for 8.x
  • f92cc45 [XPACK] Skips index data stream test
  • ad7b110 [CI] Updates 8.x versions in stack test matrices
  • Additional commits viewable in compare view


Most Recent Ignore Conditions Applied to This Pull Request | Dependency Name | Ignore Conditions | | --- | --- | | elasticsearch | [>= 8.a, < 9] |

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

davidgisbey commented 3 months ago

@dependabot rebase

kevindew commented 3 months ago

We can't update to this because it requires ElasticSearch 7.

@dependabot ignore this major version

dependabot[bot] commented 3 months ago

OK, I won't notify you about version 7.x.x again, unless you re-open this PR.