Masonite 2.2
Masonite 2.2
Route Prefixes
Get('/some/url')Get('some/url')URL parameters can now optionally be retrieved from the controller definition
def show(self, view: View, request: Request):
user = User.find(request.param('user_id'))
return view.render('some.template', {'user': user})def show(self, user_id, view: View):
user = User.find(user_id)
return view.render('some.template', {'user': user})Added a storage manager and disk storage drivers
Async driver now can be specified whether to use threading or processing
Added new HTTP Verbs
JSON error responses
Rearranged Drivers into their own folders
Craft serve command defaults to auto-reloading
Added Accept(*) to drivers
Added much more view helpers
All Tests are now unittests
Added a better way to run database tests
The back view helper now defaults to the current path
Added a completely new validation library
Auth class does not need the request class.
Completely changed how classes are resolved on the backend
Added a new register method for authentication
Moved all regex compiling before the server boots
Added Container Remembering
Added with_errors to the request class
Added the concept of publishing
Added a new JWT driver for authentication
Last updated