Skip to content

v3.2.0

Choose a tag to compare

@wilaak wilaak released this 15 Sep 11:43
· 138 commits to master since this release

[v3.2.0] - 15.09.2025

Added

  • Method to list all routes or routes for a specific path.
  • Changelog with previous changes for better clarity and transparency.
  • Examples for path correction and OPTIONS method handling in README.

Changed

  • [Potential Breaking] Empty segments in route patterns (e.g. //) will now throw an exception.
  • Improved compatibility: Replaced ctype extension (introduced v3.0.0) with preg_match.
  • Route pattern is now included in lookup results.
  • Overhauled exception messages; standardizing their prefix and improving consistency.
  • Route conflict exceptions now show both the original conflicting patterns.
  • Updated benchmark scripts for more realistic results and easier usage.
  • Composer now includes the router by default, improving startup performance.

Improved

  • Improved lookup performance by optimizing copy-on-write and hash map usage.