Skip to content

Releases: EFTEC/RouteOne

1.33

02 Mar 14:55
Compare
Choose a tag to compare
  • 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

23 Jan 01:22
Compare
Choose a tag to compare
  • 2024-01-22 1.32.1
    • fixed a problem when the pattern doesn't have values, example "contact/"

1.32

22 Jan 18:36
Compare
Choose a tag to compare
  • 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.31

09 Jan 13:30
Compare
Choose a tag to compare

a small cleanup

1.30.1

13 Nov 11:46
Compare
Choose a tag to compare
  • 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

08 May 19:41
Compare
Choose a tag to compare
  • 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

05 Mar 02:32
Compare
Choose a tag to compare
  • 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

04 Mar 13:51
Compare
Choose a tag to compare
  • 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

15 Feb 11:35
Compare
Choose a tag to compare
  • 2023-02-15 1.27
    • Cleanup of the code and documentation. Deprecating old methods

1.26.4

14 Feb 20:59
Compare
Choose a tag to compare

1.26.4 2023-02-14