- Updated code to work with Pimple 3.0 and Silex 2.0.
-
Bumped required version of Predis to ~1.0.
-
All of the service provider classes have been renamed.
-
Switched to PSR-4 for autoloading.
- Fix Silex dependency to allow stable and dev versions.
-
Added
predis.client_constructor
to easily override the actual instance ofPredis\ClientInterface
returned by the provider when creating a new client object. -
Minimum required version of Predis is now v0.8.3.
-
The service provider now requires Predis v0.8.
-
Now
Predis\Silex\PredisServiceProvider
is used only to provide single-client configurations while the newPredis\Silex\MultiPredisServiceProvider
can be used to configure multiple clients. This is a breaking change from previous versions in which both configurations were handled by the sameprovider class. -
Due to the nature of the above mentioned change, it is no more possible to define a default client when using a multiple-clients configuration.
-
Fixed service provider configuration after the recent addition of the
boot()
method in Silex. -
Removed the
class_path
option, Silex removed its autoloader service and now relies on Composer.
- Implemented a empty Silex\ServiceProviderInterface::boot() needed after recent changes in Silex.
- There are no actual changes in the code of this release, aside from a bump in the required version of Predis in the composer.json file to target the tagged release of v0.7.0,
- Added the ability to specify multiple clients using 'predis.clients' with an array of connection parameters and client options for each client.
- Added support for Composer to manage installation and dependencies.
- Renamed PredisExtension to PredisServiceProvider after internal changes in the naming of some classes and interfaces of Silex.
- Initial release.