Skip to content

Commit 6c12903

Browse files
committed
Update the changelog for 1.7.0
1 parent 4169121 commit 6c12903

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

CHANGES.md

+42
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
1+
1.7.0 / 2015-09-20
2+
==================
3+
4+
New features:
5+
6+
* Added `Session::getResponseHeader` to access a response header easily
7+
* Added support for header assertions
8+
* Added a forward compatibility layer for drivers to allow them to prepare
9+
for Mink 2.0 (they won't require any change if they use it). They should
10+
now overwrite `CoreDriver::findElementXpaths` instead of implementing `find`
11+
and `setSession` themselves.
12+
* Added escaping of the locator in the NamedSelector rather than expecting
13+
the caller to perform the escaping. Passing an escaped locator is still
14+
supported but deprecated.
15+
* Remove the dependency on the Session in expectation exceptions. Passing
16+
the session in the exception constructor is now deprecated. The driver
17+
should be passed instead.
18+
19+
Bug fixes:
20+
21+
* Fixed the URL assertions when comparing paths ending in ``.php``
22+
* Silenced deprecation warnings (following the Symfony convention) to make
23+
them less invasive. Use the `symfony/phpunit-bridge` to get them reported
24+
when using Mink in your PHPUnit tests.
25+
* Fixed `NodeElement::hasClass` in case the class attribute contains newlines
26+
27+
Testsuite:
28+
29+
* Made the testsuite compatible with PHPUnit strict timing mode (only the library testsuite, not the driver one)
30+
* Added testing against PHP 7
31+
* Added testing against lowest version of dependencies to ensure we got the lower bounds right
32+
33+
Driver testsuite:
34+
35+
* Added an extra test to ensure the right behavior when getting the HTML with empty elements
36+
* Added a few more safeguards to ensure test failures rather than fatal errors for misbehaving drivers
37+
* Added a test ensuring that drivers follow recommended practices
38+
39+
Misc:
40+
41+
* Added a few missing deprecation warnings for deprecated APIs or classes.
42+
143
1.6.1 / 2015-02-04
244
==================
345

0 commit comments

Comments
 (0)