requirements.txt
file in new projects. This will allow packages to release new Majors outside of the major upgrades of Masonite. So we can develop new package improvements faster.masonite.testing.TestSuite
class has been completely removed. This was a class that was obsolete and has been replace by the masonite.testing.TestCase
class anyway. The TestSuite
class was bascially wrappers around some of the commands that predated the newer testing features.libsass
provider. Because of these limitations, Masonite 2.3 will remove it completely.get_response()
method then the class will be rendered using that method. The View
class now acts in this way.Auth
class and towards Guard
classes. These classes will be responsable for handling everything from getting the user to handling logging in and logging out.Auth
class for a Guard
classAuth
class you will get an instance of a Guard
class instead. The use of both classes are identical so they should just work as is.AuthenticationProvider
Auth
class now contains a new method which returns a list of routes. This cleans up the web.py
file nicely when scaffolding.assertHasHeader
and assertNotHasHeader
.craft preset
command which will generate some .json
files and example templates. There is a react
, vue
and bootstrap
preset currently./?filter[name]=Joe&filter[user]=bob&[email protected]
query_parse
helper which you can use to parse a query string the same way Masonite does.collect
method which allows you to collect all the classes in the container with a certain key or an instance of a class like this:Command
.Responsable
masonite/
Directory To The src/masonite
Directoryevery
, every_minute
, every_15_minutes
, every_30_minutes
, every_45_minutes
, daily
, hourly
, weekly
, monthly
.CanSchedule
class which gives it access to the new self.call()
method (which is used to schedule commands) and self.schedule()
method (which is used to schedule jobs).scheduler
to masonite.scheduler
. So you will need to refactor your imports.from masonite.api.
namespace rather than the previous from api.