Skip to content

Latest commit

 

History

History
89 lines (61 loc) · 3.46 KB

CHANGELOG.md

File metadata and controls

89 lines (61 loc) · 3.46 KB

Changelog for bramus/router

1.next – ????.??.??

1.6.1 – 2021.11.19

  • Fixed: Fix trigger404() to work without custom 404 handler (#169) (@mjoris)

1.6 – 2021.07.23

  • Added: Ability to set multiple 404s, depending on the route prefix (@uvulpos)

1.5 – 2020.10.26

  • Fixed: Correctly invoke static/non-static class methods (@bramus)
  • Fixed: Fix PHP 5.3 support (@cikal)
  • Fixed: Fix arguments in demo (@khromov)
  • Fixed: Fix #72 (@acicali)
  • Added: PHP 7.4 support (@ShaneMcC)
  • Added: Ability to externally trigger a 404 (@PlanetTheCloud)

1.4.2 – 2019.02.27

  • Fixed: Play nice with emoji in base paths (ref, ref) (@bramus)
  • Added: Extra Tests (@bramus)

1.4.1 – 2019.02.26

  • Fixed: Fix bug where Cyrillic charges and Emojis in placeholder were urlencoded (see #80) (@bramus)
  • Fixed: Make bramus/router play nice with situations where the entry script and entry URLs are not coupled (see #82) (@bramus)
  • Changed: Changed visibility of getBasePath and getCurrentUri to being public (@bramus)

1.4 – 2019.02.18

  • Added: Support for Cyrillic chars and Emoji in placeholder values and placeholder names (see #80) (@bramus)
  • Added: composer test shorthand (@bramus)
  • Added: Changelog (@bramus)
  • Changed: Documentation Improvements (@bramus)

1.3.1 – 2017.12.22

  • Added: Extra Tests (@bramus)
  • Changed: Documentation Improvements (@artyuum)

1.3 – 2017.12.21

  • Added: Support Class@method callbacks in set404() (@bramus)
  • Changed: Refactored callback invocation (@bramus)
  • Changed: Documentation Improvements (@artyuum)

1.2.1 – 2017.10.06

  • Changed: Documentation Improvements (@bramus)

1.2 – 2017.10.06

  • Added: Support route matching using “placeholders” (e.g. curly braces) (@ovflowd)
  • Added: Default Namespace Capability using setNamespace(), for use with Class@Method calls (@ovflowd)
  • Added: Extra Tests (@bramus)
  • Bugfix: Make sure callable are actually callable (@ovflowd)
  • Demo: Added a multilang demo (@bramus)
  • Changed: Documentation Improvements (@lai0n)

1.1 – 2016.05.26

  • Added: Return true if a route was handled, false otherwise (@tleb)
  • Added: getBasePath() (@ovflowd)
  • Added: Support Class@Method calls (@ovflowd)
  • Changed: Tweak a few method signaturs so that they're protected (@tleb)
  • Changed: Documentation Improvements (@tleb)

1.0 – 2015.02.04

  • First 1.x release

(Unversioned Releases) – 2013.04.08 - 2015.02.04

  • Initial release with suppport for:

    • Static and Dynamic Route Handling
    • Shorthands: get(), post(), put(), delete(), and options()
    • Before Route Middlewares / Before Route Middlewares: before()
    • After Router Middlewares / Run Callback
  • Added: Optional Route Patterns

  • Added: Subrouting (mount callables onto a subroute/prefix)

  • Added: patch() shorthand

  • Added: Support for X-HTTP-Method-Override header

  • Bugfix: Use the HTTP version as found in ['SERVER_PROTOCOL']

  • Bugfix: Nested Subpatterns / Multiple Matching (@jbleuzen)