Releases: web-love/wp-router
Releases · web-love/wp-router
Bug fix
Allow custom response objects in custom routes
Fixed a issue where on some edge cases deep arrays would break PHP get_class() function. It has been replaced with a more defensive is_a() function that prevent this type of error.
Change default custom_API_endpoint
Changed the default custom_api_endpoint
in Weblove\WPRouter\RouterInterface
to api/v1
so it follows the Router
class default implementation
Simplify folder structure
Simplify folder structure of the library so it's easier to extend in the future.
PSR-4 compliant autoload
Add a PSR-4 compliant autoload to the composer package.
Add autoload features
This package is now autoloaded with composer.
Stable release
First stable release of Wp-router.