Skip to content

Releases: matecat/klein.php

Version 3.2.0

23 Oct 17:17

Choose a tag to compare

Features

  • Lightning fast routing! From 100x to 1000x faster dispatch. Big performance improvements for large route collections with radix Tree routing. Benchmarks
  • 100% Code Coverage
  • Breaking changes, see UPGRADING.md

Full Changelog: v3.1.0...v3.2.0

Version 3.1.0

17 Oct 15:07

Choose a tag to compare

Features

  • Support for PHP 8.3
  • Dropped support for previous PHP versions
  • Updated PHPUnit to version 12

Version 3.0.0

17 Oct 14:50

Choose a tag to compare

Features

  • Support for PHP >= 8.1
  • Dropped support for previous PHP versions
  • Removed the "magical" way of inputting mask in DataCollections in favor of PHP 8 named arguments.
  • Removed use of 404/405 "routes" (deprecated in previous versions). Use $klein->onHttpError() instead.
  • Removed "magical" callback behavior in favor of PHP 8.3 named arguments. Now the function accepts an optional string path as the first parameter and a NOT optional callback.
  • Removed "magical" markdown behavior. Now the function accepts a string and an optional array of values.
  • Removed "magical" markdown behavior. Now the function accepts a string and an optional array of values.
  • Removed "magical" behavior of ServiceProvider::flash() method. Now the function accepts a string and an optional array of values.
  • Updated PHPUnit to version 10