Skip to content

Latest commit

 

History

History
257 lines (158 loc) · 6.2 KB

CHANGELOG.md

File metadata and controls

257 lines (158 loc) · 6.2 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.9.1

Fixed

  • Fix Symfony bridge configuration

1.9.0

Added

  • Add support for Symfony 7 and PHP 8.3
  • Documentation improvements

1.8.4

Added

  • New @throws annotations on methods

1.8.3

Fixed

  • Fix deprecation for Symfony 6.3
  • Fix code style

1.8.2 - 2023-05-10

Fixed

  • Fix code style
  • Use specific channel for logs
  • Fix compatibility with Doctrine Annotations 2

1.8.1 - 2023-03-30

Fixed

  • Fix buildModel argument order when called via buildModelFromIndexAndData

1.8.0 - 2023-03-10

Added

  • Add support for PHP 8.2
  • Add "dry run" mode on the purgeOldIndices method

1.7.1 - 2023-02-21

Fixed

  • Avoid BC-break in DocumentExchangerInterface

1.7.0 - 2023-02-17

Added

  • JoliCode\Elastically\Model\Document class #150

Fixed

  • Get rid of bad typing in Elastica\Document::getData() #150

[1.6.0] - 2023-01-16

Added

  • Drop support for Symfony 4.*
  • Drop support for PHP 7.4
  • Add a bundle to ease integration with Symfony

[1.5.4] - 2022-12-16

Fixed

  • Add Exception if Result's index is empty in JoliCode\Elastically\ResultSetBuilder #116
  • Fix OpenSearch unallowed "_all" indices for regular user #122

1.5.3 - 2022-10-10

Added

  • Add "context" in the Migrate method to fix create index issue #120
  • Add OpenSearch in the test suite, fix #113

1.5.2 - 2022-08-16

Fixed

  • Run the tests on a custom Elasticsearch port, fix #56

Added

  • Improve Exception message when Factory is used badly
  • Compatibility with Elastica #109

1.5.1 - 2022-01-18

Added

  • Allow symfony/deprecation-contracts 3.0

1.5.0 - 2021-12-17

Added

  • Add support for Symfony 6.0
  • Add support for PHP 8.1
  • Upgrade to jane 7.0

1.4.0 - 2021-11-10

Fixed

  • Better support for prefixed names

Added

  • Switch to Github Action instead of travis
  • Drop support for Symfony < 4.4
  • Drop support for PHP < 7.4
  • Add PHPStan
  • Move all the "factory" logic from the JoliCode\Elastically\Client to the JoliCode\Elastically\Factory
  • Inject dependencies where possible
  • Introduce JoliCode\Elastically\Serializer\ContextBuilderInterface and concrete implementation: JoliCode\Elastically\Serializer\StaticContextBuilder
  • Extract code to manage index name from JoliCode\Elastically\Client to JoliCode\Elastically\IndexNameMapper
  • Introduce JoliCode\Elastically\Mapping\MappingProviderInterface and concrete implementations: JoliCode\Elastically\Mapping\YamlProvider and JoliCode\Elastically\Mapping\PhpProvider

Deprecated

  • Deprecate following methods on JoliCode\Elastically\Client:
    • getPrefixedIndex(): Use IndexNameMapper instead
    • getIndexNameFromClass(): Use IndexNameMapper instead
    • getClassFromIndexName(): Use IndexNameMapper instead
    • getPureIndexName(): Use IndexNameMapper instead
    • getIndexBuilder(): Inject the IndexBuilder instead where you need it
    • getIndexer(): Inject the Indexer instead where you need it
    • getBuilder(): Inject the ResultSetBuilder instead where you need it
    • getSerializer(): Inject the Serializer instead where you need it
    • getDenormalizer(): Inject the Denormalizer instead where you need it
    • getSerializerContext(): Inject the SerializerContext instead where you need it;

1.3.0 - 2021-07-02

Added

  • Adds elastica raw result in serializer context while denormalizing results

Deprecated

  • Deprecates Index::getBuilder() in favor of Client::getBuilder()

1.2.0 - 2021-02-16

Added

1.1.1 - 2021-02-09

Fixed

  • Improve Travis-ci tests robustness.
  • Fix getIndexNameFromClass when index prefix is configured.

1.1.0 - 2020-12-28

Fixed

  • Fix a bug when using prefixed indices and the purge method.

Added

  • New setBulkRequestParams on the Indexer allowing all the Bulk query params.
  • Ability to specify the filename for Index mapping #50.
  • This changelog file.

1.0.2 - 2020-07-31

Fixed

  • Fix a missing dependency when using the built-in Serializer.

1.0.1 - 2020-07-16

Fixed

  • Fix Symfony HttpClient issue when Elastic throw a 4xx or 5xx response code.

1.0.0 - 2020-06-24

Added

  • Add a method to migrate an Index (when the mapping change).

Changed

  • Switch to Elastica 7.0.

Removed

  • Remove the "WIP" status in the documentation.

0.1-beta.2 - 2020-06-23

Added

  • Add TravisCI tests.
  • Symfony Messenger Handler support.
  • Symfony HttpClient compatible transport.
  • New CONFIG_INDEX_PREFIX configuration option.
  • Support for Symfony 5.

Changed

  • Better documentation.

Fixed

  • Fixed the JanePHP support.
  • Lots of fixes.

0.1-beta.1 - 2019-06-04

Added

  • Allow to set Serializer Context for input/output.