Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.13 KB

UPGRADE.md

File metadata and controls

24 lines (17 loc) · 1.13 KB

3.x to 4.0

  • Passing a bool to the constructor of ApiResponse was removed, pass a status code instead.
  • The method ApiResponse::withStatusCode() was removed. Pass the status code in the constructor instead.

2.x to 3.0

  • Routable was removed in favor of Linkable and LinkableInterface.
  • The BaseController methods ::normalizeFormErrors(), ::getLogger() and ::fetchJsonRequestBody() have been changed from public to protected. Please make sure that these methods are not being used externally within your controllers.
  • The sortable handlers were removed. There is no replacement.
  • The simple entity search handlers were removed. There is no replacement.
  • The Model class was removed. Use EntityModel instead.
  • The missing return types in ModelInterface were added.
  • IdTrait and TimestampsTrait were removed. Migrate to EntityFieldsTrait and ModifiableEntityFieldsTrait instead.
  • EntityInterface was moved to a new namespace and has an additional method.

1.x to 2.0

  • The CLI helpers in src/Command were removed. Use the corresponding classes from 21torr/cli instead.