You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
1.0.0 - 2024-02-05
Added
Added PEST for testing.
The Router object ($this) is now passed to the callback of a route for access to the router's methods.
Changed
Switched to PHP 8.3 as a minimum requirement.
Switched return type of redirect() and redirectTo to never.
addRoute() now accepts an enum HttpMethod instead of a string. This removes the necessity to check the validity of the input. If it's not a valid enum value, the interpreter throws a TypeError. Plus, it introduces enums to students.
Checked log calls for null safety.
basePath is now a property and not static anymore.
Class constants are now typed.
Updated all dependencies.
Removed
composer.lock is now excluded from version control for more flexibility.