Skip to content

Releases: danadesrosiers/silex-annotation-provider

3.0

03 Dec 03:51
Compare
Choose a tag to compare

Redesigned annotation format. No more Doctrine Annotations.
Uses PSR-16 cache instead of Doctrine Cache.
Simplified feature set. Removes support for ServiceProviders, custom Service Controller registration, and other obscure customization options in favor of simplicity.
Minimum PHP version is now 7.1. No official support for HHVM.

2.1.2

03 Dec 03:54
Compare
Choose a tag to compare

Fixed fast register when the bootstrap is not at the root directory.

v2.1.1...v2.1.2

2.1.1

26 Nov 05:41
e0a7e89
Compare
Choose a tag to compare

Fixes Fast Register and the controller registration errors it caused.

v2.1.0...v2.1.1

2.1

09 Nov 04:21
d6d1d3f
Compare
Choose a tag to compare
2.1

Adds Fast Register feature.

v2.0.1...v2.1.0

2.0.1

25 Mar 19:26
cc3bead
Compare
Choose a tag to compare

Fixes caching when using multiple controller directories (Issue #22).
Fixes out of date documentation in README and README cleanup.

v2.0...v2.0.1

2.0

25 Jan 05:12
Compare
Choose a tag to compare
2.0

This is the 2.0 release, supporting Silex version 2.

1.1 Release

28 Nov 20:02
Compare
Choose a tag to compare

This release introduces the @Controller annotation and the 'annot.controllerDir' option. It is no longer necessary to register each controller. The annotation provider will search the given directory for classes that have the @Controller and automatically register them.

Other updates include the ability to specify multiple methods in a single @Request annotation (contributed by @DerManoMann), code cleanup, and tools to customize the provider's behavior.

1.0 Release

15 Jun 23:45
Compare
Choose a tag to compare

This release includes the following updates:

  • Testing.
  • Code cleanup.
  • Reformatting to be PSR-2 compliant.
  • Conversion to PSR-4.
  • It is no longer necessary to specify srcDir when registering the service. It is now deprecated. This was a convenient consequence of the PSR-4 conversion.

Bug Fixes

04 May 17:34
Compare
Choose a tag to compare

The Route annotation did not work if more than one annotation was nested inside it.
Now the args argument of the Modifier annotation can be omitted if there are no arguments.

Updates to specifying a cache class, added @Secure annotation.

05 Jan 21:23
Compare
Choose a tag to compare

Updated annot.cache to take an instance of any class implementing Doctrine\Common\Cache\Cache. Previously annot.cache accepted only a string which limited caching choices to existing Doctrine cache implementations that did not require any setup more complicated than an empty constructor. Now anything could be used as long as it implements the Cache interface. The string input still works as it always has, but is not recommended.

Added the @secure annotation. This provides the functionality included by the security trait.