Skip to content

Latest commit

 

History

History
100 lines (90 loc) · 9.31 KB

CHANGELOG.md

File metadata and controls

100 lines (90 loc) · 9.31 KB

CHANGELOG

Inspired from Keep a Changelog

Added

Changed

Deprecated

Removed

Fixed

Security

Dependencies

Updated APIs

[2.4.1]

Added

  • Added Guzzle and Symfony client factories (#287)

Changed

  • Changed EndpointFactory to return new objects on each call to fix issues with parameter reusage (#292)

Added

  • Generate endpoints from OpenSearch API Specification (#194)
  • Added workflow for automated API update using OpenSearch API specification (#209)
  • Added samples (#218)
  • Added support for PHP 8.3 and 8.4 (#229)
  • Added a Docker Compose config file for local development (#245)
  • Added a test for the AWS signing client decorator (#252)
  • Added PHPStan Deprecation rules and baseline (#263)
  • Added PHPStan PHPUnit extensions and rules (#263)
  • Added Guzzle and Symfony HTTP client factories (#271)
  • Added 'colinodell/psr-testlogger' as a dev dependency (#271)

Changed

  • Switched to PSR Interfaces (#233)
  • Increased PHP min version to 8.1 (#233)
  • Increased min version of ezimuel/ringphp to ^1.2.2 (225)
  • Changed fluent setters to return static (#236)

Deprecated

  • Passing a callable to \OpenSearch\ClientBuilder::setEndpoint() is deprecated and replaced with passing an EndpointFactory to \OpenSearch\ClientBuilder::setEndpointFactory() (#237)
  • Connections, Connection pools and Selectors are deprecated. Use a PSR HTTP Client that supports retries instead (#245)
  • The following namespaces have been deprecated and will be removed in 3.0.0: 'async_search', 'searchable_snapshots', 'ssl', 'data_frame_transform_deprecated', 'monitoring' (#270)
  • A number of exceptions under \OpenSearch\Common\Exceptions are deprecated and moved to \OpenSearch\Exception (#274)

Removed

  • Removed support for PHP 7.3, 7.4 and 8.0 (#233)
  • Removed support for async requests which were never actually working (#233)

Fixed

  • Fixed PHP 8.4 deprecations (#229)
  • Fixed outdated tests (#245)

Updated APIs

Added

  • Added a GitHub workflow for verifying CHANGELOG (#92)
  • Added class docs generator (#96)
  • Added support for Amazon OpenSearch Serverless SigV4 signing (#119)
  • Added includePortInHostHeader option to ClientBuilder::fromConfig (#118)
  • Added the RefreshSearchAnalyzers endpoint (#152)
  • Added support for format parameter to specify the sql response format (#161)
  • Added ml-commons model, model group and connector APIs (#170)
  • Added support for sending raw JSON requests (#171)
  • Added PHP 8.2 support (#87)
  • Added Windows and MacOS support (#100)
  • Added code coverage reporting (#100)
  • Added support for a custom signing service name for AWS SigV4 (#117)
  • Added support for OpenSearch 2.12 and 2.13 (#180)
  • Added release automation to publish to packagist (#183)
  • Added @saimedhi to opensearch-php maintainers (#215)

Fixed

  • Fixed backport workflow when tag is applied before closing PR (#131)
  • Fixed host urls with trailing slash in the url (#130)
  • Fixed point-in-time APIs (#142)
  • Fixed basic authentication being overridden by connection params in ClientBuilder (#160)
  • Fixed PHP warning in Connection::tryDeserializeError() for some error responses (#167)