Skip to content

Releases: skipperbent/simple-php-router

Version 4.2.0.6

24 Nov 23:48
b715c48
Compare
Choose a tag to compare
  • Fix for __invoke methods (issue: #429)
  • Fixed not being able to parse body of PUT requests.
  • BaseCsrfVerifier expects the field name to be "csrf-token" (issue: #432)
  • Minor optimisations

Version 4.2.0.5

30 Aug 23:42
ac594eb
Compare
Choose a tag to compare
  • Settings parameter in group method are no longer optional.
  • Updated README to contain PHP JSON-extension under requirements.
  • Updated composer.json to include php json extension.
  • Minor optimisations.

Version 4.2.0.4

24 Aug 15:26
57c9da2
Compare
Choose a tag to compare
  • Fix for issue #421: Incorrectly optional character in route.

Version 4.2.0.3

22 Apr 03:37
45a5176
Compare
Choose a tag to compare
  • Fixed Input::all() returning empty array when posting json- data (issue #415 - thanks @mtaylor456)

Version 4.2.0.2

06 Apr 17:46
9ccff91
Compare
Choose a tag to compare
  • Fixed 403 (not allowed or not found) exception is now thrown as NotFoundHttpException.
  • Added REQUEST_TYPE_HEAD to Route class.
  • Minor optimizations.

Version 4.2.0.1

06 Apr 16:04
13501b3
Compare
Choose a tag to compare
  • Fixed missing default parameter for all method in InputHandler.
  • Added methods for adding get, post and file parameters manually.

Version 4.2.0.0

06 Apr 15:28
af641e3
Compare
Choose a tag to compare
  • Added new SimpleRouter::redirect method.
  • Changed method-names in InputHandler for better description.
  • Fixed return-types for InputHandler when retrieving collections.
  • Added unit-tests for InputHandler (get, post).
  • Optimisations and bugfixes.
  • Updated documentation.

Changelog

Methods in InputHandler has changed to provide better support for object-types.

Version 4.1.0.0

02 Apr 12:56
89be00a
Compare
Choose a tag to compare
  • Added new event when adding route.
  • Added prependUrl method to LoadableRoute class.
  • Added unit-test for add-route event.
  • Updated documentation to reflect new changes.

Version 4.0.0.13

01 Apr 02:28
313833d
Compare
Choose a tag to compare
  • Fixed exists method in InputHandler returning incorrect value.

Version 4.0.0.12

01 Apr 01:03
e77d78e
Compare
Choose a tag to compare
  • Fixed hasParam not working returning expected value in Url class.
  • Chained the remaining methods in the Url class.
  • Simplified removeParam method in Url class.
  • Added new removeParams method to Url class for removal of multiple params.