Skip to content

Releases: php-lock/lock

Release 1.1

15 Apr 09:46
Compare
Choose a tag to compare
  • Library no longer uses rand() but instead uses random_int(). Now depends on paragonie/random_compat for PHP 5.6 compatibility (#7, #9, #10).
  • Fixed issue where locks could not be released if ext-redis was used with SERIALIZER_PHP or SERIALIZER_IGBINARY serialization option (#8, #14, provided by @maestroprog).
  • Spin locks will now time out at the exact time out time, instead of waiting beyond the timeout.
  • Distribution no longer ships with tests or tooling files.
  • composer.json was updated to require all development extensions too.
  • Now tested against PHP 7.2 and PHP 7.3 too.
  • HHVM support dropped.

BC breaks

  • The method seedRandom() has been removed from the RedisMutex class.