Skip to content

Releases: MasoniteFramework/core

v2.2.7

27 Jul 22:38
Compare
Choose a tag to compare

Change Log

Added

  • Added several new testing methods: assertHasAmount, assertNotHasAmount, parameterIs, assertParameterIs, headerIs, assertIsStatus
  • Added better exception messages for when a controller is not found
  • Added ability to activate subdomains while testing
  • Added ability to only add specific routes rather than adding addtional routes while testing

Fixed

  • Assertion messages for amount has been improved.
  • Fixed issue with routes ending in trailing slash throwing 404
  • Fixed captureOutput test method.

Internal

  • Refactored route provider tests
  • Now uses CircleCI for continuous integration.

v2.2.6

05 Jul 16:53
Compare
Choose a tag to compare

Change Log

  • Fixed issue with JSON casting values
  • Fixed issue with CSRF testing
  • Fixed issue with wsgi.input encoding during testing
  • Added ability to use a wildcard for validations and input retrieving

v2.2.5

27 Jun 03:20
Compare
Choose a tag to compare

Changelog

  • Fixed issue with route url parameters rarely but sometimes caching

v2.2.4

27 Jun 00:36
Compare
Choose a tag to compare

Changelog

  • Added better exception messages

v2.2.2

24 Jun 02:56
cab173c
Compare
Choose a tag to compare

Changelog

Added

  • Added assertDatabaseHas assertion on testcases.
  • Added exception when acting as a None user

Fixed

  • Better exceptions when the password is of the wrong type (not strings)
  • Fixed issue with JSON responses
  • Fixed issue with route compiling

v2.1.1

16 Jun 00:36
Compare
Choose a tag to compare

Change Log

  • Added 4 new JSON related testing methods: count, amount, hasJson and hasAmount

v2.2.0

15 Jun 11:32
Compare
Choose a tag to compare

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

v2.2.0b3.post3

09 Jun 03:50
Compare
Choose a tag to compare
v2.2.0b3.post3 Pre-release
Pre-release

Change Log

  • Several small quality of life improvements

v2.2.0b3.post2

08 Jun 04:06
Compare
Choose a tag to compare
v2.2.0b3.post2 Pre-release
Pre-release

Change log

  • Added test scaffold command, publish command
  • Removed all helper functions for routes
  • Moved all configs into lazy loading
  • Added show method to contains
  • Added singleton to container class
  • Added json test
  • Added environment to for testing
  • Added with and without CSRF

v2.1.30

04 Jun 02:20
Compare
Choose a tag to compare

Change Log

  • Fixed issue with file validation not working properly