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.
- Allow symfony/deprecation-contracts 3.0
- 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.