Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

3.0.0 - 2022-10-03

  • Added support for mixed and union type hints in action method parameters.
  • Added getViewPaths and setViewPaths methods to Application.
  • Deprecated getViewPath method in Application.
  • Changed required PHP version to >= 8.0.
  • Changed required datatypes version to 3.0.
  • Backward compatibility break: Removed deprecated AbstractController and AbstractActionResult classes.
  • Backward compatibility break: Removed deprecated setExpiry method in Response.

2.2.0 - 2021-09-01

  • Added ControllerTrait.
  • Added CustomItemsTrait.
  • Added isClientError, isInformational, isRedirection, isServerError and isSuccessful methods to StatusCode.
  • Added setExpiryDateTime method to Response.
  • Deprecated AbstractController.
  • Deprecated setExpiry method in Response.
  • Changed required PHP version to >= 7.3.

2.1.0 - 2019-06-13

  • Added ActionResult.
  • Added type hints functionality in action method parameters.
  • Added ActionResultException handling in action methods.
  • Added BadRequestResult and BadRequestResultException.
  • Added UnauthorizedResult and UnauthorizedResultException.
  • Added ViewOrActionResultInterface.
  • Session cookie is marked as "secure" if request is secure (https).
  • Session cookie and session is not created when reading from an empty session.
  • Session cookie and session is destroyed if session is empty.
  • Deprecated AbstractActionResult.

2.0.4 - 2019-01-07

  • Fixed #4 - Exception thrown when using backslash in query string.

2.0.3 - 2018-10-17

  • Fixed #3 - Request url protocol is always https in IIS.

2.0.2 - 2018-09-25

  • Fixed #2 - Header Authorization not present with Apache/2.4.7.

2.0.1 - 2018-06-19

  • Fixed #1 - Empty action method parameter when "0" is last in url.

2.0.0 - 2018-05-14

  • Backward compatibility break: Replaced getException/setException methods with getThrowable/setThrowable in ErrorController.
  • Backward compatibility break: Moved session handling from Application to Request.
  • Updated PHP requirement to 7.1.

1.1.0 - 2018-04-29

  • Added getClientIp method to Request.
  • Added getReferrer method to Request.
  • Added getCookieValue method to Request.
  • Added setCookieValue method to Response.
  • Added ErrorControllerTrait.
  • Added isPreActionEventEnabled and isPostActionEventEnabled methods to Controller.
  • Prevented onPreActionEvent and onPreActionEvent methods from running on error controller if an exception occurred.

1.0.0 - 2018-02-03

  • First stable revision.