Repository navigation
What's Changed
Lot's of improvements and bug fixes all over the place!
Added
- Add
MultipleDocumentExchangerInterfaceto fetch all the documents of aMultipleIndexationRequestat once - Allow glob patterns in the mapping directory to spread mappings across several directories
- Flush the
IndexationRequestSpoolSubscriberspool after each message handled by a Messenger worker - Log an error when an Indexer queue was not flushed at the end of a request, a command or a Messenger message (Symfony bundle)
Changed
- Bump minimum PHP version to 8.2
- Bump minimum Symfony version to 6.4 (6.4, 7.4 and 8.x are supported)
- Drop support for phpdocumentor/reflection-docblock 4
- Remove the unused symfony/deprecation-contracts dependency
Fixed
IndexBuilder::purgeOldIndices()no longer fails when closing indices is disabled on the cluster (cluster.indices.close.enable: false), the previous index is kept open instead- Lowercase the index prefix, as Elasticsearch rejects index names containing uppercase characters
Details
- fix(phpstan): Apply cleaner conditions on factory methods, fix cs by @damienalexandre in #222
- fix(cs): PHP CS Fixer update and fixes by @damienalexandre in #223
- fix(messenger): drain the whole spool queue under Symfony 8.1+ by @lyrixx in #225
- Require PHP 8.2 / Symfony 6.4 and modernize the code base by @lyrixx in #226
- feat(symfony): log an error when an Indexer queue is not flushed by @lyrixx in #227
- docs: fix the HttpClient transport example by @lyrixx in #234
- fix(index): lowercase the index prefix by @lyrixx in #228
- fix(messenger): flush the IndexationRequest spool after each worker message by @lyrixx in #229
- docs: document the authentication options by @lyrixx in #230
- feat(mapping): allow glob patterns in the mapping directory by @lyrixx in #231
- feat(messenger): allow fetching multiple documents at once by @lyrixx in #232
- fix(index-builder): do not fail in purgeOldIndices when closing indices is disabled by @lyrixx in #233
Full Changelog: v2.2.0...v2.3.0