Skip to content

Releases: colinmollenhour/credis

Bug fixes and TLS support for PHP Redis extension

12 Oct 21:03
dc20027
Compare
Choose a tag to compare
  • 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

15 Jun 18:38
b8b2bd6
Compare
Choose a tag to compare
fix syntax error urgently (#138)

closes #137

PHP 7.4 Support

23 Dec 16:11
Compare
Choose a tag to compare
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)

25 Oct 19:29
Compare
Choose a tag to compare
* 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

05 Mar 16:31
Compare
Choose a tag to compare
1.10.1

Credis_Cluster - Fix hashing mechanism for array arguments (#111)

`exists` should return an int.

07 May 14:46
8ab6db7
Compare
Choose a tag to compare
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

05 Oct 20:29
Compare
Choose a tag to compare
WIP: Add unit tests for PHP 5.5 (#95)

* Add unit tests for PHP 5.5

Lots of improvements! Thanks @Xon!

26 Sep 05:22
Compare
Choose a tag to compare
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

12 Jul 20:49
Compare
Choose a tag to compare
Handle is an application convert a php error into an Exception

New features and improvements

22 Mar 22:18
Compare
Choose a tag to compare

Support for more Redis commands, Credis_Sentinel, and more.