Skip to content

Latest commit

 

History

History
85 lines (61 loc) · 3.83 KB

CHANGELOG.md

File metadata and controls

85 lines (61 loc) · 3.83 KB

Changelog

All notable changes to this project will be documented in this file, in reverse chronological order by release.

0.11.0 - unreleased

Changed

  • PHP 7.2 is now minimum requirement (#21).

0.10.0 - 2022-05-13

Added

  • Support for symfony/stopwatch:^6.0 (#20).

Removed

  • Support for symfony/stopwatch:^3.0 (#20).
  • Support for tuupola/callable-handler:^0.3.0 (#20).

0.9.1 - 2021-04-05

Added

  • Support for symfony/stopwatch:^5.0 (#15).

0.9.0 - 2020-12-01

Added

  • Allow installing with PHP 8 (#11).

0.8.2 - 2018-10-23

Added

  • Support for tuupola/callable-handler:^1.0.

0.8.1 - 2018-08-08

Changed

  • Use stable version of PSR-17 in tests.

0.8.0 - 2018-04-24

Changed

  • New header format as implemented in Chrome 66 (#5) (#8)
  • Removed unused options from Tuupola\Middleware\ServerTiming constructor.

0.7.0 - 2018-01-25

Added

0.6.0 - 2017-12-27

Added

  • Support for the latest version of PSR-15.
  • Possibility to rename or disable default timings via options array.
    $app->add(new ServerTimingMiddleware($stopwatch, [
        "bootstrap" => "Startup",
        "process" => null,
        "total" => "Sum"
    ]);

Changed

  • Classname changed from ServerTiming to ServerTimingMiddleware.
  • ServerTimingMiddleware is now declared final.
  • PSR-7 double pass is now supported via tuupola/callable-handler library.
  • PHP 7.1 is now minimum requirement.

Removed

  • PSR-15 is now PHP 7.x only. Support for PHP 5.X was removed.

0.5.0 - 2017-07-30

Added

  • StopwatchInterface to enable custom stopwatch implementations (#3).

Changed

  • Stopwatch instance is now protected instead of private (#3).

0.4.0 - 2017-05-11

Changed

  • Values are now in milliseconds as required by Chrome 58.

0.3.0 - 2017-03-09

Added

  • QueryTimer class for Doctrine DBAL which can be used to automatically get SQL timings.

0.2.0 - 2017-03-08

Initial realese. Supports both PSR-7 and PSR-15 style middlewares. Both have unit tests. However PSR-15 has not really been tested in production.