Masonite 2.1
Introduction
All classes in core now have docstrings
Auto Resolving Parameters
def show(self, Request):
return Request.redirect('/')from masonite.request import Request
def show(self, request: Request):
return request.redirect('/')container = App(resolve_parameters=True)Class Middleware
Removed the Payload Input
Removed the facades module.
Provider Refactoring
Route Provider
Moved parameter parsing into if statement
StartResponse Provider
Moved parameter parsing into if statement
StartResponse Provider
Moved parameter parsing into if statement
Added ability use dot notation for views
Moved the CsrfMiddleware into core and extended it
Completely cleaned the project
Removed Helper functions by default
Added seeds by default
Added code to __init__.py file in migrations and seeds
Route Printing
Added migrate:status Command
Added simple container bindings
simple container bindingsAdded a new global mail helper
Removed the need for |safe filters on built in template helpers.
|safe filters on built in template helpers.Improved setting status codes
Added several new methods to service providers
Added View Routes
Renamed cache_exists to exists
Added without method to request class
Added port to database
Added ability to use a dictionary for setting headers.
Added a new Match route
Added Masonite Events into core
Added ability to set email verification
Request redirection set status codes
Added craft middleware command
View can use dot notation
Added Swap to container
Added a new env function
Added ability to resolve with paramaters at the same time
Added password reset to auth command
Route Compiler
Added Database Seeders
Made HTTP Prefix to None by Default
Getting a header returns blank string rather than None
Added Maintenance Mode
Removed Store Prepend method
Last updated