# Change Log

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [2.2.0] - 2025-03-21
### Added
- Support for PHP 8.4

## [2.1.0] - 2021-04-08
### Added
- New option `attribute` to store the previous path in a request attribute [#2] [#3].

## [2.0.1] - 2020-12-02
### Added
- Support for PHP 8

## [2.0.0] - 2019-11-30
### Removed
- Support for PHP 7.0 and 7.1

### Fixed
- Improved code quality

## [1.1.0] - 2018-08-04
### Added
- PSR-17 support

### Changed
- Moved `middlewares/utils` to dev dependencies

## [1.0.0] - 2017-01-24
### Added
- Improved testing and added code coverage reporting
- Added tests for PHP 7.2

### Changed
- Upgraded to the final version of PSR-15 `psr/http-server-middleware`

### Fixed
- Updated license year

## [0.5.0] - 2017-11-13
### Changed
- Replaced `http-interop/http-middleware` with  `http-interop/http-server-middleware`.

### Removed
- Removed support for PHP 5.x.

## [0.4.0] - 2017-09-21
### Changed
- Append `.dist` suffix to phpcs.xml and phpunit.xml files
- Changed the configuration of phpcs and php_cs
- Upgraded phpunit to the latest version and improved its config file
- Updated to `http-interop/http-middleware#0.5`

## [0.3.0] - 2016-12-26
### Changed
- Updated tests
- Updated to `http-interop/http-middleware#0.4`
- Updated `friendsofphp/php-cs-fixer#2.0`

## [0.2.0] - 2016-11-22
### Changed
- Updated to `http-interop/http-middleware#0.3`

## [0.1.1] - 2016-10-02
### Fixed
- Ensure the path always begins with `/`

## 0.1.0 - 2016-09-30
First version

[#2]: https://github.com/middlewares/base-path/issues/2
[#3]: https://github.com/middlewares/base-path/issues/3

[2.2.0]: https://github.com/middlewares/base-path/compare/v2.1.0...v2.2.0
[2.1.0]: https://github.com/middlewares/base-path/compare/v2.0.1...v2.1.0
[2.0.1]: https://github.com/middlewares/base-path/compare/v2.0.0...v2.0.1
[2.0.0]: https://github.com/middlewares/base-path/compare/v1.1.0...v2.0.0
[1.1.0]: https://github.com/middlewares/base-path/compare/v1.0.0...v1.1.0
[1.0.0]: https://github.com/middlewares/base-path/compare/v0.5.0...v1.0.0
[0.5.0]: https://github.com/middlewares/base-path/compare/v0.4.0...v0.5.0
[0.4.0]: https://github.com/middlewares/base-path/compare/v0.3.0...v0.4.0
[0.3.0]: https://github.com/middlewares/base-path/compare/v0.2.0...v0.3.0
[0.2.0]: https://github.com/middlewares/base-path/compare/v0.1.1...v0.2.0
[0.1.1]: https://github.com/middlewares/base-path/compare/v0.1.0...v0.1.1
