Skip to content

v2.2.0

Compare
Choose a tag to compare
@josephmancuso josephmancuso released this 15 Jun 11:32
· 373 commits to 2.2 since this release

Change Log

Added

  • Added a / to the front of a route URL if it does not exist.
  • Added an accept(*) to the upload drivers
  • Added a lot more view helpers
  • Added better test case for database tests
  • Added container remembering
  • Added environment for testing
  • Added JWT auth driver
  • Added new HTTP verbs to routes (OPTIONS, TRACE, CONNECT, etc)
  • Added parameters to middleware in routes
  • Added publishing
  • Added redirection with_errors
  • Added register method to auth class
  • Added show method to contains
  • Added singleton to the container class
  • Added storage drivers to manage files
  • Added test scaffold command, publish command
  • Added URL parameters can now be resolved in the controller method.
  • Added a brand new custom built validation library
  • Added with and without CSRF to tests
  • Added errors and 404's are now returned in JSON if the incoming content type is application/json
  • Added new TestCase class for running test cases.
  • Rebuilt the testing code for Masonite
  • Added json test cases

Changed

  • Changed Auth class now is resolved and does not need a request to be passed in
  • Changed all tests to unittests
  • Changed regex compiling to before the server starts for speed increases.
  • Changed the async driver to use either threading or multiprocessing
  • Changed craft serve command now reloads by default. You can still pass in the -r flag but it is not required. You can also disable reloading by using craft serve -d for --dont-reload
  • Changed view back helper now defaults to the current path

Internal Changes

  • Changed all configs in core code to be lazy loaded to allow importing Masonite outside of Masonite apps
  • Rearranged drivers all into own packages

Removed

  • Removed all helper functions for routes
  • Removed the validation library that shipped with Masonite. Masonite now ships with one built from scratch