- Fix circular reference issue when removing entities - PR #227
-
Lazy load commands - PR #218
Symfony 3.4 introduced an easy way to lazy load all commands. We can avoid instantiating the Algolia Client if it's not necessary. This should fix #199
-
Do not register Event Subscriber if there are no event to listen to - PR #219
If you don't listen to any doctrine event using
doctrineSubscribedEvents: []
, the subscriber will not be registered to avoid instantiation the IndexManager and the Algolia client.
-
Introduce
batchSize
config key (default: 500) - PR #208This config allow you create smaller or bigger batch calls to Algolia. The same config is used by doctrine in the ImportCommand.
-
Feature: Index entities conditionally (using a dedicated method) - PR #210
Add new
index_if
configuration key for indices. This should be the path to a property in the entity which evaluates to true if the item should be indexed and false to bypass indexing or remove existing object from the index.Example: - indices: - name: posts class: App\Entity\Post index_if: isPublished
-
Better support for Symfony 3.4 projects with the old folder structure
- Dynamically retrieve object manager for ImportCommand - PR #203
Version 3 is a complete rewrite but the upgrade is straight forward. Follow []the upgrade guide](https://github.com/algolia/search-bundle/blob/master/UPGRADE-3.0.md) for an easy step-by-step upgrade.
This version requires Symfony 3.4+
- Introduce
algolia.connection_timeout
parameter to override default timeout of the Algolia PHP client
- Allow to use
searchableAttributes
instead ofattributesToIndex
- Allow to use
replicas
instead of slaves
- Move to PSR-2 standards
- Deprecate php below 5.6
- Fixes instantiating entities with constructor args
- Bug Fixing
- Improve handling of relations
- Handle collection when creating the record.
- Quick Fix get_class that gets the proxy instead of the Entity
- Upgraded the underlying algoliasearch-client-php dependency
- Minor fixes
- MIT License