SncRedisBundle

A Redis bundle for Symfony supporting Predis and PhpRedis

MIT License

Downloads
32.5M
Stars
1K
Committers
146

Bot releases are hidden (Show)

SncRedisBundle - 3.4.1

Published by ostrolucky about 3 years ago

3.4.1

Full Changelog

Fixed bugs:

  • falsy "failed (MOVED)" error logs when using cluster mode (following #416) #466

Closed issues:

  • Memory leak with logging: true #626
  • SessionHandler configuration deprecation #624
  • Logging in cluster mode works only for first query #615

Merged pull requests:

SncRedisBundle - 3.4.0

Published by B-Galati over 3 years ago

Full Changelog

SncRedisBundle - 3.3.0

Published by B-Galati almost 4 years ago

Full Changelog

  • Support nested DSNs generated by process environment variables (#594) - @nesk (eef130)
  • Add support for PHP 8 (#599) - @nicwortel (9f38e8)
SncRedisBundle - 3.2.4

Published by B-Galati almost 4 years ago

Full Changelog

SncRedisBundle - 3.2.3

Published by B-Galati over 4 years ago

Full Changelog

  • Deprecation since Symfony 5.1 (#580) - @StudioMaX (e0de16)
    • NodeDefinition::setDeprecated() requires 3 arguments
    • Add Symfony 5.2 to CI allowed failures
    • Fix deprecations in tests
    • Test Symfony 5.1 on PHP 7.2
SncRedisBundle - 3.2.2

Published by B-Galati over 4 years ago

Full Changelog

SncRedisBundle - 2.1.13

Published by B-Galati almost 5 years ago

Full Changelog

  • Remove 5.4 and 5.5 from CI as they are not supported anymore by travis - @B-Galati (18493d)
  • Fix php 7.4 deprecation (#552) - @mops1k (7c8652)
SncRedisBundle - 3.2.1

Published by B-Galati almost 5 years ago

Full Changelog

SncRedisBundle - 3.2.0

Published by B-Galati almost 5 years ago

Full Changelog

  • Add PhpRedis \RedisCluster support (#454) - @furester (af2f8f)

  • Add many DSN support for phpredis cluster (#542) - @B-Galati (e48635)

  • Ensure compatibility with Symfony 4.4 (fix #461) (#543) - @B-Galati (7f4249)

  • [BC BREAK] Deprecate support for redis profiler storage starting from Sf 4.4 (#543) - @B-Galati (7f4249)

    As per Symfony:

    This interface exists for historical reasons. The only supported
    implementation is FileProfilerStorage.
    As the profiler must only be used on non-production servers, the file storage
    is more than enough and no other implementations will ever be supported.

  • Symfony 5 / Doctrine Bundle 2 compat (#544) - @B-Galati (6a7751)

  • Drop support for Sf 4.0/4.1 as they are unmaintained (#544) - @B-Galati (6a7751)

SncRedisBundle - 2.1.12

Published by B-Galati about 5 years ago

  • Fix check for connection_persistent with phpredis factory (#538) - Gijs van Lammeren
SncRedisBundle - 3.1.1

Published by B-Galati about 5 years ago

Full Changelog

  • Autoconfigure RedisBaseCommand to add snc_redis.command tag (#528) - @maxhelias (24ddb3)
  • Simplify injection of client locator using ServiceLocatorTagPass (#535) - @rpkamp (97b1ec)
  • Fix check for connection_persistent with phpredis factory (#538) - @starred-gijs (8e692b)
  • Added simple condition to get rid of Warning: Invalid argument supplied for foreach() (#534) - @imper86 (663ac6)
  • No longer use curly brackets for substring (#532) - @rpkamp (c5b6b1)
  • Fix a non-existent service "snc_redis.phpredis.monolog" (#531) - @phakpoom (58fd82)
  • Fix C&P error in Phpredis Client Proxy Class (#526) - @deegital (fef7a3)
  • Add tests for #538 and #534 - @B-Galati (a713f0)
SncRedisBundle - 3.1.0

Published by B-Galati about 5 years ago

Full Changelog

  • Add support for env variable for client type (#525)
  • Add metrics to Profiler page (#517)
SncRedisBundle - 2.1.11

Published by B-Galati about 5 years ago

  • fix #523: deprecate alias only (SF 4.3+ required)
SncRedisBundle - 3.0.0

Published by B-Galati about 5 years ago

Full Changelog

See UPDATE.md to know how to upgrade from v2 to v3

  • Remove single php 7.3 from travis
  • Bump predis minimum version to 1.1
  • Add 4.3-dev and 4.4-dev symfony version to CI
  • Bump php minimum version to 7.1.3 (Same as Symfony 4)
  • fix #249 - fix session handler lock key prefix (#503)
  • Fix Swiftmailer version in requirements
  • Fix: Explicitly configure Travis build matrix (#474)
  • Supply name for new TreeBuilder instead of calling root method (#471)
  • Enhancement: Add note about usage with symfony/web-profiler-bundle (#470)
  • Fix: No need to verify whether hard dependency is not null (#469)
  • Enable Lazy service for phpredis (#440)
  • Use RedisDsn to build connection options for env based config (#439)
  • Fix support for DSN env variable with phpredis (#432)
  • fix #182 token serialization while lock remove (#437)
  • fix #419: Create a service locator for clients to be used in the commands. (#433)
  • Create cluster connection correctly for one host (#416)
  • Fix support for Heroku style REDIS_URL env variables (#413)
  • Use destructor to close session (partially reverted #348) (#412)
  • Add Serialization option (#411)
  • Remove ancient logging facilities
  • Properly detect Swiftmailer install
  • Check that Doctrine cache configs reference an object manager
  • Fix predis logging using symfony cache component
  • Make alias configuration default to client name
  • Command executions should be logged as DEBUG instead of INFO. In systems where INFO is being used to log informative messages like 'user logged in'.A loop with redis for e.g. in a background-process will pollute the logs extremely.
  • Update docs about private services
  • Make all bundle services private
  • Improve DX when dependencies are missing
  • Add PHPUnit 7 support and fix sample config for Symfony 3/4
  • Add session fixation note in the update notes
  • Default 7.1/7.2 builds use symfony 4.0 so force 3.4 instead of building twice with 4.0
  • Implement new Symfony 3.4+ session handler to gain session fixation protection and avoid unnecessary writes
SncRedisBundle - 2.1.10

Published by B-Galati about 5 years ago

Full Changelog

  • Wrap Parameters in array when using replication - fix #381 #516 (duxet)
  • Execute flushdb/flushall in all nodes of cluster #514 (peter-gribanov)
  • Use semver for PHP version at composer.json, added support for PHP 7.3 at Travis #508 (phansys)
  • Update method signatures in Client in order to respect its parent #507 (phansys)
  • Leverage "options.parameters" config in PhpredisClientFactory::create\(\) #505 (phansys)
  • fix #249 - fix session handler lock key prefix #503 (B-Galati)
  • fix #383 - deprecates redis service alias in favor of 'snc_redis.{alias}' #501 (B-Galati)
SncRedisBundle - 3.0.0-RC2

Published by B-Galati over 5 years ago

Full Changelog

  • Same changes as 2.1.9
SncRedisBundle - 2.1.9

Published by B-Galati over 5 years ago

Full Changelog

  • fix #498 - Add read_timeout connection option to phpredis #499 (B-Galati)
  • Not quoting the % indicator is deprecated #495 (magnetik)
  • Fix #312 - deprecation option cannot be false #494 (B-Galati)
  • Fix #449 - No master server available for replication #493 (B-Galati)
SncRedisBundle - 2.1.8

Published by B-Galati over 5 years ago

2.1.8 (2019-02-04)

Full Changelog

Merged pull requests:

SncRedisBundle - 3.0.0-RC1

Published by B-Galati over 5 years ago

  • Edge case - stay consistent with default values
  • Fix Swiftmailer version in requirements
  • Bugfix - phpredis client id must be the shortest one
  • Add quotes around client debug message
  • Excluded tests from classmap
  • Fix: Make script step explicit (#477)
  • Enhancement: Normalize composer.json (#475)
  • Fix: Explicitly configure Travis build matrix (#474)
  • Fix: Combine conditions (#472)
  • Fix: Remove useless else (#473)
  • Enhancement: Add note about usage with symfony/web-profiler-bundle (#470)
  • Fix: Travis CI badge URLs (#468)
  • Fix: No need to verify whether hard dependency is not null (#469)
  • Enable Lazy service for phpredis (#440)
  • Use RedisDsn to build connection options for env based config (#439)
  • Fix support for DSN env variable with phpredis (#432)
  • #182 token serialization while lock remove (#437)
  • #419: Create a service locator for clients to be used in the commands. (#433)
  • Create cluster connection correctly for one host (#416)
  • Remove env placeholder regexp (#422)
  • Fix dependency conflict at lowest version configuration
  • Add Serialization option (#411)
  • Remove ancient logging facilities
  • Properly detect Swiftmailer install
  • Check that Doctrine cache configs reference an object manager
  • Fix predis logging using symfony cache component
  • Make alias configuration default to client name
  • Command executions should be logged as DEBUG instead of INFO. In systems where INFO is being used to log informative messages like 'user logged in'.A loop with redis for e.g. in a background-process will pollute the logs extremely.
  • Raise TwigBundle dependency to fix prefer-lowest testing
  • Update docs about private services
  • Make all bundle services private
  • Expand functional tests to cover basic features
  • Improve DX when dependencies are missing
  • Add PHPUnit 7 support and fix sample config for Symfony 3/4
  • Fix type hints and organization of command tests
  • Add changelog
  • Remove obsolete tests and update docs
  • Add session fixation note in the update notes
  • Default 7.1/7.2 builds use symfony 4.0 so force 3.4 instead of building twice with 4.0
  • Implement new Symfony 3.4+ session handler to gain session fixation protection and avoid unnecessary writes
SncRedisBundle - 2.1.7

Published by curry684 about 6 years ago

  • Fix persistent connections when used many databases on the same instance (#462)