Skip to content

Releases: studionone/flint

Bug fixes

18 Oct 01:38

Choose a tag to compare

  • Fixed issue where Service Parser did not allow for anonymous functions to be used with Controllers

v1.0.10: Can now use callables as service definitions

23 May 05:55

Choose a tag to compare

  • This is done to fix a problem in iDebitPro

  • This now allows Pimple-style service definitions in services.php and controllers.php

  • This release also fixes the share property of services.php, it is now consistent across the code-base:

    <?php
    return [
        // ..
        'share' => true,
    ];

v1.0.9: ServiceParser is no longer a singleton

07 Jan 05:21

Choose a tag to compare

  • This fixes some test issues in app-level code
  • Bumps version to v1.0.9

v1.0.8: Config injection for services

23 Dec 06:37

Choose a tag to compare

  • Application config can now be injected into services as a dependency via @config token in arguments

v1.0.5: Route assertion bug fixes

22 Dec 04:30

Choose a tag to compare

  • Fixes invalid $assert initialisation in RouteParser

v1.0.3: Multiple route assertions feature

22 Dec 01:27

Choose a tag to compare

  • 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

21 Dec 05:11

Choose a tag to compare

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

21 Dec 00:48

Choose a tag to compare

  • Breaks backwards-compatibility with controller configuration, it's now setup to work the same way as services.php