Releases: EFTEC/RouteOne
Releases · EFTEC/RouteOne
1.33
- 2024-03-02 1.33
- Updating dependency to PHP 7.4. The extended support of PHP 7.2 ended 3 years ago.
- Added more type hinting in the code.
1.32.1
- 2024-01-22 1.32.1
- fixed a problem when the pattern doesn't have values, example "contact/"
1.32
- 2024-01-22 1.32
- unit test updated.
- now, the route file is always called index.php
- fetchPath() considers the required field and the optional field.
1.30.1
- 2023-11-13 1.30.1
- fixed a bug with fetch() when the url fetched is null
- updated .htaccess, so it works better with different situations.
1.30
- 2023-05-08 1.30
- addPath() now allows to specify a middleware.
- 2023-04-02 1.29
- [RouteOneCli] updated
- new method instance() so we could get a singleton instance using RouteOne::instance();
1.28
- 2023-03-04 1.28
- Added static paths to addPath()
- callObjectEx() now allows any parameter. If the parameter is not a defined value, then it is obtained from the route.
- callObjectEx() now allows named parameter.
- callObjectEx() now allows to pass an instance and callable instead of the name of the class.
- callObjectEx() allows to filter by type of Path. By default, it does not filter value
1.27.1
- 2023-03-04 1.27.1
- Fix a small bug when addPath() add a path that starts with "/". Now, the value is trimmed.
1.27
- 2023-02-15 1.27
- Cleanup of the code and documentation. Deprecating old methods