Skip to content

Commit 872db06

Browse files
Update changelog
1 parent 29464e4 commit 872db06

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,20 @@
22

33
All notable changes to `phpunit-snapshot-assertions` will be documented in this file
44

5+
## 4.0.0 - 2019-02-11
6+
7+
*Snapshots generated with `assertMatchesSnapshot` will break when upgrading to this version. The easiest way to upgrade is to ensure your snapshot tests pass, delete your snapshots, upgrade the package, then rerun the tests to generate new snapshots.*
8+
9+
- New snapshot formats when using `assertMatchesSnapshot`: scalars (strings, integers & floats) are serialized to `txt` files, objects & arrays are serialized to `yaml` files
10+
- New `TextDriver` to store snapshots in `txt` files
11+
- New `ObjectDriver` to serialize data to YAML and store snapshots in `yaml` files
12+
- Removed `VarDriver`
13+
514
## 3.1.1 - 2019-02-10
6-
- add support for PHPUnit 9 (#86)
15+
- Add support for PHPUnit 9 (#86)
716

817
## 3.1.0 - 2019-12-02
9-
- drop support for PHP 7.3
18+
- Drop support for PHP 7.3
1019

1120
## 3.0.0 - 2019-11-22
1221
- `assertMatchesJsonSnapshot` now supports all JSON serializable objects, and won't convert empty arrays to obejcts anymore

0 commit comments

Comments
 (0)