Skip to content

Releases: divineniiquaye/flight-routing

Release of v2.1.0

08 Dec 06:44
430fb02
Compare
Choose a tag to compare

Release of v2.0.11

07 Nov 03:31
b7cb5d9
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.10...v2.0.11

Release of v2.0.10

03 Nov 11:32
7bc80b5
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.2...v2.0.10

Release of v2.0.2

11 Oct 02:15
b2a4ef3
Compare
Choose a tag to compare

Hotfix

Full Changelog: v2.0.1...v2.0.2

Release of v2.0.1

10 Oct 23:43
4153a4f
Compare
Choose a tag to compare

Hotfix

  • Fixed prefix group merging issue in the route collection's class @divineniiquaye

Full Changelog: v2.0.0...v2.0.1

Release of v2.0.0

10 Oct 21:39
cddc624
Compare
Choose a tag to compare

What's Changed

  • [BC BREAK] Removed the route class to use array instead of object
  • [BC BREAK] Removed the route matcher class to use only the Flight\Routing\Router class for route matching
  • [BC BREAK] Removed the buildRoutes method from the route collection class, use the getRoutes method directly
  • [BC BREAK] Removed the getRoute method from the route collection class, use the offGet method instead
  • [BC BREAK] Removed the routes method from the route collection class with no replacement
  • [BC BREAK] Removed the addRoute method from the route collection class, use the add method instead
  • [BC BREAK] Removed the isCached and addRoute methods from the default router class
  • [BC BREAK] Removed classes, traits and class methods which are unnecessary or affects performance of routing
  • [BC BREAK] Improved the route collection class to use array based routes instead of objects
  • [BC BREAK] Improved how the default route handler handles array like callable handlers
  • [BC BREAK] Replaced the route matcher implementation in the router class for compiler's implementation instead
  • [BC BREAK] Replaced unmatched route host exception to instead return null and a route not found exception
  • [BC BREAK] Renamed the Flight\Routing\Generator\GeneratedUri class to Flight\Routing\RouteUri
  • Removed symfony/var-exporter library support from caching support, using PHP var-export function instead
  • Added a new FileHandler handler class to return contents from a valid file as PSR-7 response
  • Added new sets of requirements to the Flight\Routing\RouteCompiler::SEGMENT_TYPES constant
  • Added a offGet method to the route collection class for finding route by it index number
  • Added PHP Countable support to the route collection class, for faster routes count
  • Added PHP ArrayAccess support to the route collection class for easier access to routes
  • Added support for the default route compiler placeholder's default rule from \w+ to .*?
  • Added a static export method to the default router class to export php values in a well formatted way for caching
  • Improved the route annotation's listener and attribute class for better performance
  • Improved the default route matcher's generateUri method reversing a route path and strictly matching parameters
  • Improved the default route matcher's class Flight\Routing\Router::match() method for better performance
  • Improved the default route handler's class for easier extending of route handler and arguments rendering
  • Improved the default route handler's class ability to detect content type of string
  • Improved and fixed route namespacing issues
  • Improved thrown exceptions messages for better debugging of errors
  • Improved the sorting of routes in the route's collection class
  • Improved the README.md doc file for better understanding on how to use this library
  • Improved coding standard in making the codebase more readable
  • Improved benchmarking scenarios for better performance comparison
  • Improved performance tremendously, see Benchmark Results
  • Updated all tests units rewritten with pestphp/pest for easier maintenance and improved benchmarking
  • Updated minimum requirement for installing this library to PHP 8.0
  • Version 2 Release by @divineniiquaye in #36

Full Changelog: v1.6.4...v2.0.0

Release of v1.6.4

01 Jun 10:14
d458895
Compare
Choose a tag to compare

Full Changelog: v1.6.3...v1.6.4

Improvement to matching cached dynamic routes

Release of v1.6.3

29 May 14:33
7ca3736
Compare
Choose a tag to compare

Release of v1.6.2

24 May 19:21
af60fe7
Compare
Choose a tag to compare

Full Changelog: v1.6.1...v1.6.2

Fixed issue with the route collection class unable to resolve prototyped routes

Release of v1.6.1

18 May 10:51
95d8177
Compare
Choose a tag to compare

Full Changelog: v1.6.0...v1.6.1

It is required/recommended to update to this version or later as it has better performance than all previous versions.