Skip to content

v1.13.0

Choose a tag to compare

@github-actions github-actions released this 27 Oct 19:22
· 18 commits to 1.x since this release
69ba271

Added

  • Added scheduled() state to post factory to create scheduled posts.
  • Added create_ordered_set_and_get() method to factories to create and retrieve an ordered set of models.
  • Added collect_many() and collect_many_and_get() methods to factories to create multiple models and return them as a collection.
  • Added support for passing callables as model attributes in factories.
  • Added PermalinkStructure attribute to set the permalink structure during tests.
  • Added scheduled() state to post factory to create scheduled posts.
  • Added create_ordered_set_and_get() method to factories to create and retrieve an ordered set of models.
  • Added collect_many() and collect_many_and_get() methods to factories to create multiple models and return them as a collection.
  • Added support for passing callables as model attributes in factories.
  • Added PermalinkStructure attribute to set the permalink structure during tests.

Changed

  • Clear $_COOKIE and $_SESSION in addition to other superglobals when cleaning the global scope between tests.
  • Added Deprecation attribute to some already-deprecated methods in the framework to better indicate their deprecation status.

Fixed

  • Fixed issue where Mantle\Types\Validator is used within mantle-framework/support but mantle-framework/types is not a dependency.