Skip to content

Latest commit

 

History

History
220 lines (187 loc) · 21.3 KB

CHANGELOG.md

File metadata and controls

220 lines (187 loc) · 21.3 KB

Release 5.1.3

  • allowBadJSONSerialization() builder method should be fluent [f1812d4]

Release 5.1.2

  • A specific version of json-ext is no longer needed in 5.0 branch [e1b5c2a]

Release 5.1.1

  • Add 'format' param to all Cat endpoints [fc25a2c]
  • Add opt-in for ignoring JSON_PRESERVE_ZERO_FRACTION when serializing [e34fdfd]
  • Prefer POST for Suggest endpoint [aae7019]
  • Whitelist 'include_segment_file_sizes' in Cluster/Nodes/Stats endpoint [a2744b4]
  • Whitelist 'include_segment_file_sizes' in Indices/Stats endpoint [2c6cd30]
  • Automatically set Content-type and Accept headers [3d52e11]
  • Put back UpdateByQuery (#531) [6f4394f]
  • Add 'human' param to global whitelist [d16e541]

Testing

Docs

  • [DOCS] Update search-operations.asciidoc (#520) [4aba49b]
  • [DOCS] fix broken links to breaking changes docs [7d1b0ec]

Release 5.1.0

  • Catch additional exceptions in the ping function for those who use multiple nodes in their connection pool. [ffe0510]
  • Use array_diff to Check Endpoint Parameters (#514) [46f7f36]
  • Re-Add the DeleteByQuery Functionality (#513) [b262dca]
  • Add 'full_id' to Cat/Nodes endpoint [f32cc54]
  • add ClientBuilder->setConnectionParams() (#507) [3923432]
  • Add new (undocumented) PHP-7 JSON error codes, better unknown handling [0a7fd55]
  • Add ext-json version constraint, update some docs [ca2791a]
  • Add catch-all in exception handling [eb4117c]
  • Revert "Simplify error parsing now that we don't support <2.0 errors" [fd38538]

Testing

  • [TEST] Make sure property_exists calls only ocurr on objects [30baa0d]
  • [TEST] Tweak travis to install better ext-json [3409a81]
  • [TEST] Mute rollover test temporarily [2316d33]
  • [TEST] Add support for warning header checks [ac1b053]

Documentation

  • [DOCS] Removed unwanted ) and added proper formatting (#497) [8187fdd]
  • [DOCS] Update index-operations.asciidoc (#496) [a4dd09f]
  • [DOCS] Update version in monolog configuration. (#489) [90fbd53]
  • [DOCS] Update php-version-requirement.asciidoc (#491) [4951439]
  • [DOCS] "password" param should be "password" [8ee2bc9]
  • More asciidoc tweaks [451f985]
  • Asciidoc != markdown [8a816c1]
  • [Docs] More 5.0 readme tweaks [a60dd09]
  • [DOCS] 5.0 doc updates, readme, breaking changes [6fb6421]

Release 5.0.0

Woo!

New Endpoints

Removals/BWC Breaks/Deprecations

  • Indices/Optimize endpoint has been removed in 5.0 [4f0b9da]
  • Warmers have been removed in 5.0 [ef24d5d]
  • Deprecate various Percolate endpoints [959eee5]
  • Remove old percolate parameter on docblocks [f64345d]
  • SearchExists Endpoint removed in 5.0 [6dfc6a0]
  • [Internal BWC Break] Add better ability to inject namespaces [b1a27b7]
  • [Internal BWC Break] Refactor to remove Transport dependence in endpoints [ecd454c]
  • [BWC Break] Remove MLT endpoint [38c05da]
  • [BWC Break] Remove DeleteByQuery endpoint [9f3776a]
  • [BWC Break] Rename internal TermVector -> TermVectors, remove old public TermVector [cbe8619]
  • [BWC] Add getPath() method to ConnectionInterface [8bcf1a8]
  • [BWC] Add getUserPass() method to ConnectionInterface [586fbdb]
  • [BWC] Add getHost() method to ConnectionInterface [445fdea]
  • Tasks/List and Tasks/Get are now separate endpoints [e0cc5f9]

Updated/Added whitelist params

  • Add Ingest namespace and endpoints [7b87954]
  • Add pipeline parameter to Bulk endpoint whitelist [3fa1c51]
  • Add pipeline to Index endpoint [db5d794]
  • Add include_defaults param to Indices/GetSettings whitelist [496071c]
  • Add preserve_existing param to Indices/PutSettings whitelist [69389fc]
  • Add Cluster/AllocationExplain endpoint [f9c297c]
  • Add Ingest namespace and endpoints [66c851f]
  • Add missing params to Analyze endpoint: char_filter, format, attributes, explain [8a0a932]
  • filters is now filter in Analyze endpoint [94dbb15]
  • Add size param to Cat/Threadpool whitelist [bece0e5]
  • Add task_id to Tasks/Get whitelist [6a315e0]
  • Add docvalue_fields to Search whitelist, remove fields [63ff8c5]
  • Add format to Cat/Aliases whitelist [68630a0]
  • Add 'thread_pool_patterns' parameter to Cat\Threadpool endpoint [c0820dc]
  • Add 's' sort param to all Cat endpoints [87f23a1]
  • Add '_source' to Update whitelist [d33be49]
  • Add 'ignore_unavailable' to Snapshot/Status whitelist [f90c2dd]
  • Add 'ignore_unavailable' to Snapshot/Get whitelist [93c4f22]
  • Add 'stored_fields' to Mget whitelist [054ebed]
  • Add 'wait_for_no_relocating_shards' to Cluster/Health whitelist [8448f99]
  • Add 'health' to Cat/Indices whitelist [06a3bf5]
  • Add '_source_include', '_source_exclude', 'pipeline' params to Bulk whitelist [3ca12f4]
  • Add 'stored_fields' to Get Endpoint [c57a5a4]
  • Add '_source' to Bulk endpoint whitelist [35b7087]

Documentation

  • [DOCS] Usage example for creating ClientBuilder fixed (#406) [6a868ea]
  • [Docs] Fix typo. (#409) [b013ab0]
  • Docs: Fixed broken link. [17a4ed7]
  • [DOCS] Rebuild auto-generated docs [2904d7a]
  • Add script to generate docs [4ce648c]
  • Update Readme with 5.0 branching information [ddb8ecd]
  • [DOCS] Update URL/Email in class-level doc blocks [8238cb3]
  • [DOCS] Update copyright year in licenses [fcc4ad6]
  • [DOCS] Add Breaking Changes list for 5.0 [65953ac]
  • [DOCS] add getSource method to the readme (#465) [90cbdfb]
  • [DOCS] Replace deprecated filtered query with boolean [3b81615]
  • [DOCS] Add Plastic Laravel integration to community page [e4530a7]
  • [DOCS] Fix return type in docblock for all Exists* endpoints [498c003]
  • Add autogenerated reference documentation [bd64d52]
  • [DOCS] Regenerate reference docs [030d96e]

Cleanup

  • Remove benchmark autoload [74b5ad9]
  • Remove old rest-spec parser [07754c4]
  • Remove unused benchmarks [20a75b1]
  • Automated PSR-2 style cleanup [fbe6f92]
  • Tweak script for new cli format [4adbe94]
  • Fix Indices/Flush after autogeneration [d56e2c4]
  • Tweak SpecParser template [8341c4c]
  • Added output folder from SpecParser to gitignore [cfd49ee]
  • Updated ParseSpec to be able to run from console and use new api path [e0cc5f9]

Bugfixes and Misc.

  • Split Create out to its own internal endpoint for simplicity [9eb573a]
  • Cat/Snapshots 'repository' param is not in-fact required, despite spec [6c77f62]
  • Fix error handler when no structured error is present [f380a69]
  • add JSON_PRESERVE_ZERO_FRACTION for Json_encode (#481) [2ab3971]
  • Simplify error parsing now that we don't support <2.0 errors [a6d896b]
  • Added support for PHP 7.1 (#474) [864d4d3]
  • Type exists URI has changed to index/_mapping/type [dd63eaa]
  • Index creation only accepts PUT verbs now [9c620c2]
  • Update SearchResponseIterator to remove old-style scan/scroll flow [72f3b15]
  • Add "extended" host configuration syntax [a0ddad1]
  • Allow ConnectionFactory to be override (#456) [cc2a5fe]
  • Special-case unwrapping for async methods that use Exist* endpoints [347e5c5]
  • composer: bump min version to PHP 5.6 (#451) [6648646]
  • Allow to get multiple pipelines without id (#453) [c7f737b]
  • Split, refactor and fix some tests (#447) [68e819b]
  • Tests cleaned up a little [afc9af0]
  • Fix doc output on github [62d6132]
  • (pr/445) Move resultOrFuture from endpoint to transport [80bfeea]
  • Manually convert true/false to "true"/"false" before http_build_query() [bef93cb]
  • getApiPath function returns path without trailing slash [8bcfaf0]
  • Use valid SPDX license identifier [963e635]
  • Fix bug when Create is called with an stdClass body [adcaa2c]
  • Fix comment tag [3b8e918]
  • Add .github templates [104a7ea]

Testing

Lots of work re-working the REST Yaml test framework, getting travis to play nicely with Java8, and misc tweaks over time. The test framework is in much better shape, largely thanks to help from community member @joelwurtz!

  • [TEST] Add 5.x to test matrix [77b548d]
  • [TEST] Fixup server startup [18ea943]
  • [TEST] Add ignore to custom param since ES now validates extraneous uri params [61f62d8]
  • [TEST] Regex to detect "stashed" values is not useful, throws false-positives [7ff9b20]
  • [TEST] (Fix) Better context to true/false failures [a9ee47d]
  • [TEST] Better context to true/false failures [9df055b]
  • [TEST] Add 'indices.shrink/10_basic.yaml' to temp blacklist [aa93f39]
  • [TEST] Only run sync tests on Travis [2f7b863]
  • [TEST] Update travis config to use ES 5.0 branch [cbad348]
  • [TEST] Add back accidentally deleted annotations [c7f8c06]
  • [TEST] Better snapshot/repo clearing [cc3a40d]
  • [TEST] output tweaks for better debugging, add temporary blacklist for fatal parsing files [cb1956b]
  • [TEST] Tweak verbosity of tests [e0cc5f9]
  • [TEST] No need to test below PHP 5.6 on master [7aad25a]
  • [TEST] Allow hhvm to fail [fe6993d]
  • [TEST] Remove ES host/port so it starts in "dev" mode [c91242d]
  • [TEST] Bump travis file descriptors [b24fc85]
  • [TEST] Bump travis file descriptors [5cd7c37]
  • [TEST] Bump travis file descriptors [65f2eb9]
  • [TEST] (Nuclear option) more Java8 JRE tweaks [00ce1df]
  • [TEST] (Hundred and one time's a charm) more Java8 JRE tweaks [c38e5fe]
  • [TEST] (Hundredth time's a charm) more Java8 JRE tweaks [2cef10d]
  • [TEST] (And yet) more Java8 JRE tweaks [ecb44ab]
  • [TEST] (Yet) more Java8 JRE tweaks [afc6b8a]
  • [TEST] More Java8 JRE tweaks [0567579]
  • [TEST] More Java8 JRE tweaks [9869977]
  • [TEST] Print java version for debug [9dec069]
  • [TEST] Manually configure Java8 JRE [1fd3612]
  • Revert "[TEST] Use Java 8 for tests" [6fc4c5c]
  • [TEST] Use Java 8 for tests [2d59159]
  • [TEST] Replace stash before finding nested variables in match [2dae755]
  • [TEST] Convert tasks.list to tasks.get because list is a reserved word [e0956a5]
  • [TEST] Small tweak to timestamp regex [d5e50c1]
  • [TEST] return second level of exception message if possible, for further testing [a76cbf2]
  • [TEST] Master tests only track ES-master (5.0 alpha) now [76e621c]
  • [TEST] Fix jq syntax for numeric branches (e.g. 2.2) [eb48dab]
  • [TEST] Automate snapshot retrieval [c08b08b]
  • [TEST] Update snapshot download script for 2.2 [350cd6e]
  • [TEST] Update travis matrix [04bcf81]
  • [TEST] Invoke phpunit dependency instead of travis phpunit.phar [f9e0d99]
  • Revert "[TEST] fix object notation" [b966328]
  • Make test fail on Yaml parse error [f1b3adb]
  • Only show log when test fails [f2acb43]