Skip to content

Releases: nepada/security-annotations

5.1.3

23 Nov 09:23

Choose a tag to compare

  • PHP 8.5 compatibility

5.1.2

27 Oct 16:55

Choose a tag to compare

  • PHP 8.4 compatibility

5.1.1

19 Apr 16:44

Choose a tag to compare

  • nette/application 3.2.2 compatibility
  • SecuredComponents marked deprecated (replaced by upstream support since nette/application 3.2.2)

5.1.0

28 Sep 11:52

Choose a tag to compare

  • Drop support for PHP <8.1
  • Use public readonly properties to simplify the attribute classes
  • Drop useless annotations
  • PHP 8.3 compatibility

5.0.2

04 Feb 15:25

Choose a tag to compare

  • Support nette/utils 4

5.0.1

16 Oct 09:58
6cb9c1e

Choose a tag to compare

  • PHP 8.2 compatibility

5.0.0

13 Aug 19:06

Choose a tag to compare

  • Added support for Role and Resource objects (mostly useful in combination with native PHP enums)
  • Drop deprecated usage of Doctrine annotations (BC break)
  • Drop deprecated shape of Role attribute constructor with roles list passed as array (BC break)

4.3.0

15 May 12:07

Choose a tag to compare

  • Explicitly restrict maximum supported PHP version in composer.json
  • Drop PHP 7.4 support
  • Deprecate usage of Doctrine annotations, use native PHP attributes instead
  • Change Role attribute constructor signature to variadic parameter, passing multiple rows as single array argument is deprecated

4.2.0

16 Oct 20:26

Choose a tag to compare

  • PHP 8.1 compatibility.

4.1.0

12 Dec 19:32

Choose a tag to compare

  • PHP 8.0 compatiblity.
  • PHP attributes support:
    • Security metadata can be now specified via standard PHP attribute syntax (supported on PHP >= 8.0).
    • PHP attributes are preferred over legacy PHP DocBlock annotations. Next major version will support PHP attributes only.
  • Bundled annotations are now explicitly limited to class and method usage.
  • Bundled annotations now define getters for all properties, direct access to public properties is considered deprecated and will be removed in next major version.
  • New configuration option enableDoctrineAnnotations (true by default). Set it to false to disable legacy PHP DocBlock annotations support and test the application with PHP attributes only.