Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: predis/predis
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.0
Choose a base ref
...
head repository: predis/predis
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.1
Choose a head ref
  • 9 commits
  • 12 files changed
  • 8 contributors

Commits on Jun 13, 2022

  1. Add example for installing predis by Composer (#772)

    * Add example for installing predis by Composer
    
    * Update README.md
    
    Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com>
    Jayin and tillkruss authored Jun 13, 2022
    Copy the full SHA
    7d7b341 View commit details

Commits on Jun 15, 2022

  1. Add array as possible return type to spop (#774)

    * Add array as possible return type to spop
    
    * Update ClientInterface.php
    
    Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com>
    tfedor and tillkruss authored Jun 15, 2022
    Copy the full SHA
    2a8dd6a View commit details

Commits on Jun 28, 2022

  1. bugfix for srem type to accept array #779 (#780)

    * bugfix for srem  type to accept array #779
    
    * add test to test SREM accept members as array type #779
    BrightQi authored Jun 28, 2022
    Copy the full SHA
    78fd4cb View commit details

Commits on Jun 29, 2022

  1. Copy the full SHA
    4ec74cc View commit details

Commits on Jul 12, 2022

  1. Fix sentinel reconnect issue on long-running PHP processes (#784)

    * Fix no sentinel server available for autodiscovery on Swoole
    
    * Fix errors in PHPUnit 9.5
    
    the reason: sebastianbergmann/phpunit@6858204?fbclid=IwAR1qy1jFNFeJ3hUt5k7XAflqyCTUTWZhEqVSeizkybVHUEqXjBZ1gJM739U
    
    * add restart sentinel test
    Linc70J authored Jul 12, 2022
    Copy the full SHA
    a602fc7 View commit details

Commits on Aug 3, 2022

  1. Add retry logic to support temporary redis cluster failure (#788)

    * Add retry logic to support temporary redis cluster failure
    
    * formatting
    
    * Use exponential backoff retries.
    $minRetryAfter cant be changed if needed with RedisCluster::setMinRetryAfter
    
    * fix formating
    
    * (hotfix) formaing + import import  \Predis\Response\Error and \Predis\Connection\ConnectionException
    
    * Update RedisCluster.php
    
    * formatting
    
    * tweaks
    
    * Update RedisCluster.php
    
    * Update RedisCluster.php
    
    * Update RedisCluster.php
    
    * Update unit tests regarding renaming of "retryInterval"
    
    * spacing
    
    Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com>
    digital2real and tillkruss authored Aug 3, 2022
    Copy the full SHA
    12f6d30 View commit details
  2. Update CHANGELOG.md

    tillkruss authored Aug 3, 2022
    Copy the full SHA
    6468e6c View commit details
  3. Update CHANGELOG.md

    tillkruss authored Aug 3, 2022
    Copy the full SHA
    dd4ddf6 View commit details

Commits on Sep 4, 2022

  1. bump tag to v2.0.1

    tillkruss committed Sep 4, 2022
    Copy the full SHA
    7683215 View commit details
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## Changelog

## v2.0.1 (2022-09-04)

- Added retry interval to `RedisCluster` with a default of `10ms`
- Avoid PHP 8.2 warning in `Connection\Parameters`
- Fixed Sentinel reconnect issue in long-running PHP processes

## v2.0.0 (2022-06-08)

- Dropped support for PHP 7.1 and older
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -35,6 +35,10 @@ This library can be found on [Packagist](http://packagist.org/packages/predis/pr
management of projects dependencies using [Composer](http://packagist.org/about-composer).
Compressed archives of each release are [available on GitHub](https://github.com/predis/predis/releases).

```shell
composer require predis/predis
```


### Loading the library ###

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.0
2.0.1
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@
*/
class Client implements ClientInterface, \IteratorAggregate
{
const VERSION = '2.0.0';
const VERSION = '2.0.1';

/** @var OptionsInterface */
private $options;
Loading