Pux v2.0 Release Notes

  • 🆕 New features:

    • ➕ Added universal/universal package.
    • ➕ Added Pux/RouteRequest class for dispatching routes with request constraints.
    • ➕ Added Pux\Dispatchable interface.

    Incompatible changes:

    • 📇 Renamed Executor => RouteExecutor
    • ✂ Removed expand property
    • 🚚 Moved Pux\Controller to Pux\Controller\Controller.
    • 🚚 Moved mux expanding logics expand() from Pux\Controller to Pux\Controller\ExpandableController.

    🛠 Fixes:

    • 🛠 Fixed pattern compiler for post-separators. e.g. /:year-:month or /blog/:id(.:format)
    • 🛠 Fixed action method annotation parser

    🗄 Deprecation:

    • ✨ Disabled Mux->expand property to enhance submux dispatching.