Releases: studionone/flint
Releases · studionone/flint
Bug fixes
v1.0.10: Can now use callables as service definitions
-
This is done to fix a problem in iDebitPro
-
This now allows Pimple-style service definitions in
services.phpandcontrollers.php -
This release also fixes the
shareproperty ofservices.php, it is now consistent across the code-base:<?php return [ // .. 'share' => true, ];
v1.0.9: ServiceParser is no longer a singleton
- This fixes some test issues in app-level code
- Bumps version to v1.0.9
v1.0.8: Config injection for services
- Application config can now be injected into services as a dependency via
@configtoken in arguments
v1.0.5: Route assertion bug fixes
- Fixes invalid
$assertinitialisation in RouteParser
v1.0.3: Multiple route assertions feature
- Fixes bug in route assertions that was preventing them working
- Route assertions can now be an array of two values (paramater name as the first item, regex as the second), or an associative array of parameter names as keys with regexes as values
v1.0.1: Added in assert capability into the RouteParser
Note: This is only a first-cut, it *only* works for a _single_ assert param. In the future we will want to allow a set of asserts, as `Map<string, string>` where each key is a param name and each value is the assert regex.
v1.0.0: Major fixes
- Breaks backwards-compatibility with controller configuration, it's now setup to work the same way as services.php