Skip to content

Commit 9cb4059

Browse files
committed
CHANGELOG notes for Version 5.0
1 parent 8958a77 commit 9cb4059

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,21 @@ View diff for a specific commit:
55
https://github.com/johnkary/phpunit-speedtrap/commit/XXX where XXX is the commit hash
66

77
View diff between two versions:
8-
https://github.com/johnkary/phpunit-speedtrap/compare/v3.3.0...v4.0.0
8+
https://github.com/johnkary/phpunit-speedtrap/compare/v4.0.0...v5.0.0
9+
10+
## 5.0 (xxxx-xx-xx)
11+
12+
Version 5.0 is the largest change since v1.0. It now uses PHPUnit's Extension
13+
and Hook systems, which have more restrictions on what an Extension is allowed
14+
to do.
15+
16+
Changes are required if you have extended SpeedTrapListener. See
17+
[UPGRADE.md](UPGRADE.md) for upgrading your subclass to support 5.0.
18+
19+
* SpeedTrap now requires PHPUnit 8+ and PHP 7.2+,
20+
* Moved namespace from `JohnKary\PHPUnit\Listener\SpeedTrapListener` to `JohnKary\PHPUnit\Extension\SpeedTrap`
21+
* `phpunit.xml` requires registering using <extension> element instead of <listener> element. See README.
22+
* Removed option `stopOnSlow` because Extensions can no longer manipulate the Test Runner
923

1024
## 4.0 (xxxx-xx-xx)
1125

0 commit comments

Comments
 (0)