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.
Massive release with added support for Elastica 8 and all deprecated code removed.
- Fix deserialize operations property of
MultipleIndexationRequest
- Upgraded
ruflin/elastica
to v8 (Breaking Change)
- Dropped OpenSearch support (Breaking Change)
- Dropped
HttpClientTransport
(Breaking Change) - All depreacted code from 1.x, see UPGRADE.md for the full list
- Fix Symfony bridge configuration
- Add support for Symfony 7 and PHP 8.3
- Documentation improvements
- New
@throws
annotations on methods
- Fix deprecation for Symfony 6.3
- Fix code style
- Fix code style
- Use specific channel for logs
- Fix compatibility with Doctrine Annotations 2
- Fix buildModel argument order when called via buildModelFromIndexAndData
- Add support for PHP 8.2
- Add "dry run" mode on the purgeOldIndices method
- Avoid BC-break in DocumentExchangerInterface
JoliCode\Elastically\Model\Document
class #150
- Get rid of bad typing in
Elastica\Document::getData()
#150
- Drop support for Symfony 4.*
- Drop support for PHP 7.4
- Add a bundle to ease integration with Symfony
- 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
- 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
- Run the tests on a custom Elasticsearch port, fix #56
- Improve Exception message when Factory is used badly
- Compatibility with Elastica #109
1.5.1 - 2022-01-18
- Allow symfony/deprecation-contracts 3.0
1.5.0 - 2021-12-17
- Add support for Symfony 6.0
- Add support for PHP 8.1
- Upgrade to jane 7.0
1.4.0 - 2021-11-10
- Better support for prefixed names
- 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 theJoliCode\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
toJoliCode\Elastically\IndexNameMapper
- Introduce
JoliCode\Elastically\Mapping\MappingProviderInterface
and concrete implementations:JoliCode\Elastically\Mapping\YamlProvider
andJoliCode\Elastically\Mapping\PhpProvider
- Deprecate following methods on
JoliCode\Elastically\Client
:getPrefixedIndex()
: UseIndexNameMapper
insteadgetIndexNameFromClass()
: UseIndexNameMapper
insteadgetClassFromIndexName()
: UseIndexNameMapper
insteadgetPureIndexName()
: UseIndexNameMapper
insteadgetIndexBuilder()
: Inject theIndexBuilder
instead where you need itgetIndexer()
: Inject theIndexer
instead where you need itgetBuilder()
: Inject theResultSetBuilder
instead where you need itgetSerializer()
: Inject theSerializer
instead where you need itgetDenormalizer()
: Inject theDenormalizer
instead where you need itgetSerializerContext()
: Inject theSerializerContext
instead where you need it;
1.3.0 - 2021-07-02
- Adds elastica raw result in serializer context while denormalizing results
- Deprecates
Index::getBuilder()
in favor ofClient::getBuilder()
1.2.0 - 2021-02-16
- Add support for PHP 8 and Elastica 7.10 which includes some BC.
1.1.1 - 2021-02-09
- Improve Travis-ci tests robustness.
- Fix
getIndexNameFromClass
when index prefix is configured.
1.1.0 - 2020-12-28
- Fix a bug when using prefixed indices and the purge method.
- 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
- Fix a missing dependency when using the built-in Serializer.
1.0.1 - 2020-07-16
- Fix Symfony HttpClient issue when Elastic throw a 4xx or 5xx response code.
1.0.0 - 2020-06-24
- Add a method to migrate an Index (when the mapping change).
- Switch to Elastica 7.0.
- Remove the "WIP" status in the documentation.
0.1-beta.2 - 2020-06-23
- Add TravisCI tests.
- Symfony Messenger Handler support.
- Symfony HttpClient compatible transport.
- New CONFIG_INDEX_PREFIX configuration option.
- Support for Symfony 5.
- Better documentation.
- Fixed the JanePHP support.
- Lots of fixes.
0.1-beta.1 - 2019-06-04
- Allow to set Serializer Context for input/output.