Skip to content

Releases: aternosorg/php-lock

v2.0.0

13 Dec 13:49
afcded8
Compare
Choose a tag to compare

⚠️ v2.0.0 requires PHP >= 8.1

What's Changed

  • Update to use PHP 8.1 by @pavog in #8
  • Update to use phpunit 10.5 by @pavog in #8
  • PHP 8.4 compatability: Make parameter types explicitly nullable by @pavog in #9
  • Update year in LICENSE by @pavog in #7 and #6

Full Changelog: v1.2.0...v2.0.0

v1.2.0

07 Jun 11:52
d963154
Compare
Choose a tag to compare

What's Changed

  • Update license year and rename Aternos UG to Aternos GmbH by @pavog in #1
  • Update phpunit to 9.5.20
  • Updated aternos/etcd to 1.5.0
  • Add namespace to test by @pavog in #3
  • Improve tests by @pavog in #4
  • Improve test coverage for lock functions by @pavog in #5

New Contributors

  • @pavog made their first contribution in #1

Full Changelog: v1.1.2...v1.2.0

v1.2.0-RC2

24 Mar 13:51
5034c0a
Compare
Choose a tag to compare
v1.2.0-RC2 Pre-release
Pre-release
set return type for jsonSerialize()

v1.2.0-RC1

24 Mar 13:45
36ff431
Compare
Choose a tag to compare
v1.2.0-RC1 Pre-release
Pre-release

What's Changed

  • Updated aternos/etcd to 1.5.0-RC1 and google/protobuf to 3.20.0-RC2
  • Update license year and rename Aternos UG to Aternos GmbH by @pavog in #1
  • Update phpunit to 9.5.19 by @pavog in #2
  • Add namespace to test by @pavog in #3
  • Improve tests by @pavog in #4

New Contributors

  • @pavog made their first contribution in #1

Full Changelog: v1.1.2...v1.2.0-RC1

v1.1.2

17 Nov 13:10
Compare
Choose a tag to compare
allow null identifiers

v1.1.1

12 Nov 16:47
Compare
Choose a tag to compare
separated wait logic into public function

v1.1.0

12 Nov 16:31
Compare
Choose a tag to compare

This release requires at least PHP 8.0.

This is a general refactor cleaning up the code a bit and moving the locking logic from the EtcdLock to the Lock class which doesn't acquire a lock in its constructor. The previous EtcdLock class still exists and works the same as before by extending the Lock class. The new Lock class allows creating a $lock object to read existing locks without immediately acquiring one.

v1.0.4

05 May 22:04
Compare
Choose a tag to compare
add getter for identifier and allow disabling of auto lock break on d…

v1.0.3

11 Sep 14:44
Compare
Choose a tag to compare
also retry unknown exceptions

v1.0.2

11 Sep 14:31
Compare
Choose a tag to compare
also retry deadline exceeded exceptions