Skip to content
This repository was archived by the owner on Nov 25, 2021. It is now read-only.

Update solarium/solarium requirement from ^5.1 to ^5.1 || ^6.0#1

Open
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/composer/solarium/solarium-tw-5.1or-tw-6.0
Open

Update solarium/solarium requirement from ^5.1 to ^5.1 || ^6.0#1
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/composer/solarium/solarium-tw-5.1or-tw-6.0

Conversation

@dependabot-preview
Copy link

Updates the requirements on solarium/solarium to permit the latest version.

Release notes

Sourced from solarium/solarium's releases.

6.0.0

Changes since 5.2.0

Added

  • \Solarium\Component\Result\Facet\Buckets::getNumBuckets()
  • \Solarium\Support\Utility::getXmlEncoding()
  • Raw XML commands to update query
  • Raw XML from file in update query
  • Set input encoding for select and update queries
  • Create and configure Managed Resources

Changed

  • Thrown exceptions always implement Solarium\Exception\ExceptionInterface
  • PostBigRequest plugin now acts on PRE_EXECUTE_REQUEST event instead of POST_CREATE_REQUEST
  • CustomizeRequest plugin now acts on POST_CREATE_REQUEST event instead of PRE_EXECUTE_REQUEST
  • More strict types and type hinting
  • AdapterInterface does not extend ConfigurableInterface anymore
  • Http Adapter does not implement ConfigurableInterface anymore
  • Psr18Adapter does not implement ConfigurableInterface anymore
  • Solarium Client now accepts any PSR-15 compatible event dispatcher (previously it had to be symfony's event dispatcher)

Fixed

  • MoreLikeThis result parsing fails on Solr Cloud
  • MinimumScoreFilter plugin might fail on Solr 7 in cloud mode

Removed

  • PHP 7.1 support
  • Zend2HttpAdapter
  • GuzzleAdapter
  • Guzzle3Adapter
  • Endpoint::setTimeout and Endpoint::getTimeout
  • Passing local parameter options (e.g. key, tag, exclude) without the local_ prefix
  • Support for Solr versions before 7.7

Pitfall when upgrading from 3.x or 4.x or 5.x

Setting "timeout" as "option" in the HTTP Client Adapter is deprecated since Solarium 5.2.0 because not all adapters could handle it. The adapters which can handle it now implement the TimeoutAwareInterface and you need to set the timeout using the setTimeout() function after creating the adapter instance.

In order to fix some issues with complex queries using local parameters solarium 6 destinguishs between query parameters and local parameters to be embedded in a query. Solarium 5.2 already informed you about the deprecation of some parameter names which are in fact local parameters. Solarium doen't convert them magically anymore. Local parameter names now have to be prefixed with local_ if set as option of a constructor.

Solarium 5:

$categoriesTerms = new Solarium\Component\Facet\JsonTerms(['key' => 'categories', 'field' => 'cat', 'limit'=>4,'numBuckets'=>true]);
Changelog

Sourced from solarium/solarium's changelog.

[6.0.0]

Added

  • \Solarium\Component\Result\Facet\Buckets::getNumBuckets()

Changed

  • Thrown exceptions always implement Solarium\Exception\ExceptionInterface

[6.0.0-rc.1]

Added

  • \Solarium\Support\Utility::getXmlEncoding()

Fixed

  • MoreLikeThis result parsing fails on Solr Cloud
  • MinimumScoreFilter plugin might fail on Solr 7 in cloud mode

[6.0.0-beta.1]

Changed

  • PostBigRequest plugin now acts on PRE_EXECUTE_REQUEST event instead of POST_CREATE_REQUEST
  • CustomizeRequest plugin now acts on POST_CREATE_REQUEST event instead of PRE_EXECUTE_REQUEST

Removed

  • PHP 7.1 support

[6.0.0-alpha.1]

Added

  • Raw XML commands to update query
  • Raw XML from file in update query
  • Set input encoding for select and update queries
  • Create and configure Managed Resources

Changed

  • More strict types and type hinting
  • AdapterInterface does not extend ConfigurableInterface anymore
  • Http Adapter does not implement ConfigurableInterface anymore
  • Psr18Adapter does not implement ConfigurableInterface anymore
  • Solarium Client now accepts any PSR-15 compatible event dispatcher (previously it had to be symfony's event dispatcher)

Removed

  • Zend2HttpAdapter
  • GuzzleAdapter
  • Guzzle3Adapter
  • Endpoint::setTimeout and Endpoint::getTimeout
  • Passing local parameter options (e.g. key, tag, exclude) without the local_ prefix
  • Support for Solr versions before 7.7

[5.2.0]

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Updates the requirements on [solarium/solarium](https://github.com/solariumphp/solarium) to permit the latest version.
- [Release notes](https://github.com/solariumphp/solarium/releases)
- [Changelog](https://github.com/solariumphp/solarium/blob/master/CHANGELOG.md)
- [Commits](solariumphp/solarium@5.1.0...6.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jun 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants