The configuration syntax has been simplified. The connections setting was
merged into the clients setting.
Before:
snc_redis:
connections:
default:
alias: default
host: localhost
port: 6379
database: 0
clients:
default:
alias: default
connection: defaultAfter:
snc_redis:
clients:
default:
type: predis
alias: default
dsn: redis://localhostThe service names have been simplified, too. The above configuration will
register the service snc_redis.default. The old service names like
snc_redis.default_client are still available as an alias.
If you are using the Monolog or SwiftMailer features, then you have to
update your configuration by renaming the connection setting to client.
The master branch is now in sync with the symfony master branch.
Please use the 2.0 branch if you are working with Symfony 2.0.
The RedisSessionStorage class was refactored to reflect the changes
in the symfony master branch. The data is not saved in a HASH anymore
so keep in mind that your old sessions get lost.
If you want to use any of the doctrine caches, you now have to
configure the entity_manager and/or document_manager parameters.
Previously the bundle registered the caches for the default managers.
The RedisBundle is now vendor prefixed.
Please follow the following steps to update your Symfony2 project.
Replace new Snc\RedisBundle\RedisBundle() with new Snc\RedisBundle\SncRedisBundle().
Replace redis: with snc_redis: in all of you .yml config files.
All services are now prefixed by snc_redis. instead of redis..