Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Do not merge] Bump ruflin/elastica from 5.3.5 to 6.1.1 #137

Closed

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Aug 22, 2019

Bumps ruflin/elastica from 5.3.5 to 6.1.1.

Release notes

Sourced from ruflin/elastica's releases.

Release 6.1.1

Added

  • Added BucketSelector aggregation #1554
  • Added DerivativeAggregation #1553
  • The preferred type name is _doc, so that index APIs have the same path as they will have in 7.0
  • Introduced new version of PHP-CS-Fixer and new Lint travis step. #1555

Improvements

  • Reduced memory footprint of response by not keeping the raw JSON data when JSON after JSON has been parsed. #1588

Release 6.1.0

Backward Compatibility Breaks

  • Made result sets adhere to \Iterator interface definition that they implement. Specifically, you need to call valid() on the result set before calling current(). When using foreach this is done by PHP automatically. When valid returns false, the return value of current is undefined instead of false. #1506
    • \Elastica\ResultSet::next returns void instead of \Elastica\Result|false
    • \Elastica\Bulk\ResponseSet::current returns \Elastica\Bulk\Response instead of \Elastica\Bulk\Response|false
    • \Elastica\Multi\ResultSet::current returns \Elastica\ResultSet instead of \Elastica\ResultSet|false

Added

  • Added a transport class for mocking a HTTP 403 error codes, useful for testing response failures in inheriting clients
  • Field param for Elastica\Query\FunctionScore::addRandomScoreFunction #1529
  • Index Recovery : the indices recovery API provides insight into on-going index shard recoveries. It was never been implemented into Elastica. #1537
  • add parent_id (reference #1518) in QueryBuilder. #1533
  • implemented string_distance option in Term Suggestion #1543

Improvements

  • Using Elastica\Query\FunctionScore::addRandomScoreFunction without $field parameter is deprecated since ES 6.0 and will fail since ES 7.0 #1522

  • Aggreation\Percentiles updated to a newer version of the Algorithm (T-Digest 3.2) and Percentiles results changed a bit Have a look at here, so updated tests in order not to fail. #1531

  • Aggregation\Percentiles have been updated since Elasticsearch 2.3. In this version compression, HDR histogram changed their implementations. The missing field has never been implemented. #1532

    Before

      "compression" : 200,
      "method" : "hdr",
      "number_of_significant_value_digits" : 3

    Now

      "tdigest": {
        "compression" : 200
      },
      "hdr": {
        "number_of_significant_value_digits" : 3
      }
... (truncated)
Changelog

Sourced from ruflin/elastica's changelog.

6.1.1

Added

  • The preferred type name is _doc, so that index APIs have the same path as they will have in 7.0
  • Added BucketSelector aggregation #1554
  • Added DerivativeAggregation #1553
  • The preferred type name is _doc, so that index APIs have the same path as they will have in 7.0
  • Introduced new version of PHP-CS-Fixer and new Lint travis step. #1555
  • Added typed_keys support for Search queries #1603

Improvements

  • Reduced memory footprint of response by not keeping the raw JSON data when JSON after JSON has been parsed. #1588

Deprecated

  • Index templates use index_patterns instead of template

6.1.0

Backward Compatibility Breaks

  • Made result sets adhere to \Iterator interface definition that they implement. Specifically, you need to call valid() on the result set before calling current(). When using foreach this is done by PHP automatically. When valid returns false, the return value of current is undefined instead of false. #1506
    • \Elastica\ResultSet::next returns void instead of \Elastica\Result|false
    • \Elastica\Bulk\ResponseSet::current returns \Elastica\Bulk\Response instead of \Elastica\Bulk\Response|false
    • \Elastica\Multi\ResultSet::current returns \Elastica\ResultSet instead of \Elastica\ResultSet|false

Added

  • Added a transport class for mocking a HTTP 403 error codes, useful for testing response failures in inheriting clients #1529
  • Field param for Elastica\Query\FunctionScore::addRandomScoreFunction #1529
  • Index Recovery : the indices recovery API provides insight into on-going index shard recoveries. It was never been implemented into Elastica. #1537
  • add parent_id (reference #1518) in QueryBuilder. #1533
  • implemented string_distance option in Term Suggestion #1543

Improvements

  • Using Elastica\Query\FunctionScore::addRandomScoreFunction without $field parameter is deprecated since ES 6.0 and will fail since ES 7.0 #1522

  • Aggreation\Percentiles updated to a newer version of the Algorithm (T-Digest 3.2) and Percentiles results changed a bit Have a look at here, so updated tests in order not to fail. #1531

  • Aggregation\Percentiles have been updated since Elasticsearch 2.3. In this version compression, HDR histogram changed their implementations. The missing field has never been implemented. #1532

    Before

      "compression" : 200,
      "method" : "hdr",
      "number_of_significant_value_digits" : 3

    Now

... (truncated)
Commits

Dependabot compatibility score

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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • 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)

Finally, you can contact us by mentioning @dependabot.

@codecov
Copy link

codecov bot commented Aug 22, 2019

Codecov Report

Merging #137 (84e4730) into master (22f9285) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #137   +/-   ##
=========================================
  Coverage     19.12%   19.12%           
  Complexity      278      278           
=========================================
  Files            24       24           
  Lines          1234     1234           
=========================================
  Hits            236      236           
  Misses          998      998           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 83dd563...23a2149. Read the comment docs.

@phil-davis
Copy link
Contributor

@PVince81 @micbar I notice that there is a Release v1.0.0 PR that has been there for a month. It already has conflicts with the new drone, so CI will not run on that branch unless it is updated or rebased or...

CI passes here, so approve-merge this version bump then rebase the release branch...?

@micbar
Copy link
Contributor

micbar commented Sep 2, 2019

@phil-davis Please do not merge.
We do not support Elasticsearch v6 in this app.

See the Versions Matrix for Elastica
Screenshot_2019-09-02 ruflin Elastica

@micbar micbar changed the title Bump ruflin/elastica from 5.3.5 to 6.1.1 [Do not merge] Bump ruflin/elastica from 5.3.5 to 6.1.1 Sep 2, 2019
@dependabot-preview dependabot-preview bot force-pushed the dependabot/composer/ruflin/elastica-6.1.1 branch from 1698f8e to 1b80842 Compare October 21, 2019 02:47
@dependabot-preview dependabot-preview bot force-pushed the dependabot/composer/ruflin/elastica-6.1.1 branch from 1b80842 to aea0bd8 Compare November 5, 2019 09:46
@dependabot-preview dependabot-preview bot force-pushed the dependabot/composer/ruflin/elastica-6.1.1 branch from aea0bd8 to fe292be Compare November 22, 2019 22:13
@dependabot-preview dependabot-preview bot force-pushed the dependabot/composer/ruflin/elastica-6.1.1 branch 2 times, most recently from 3df3374 to 6ffee8f Compare December 10, 2019 13:55
@dependabot-preview dependabot-preview bot force-pushed the dependabot/composer/ruflin/elastica-6.1.1 branch from 6ffee8f to 94afeb6 Compare December 16, 2019 16:51
@dependabot-preview dependabot-preview bot force-pushed the dependabot/composer/ruflin/elastica-6.1.1 branch from 94afeb6 to 5738576 Compare February 25, 2020 09:53
@dependabot-preview dependabot-preview bot force-pushed the dependabot/composer/ruflin/elastica-6.1.1 branch from 5738576 to d35fa58 Compare March 12, 2020 10:24
@dependabot-preview dependabot-preview bot force-pushed the dependabot/composer/ruflin/elastica-6.1.1 branch 3 times, most recently from e26ccb9 to 66a188d Compare April 18, 2020 15:15
@dependabot-preview dependabot-preview bot force-pushed the dependabot/composer/ruflin/elastica-6.1.1 branch 2 times, most recently from 231a517 to fb85298 Compare April 30, 2020 11:44
@dependabot-preview dependabot-preview bot force-pushed the dependabot/composer/ruflin/elastica-6.1.1 branch 2 times, most recently from 033d31f to 29148bc Compare June 5, 2020 07:13
@dependabot-preview dependabot-preview bot force-pushed the dependabot/composer/ruflin/elastica-6.1.1 branch from 29148bc to d093820 Compare September 17, 2020 04:48
@dependabot-preview dependabot-preview bot force-pushed the dependabot/composer/ruflin/elastica-6.1.1 branch from d093820 to f507104 Compare November 3, 2020 05:30
@dependabot-preview dependabot-preview bot force-pushed the dependabot/composer/ruflin/elastica-6.1.1 branch from f507104 to 84e4730 Compare November 20, 2020 03:57
@dependabot-preview dependabot-preview bot force-pushed the dependabot/composer/ruflin/elastica-6.1.1 branch from 84e4730 to 23a2149 Compare December 23, 2020 03:29
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@dependabot-preview
Copy link
Contributor Author

Superseded by #199.

@dependabot-preview dependabot-preview bot deleted the dependabot/composer/ruflin/elastica-6.1.1 branch February 16, 2021 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants