Releases: colinmollenhour/credis
Releases · colinmollenhour/credis
Bug fixes and TLS support for PHP Redis extension
- PHP Redis extension support TLS since 5.3.0
- Fixes AUTH may not cleanup last error
- Fixes port always be 6379 even no port specified in host string and specified the port number other then 6379 in constructor
- Fixes persistent too
- Add PHP 7.4 to unit tests
- Fix test framework issues
Add Credis_Client::VERSION constant
fix syntax error urgently (#138) closes #137
PHP 7.4 Support
change argument order of implode (#131) to follow the documented order, reverse order is deprecated from php 7.4 on
1.11.0: Enable encrypted connections with TLS (#129)
* Enable encrypted connections with TLS Use standalone PHP driver because PHP Redis extension doesn't work with TLS. Syntax `$redis = new Credis_Client('tls://host[:port][/persistence_identifier]')` * Enable encrypted connections with TLS
Fix hashing of array arguments for Credis_Cluster
1.10.1 Credis_Cluster - Fix hashing mechanism for array arguments (#111)
`exists` should return an int.
Merge pull request #101 from Xon/patch-1 Test against redis v4 & test phpredis v4 (breaking API change for exists())
Fix compatibility with PHP <5.6
WIP: Add unit tests for PHP 5.5 (#95) * Add unit tests for PHP 5.5
Lots of improvements! Thanks @Xon!
Unit tests & multi/exec fixes (#89) * Suppress errors on cleanup (and avoid potentially deleting the config files) * The pubsub test crassh on phpredis 3.13 and below, but works with 3.1.4RCx. * All basic tests pass (except pubsub with phpredis which explicitly fails) * Fix-up testMasterSlave test * Give Redis time to exit * Fixup testGetHostAndPort test * Allow php7.x opcache to optimize the array to be vastly more compact, and use an O(1) lookup rater than a array scan of strings. * When in standalone multi() mode, exec() now decodes the result, and discard() destroys any pipelining or multi setup. * Rearange testPipeline & testPipelineTransaction to have the same test functionality. Add tests for zrangebyscore/zrevrangebyscore * Fix pipeline/multi modes for more commands * Shim zRange/zRevRange arguments before they are sent to phpredis & expand test coverage * remove unneeded variable * In fluent mode, credis returns itself * Add test for watch/unwatch, ensure the connection is closed/cleaned up when a pipeline&multi or watch fails. * Use diskless replication and add some delays for initial setup time. * Implement info() command for Sentinel * sentinel tests now wait for replication setup to finish * Run all tests * Restore php5.6 support in Credis_cluster * Compile redis from source so redis-sentinel is available * Tweak travis build * Move binaries to the right directory * Update PATH environment variable rather than move binaries around. * Remove debugging code * Better tolerance of slop in the timeout * Push common code into CredisTestCommon * Use role() instead of info() to reliably get the slave connecting state * Move sleep after connect check * Add waitForSlaveReplication for reliable waiting for master-slave replication
1.8.2
Handle is an application convert a php error into an Exception
New features and improvements
Support for more Redis commands, Credis_Sentinel, and more.