Skip to content

Releases: chillerlan/php-settings-container

4.0.0

Choose a tag to compare

@codemasher codemasher released this 20 Mar 22:14
  • required minimum PHP is now 8.4
  • dependency updates

3.3.0

Choose a tag to compare

@codemasher codemasher released this 20 Mar 21:26
  • Adjusted the behaviour of several methods in order to properly support property hooks in PHP 8.4+.
  • Added the methods SettingsContainerAbstract::hasSetHook() and SettingsContainerAbstract::hasGetHook() to check for existing property hooks.
  • Added the protected constants SettingsContainerAbstract::SET_PREFIX and SettingsContainerAbstract::GET_PREFIX
  • Added the attribute ThrowOnInvalidProperty to tell the magic get/set methods whether to throw when a property is inaccessible via the method SettingsContainerAbstract::throwOnInvalidProperty().
  • dependency updates

(i somehow forgot to tag this earlier...)

2.1.6

Choose a tag to compare

@codemasher codemasher released this 17 Jul 01:25
  • SettingsContainerAbstract::toJSON() will now always throw a JsonException on error, regardless of the given $jsonOptions
  • SettingsContainerAbstract::toArray() now runs the object values through the magic getter (as it always should have)
  • added explicit nullable types to several method parameters
  • added declare(strict_types=1)
  • switched static analysis from phan to phpstan (see chillerlan/php-qrcode#277)
  • CI & dependency updates

(backport of v 3.2.x except for serialize support)

3.2.1

Choose a tag to compare

@codemasher codemasher released this 16 Jul 11:24
  • SettingsContainerAbstract::toJSON() will now always throw a JsonException on error, regardless of the given $jsonOptions
  • switched static analysis from phan to phpstan (see chillerlan/php-qrcode#277)
  • CI & dependency updates

3.2.0

Choose a tag to compare

@codemasher codemasher released this 02 Mar 20:24
  • implements the Serializable interface
  • SettingsContainerAbstract::toArray() now runs the object values through the magic getter (as it always should have)
  • added explicit nullable types to several method parameters
  • added declare(strict_types=1)
  • dependency & CI updates

3.1.1

Choose a tag to compare

@codemasher codemasher released this 06 Jan 00:02
  • CI updates

2.1.5

Choose a tag to compare

@codemasher codemasher released this 05 Jan 23:27
  • removed examples namespace
  • CI updates

1.2.3

Choose a tag to compare

@codemasher codemasher released this 12 Dec 13:58
  • fix JsonSerializable::jsonSerialize() return type deprecation warning in PHP 8.1+ (#2)
  • CI updates

3.1.0

Choose a tag to compare

@codemasher codemasher released this 27 Jul 17:43
  • return static instead of
  • CI updates

3.0.0

Choose a tag to compare

@codemasher codemasher released this 05 Nov 22:39
  • dropped support for PHP < 8.1