Releases: Codeception/module-symfony
2.1.0
What's Changed
By @TavoNiievez:
- PHP 7.4 or higher is required.
- Support PHP 8.1
- Updated code base to PHP 7.4 ( #146 )
- Fix broken links in docs ( #142 )
- Encapsulate the Client ( #140 )
By @ThomasLandauer:
- Improving error message for
public
services ( #145 ) - Updating Cest file location ( #144 )
- Changing
Symfony.php
-> trait ( #143 )
Full Changelog: 2.0.5...2.1.0
2.0.5
Added assertions for Symfony Mime component (#139):
assertEmailAddressContains
assertEmailAttachmentCount
assertEmailHasHeader
assertEmailHeaderNotSame
assertEmailHeaderSame
assertEmailHtmlBodyContains
assertEmailHtmlBodyNotContains
assertEmailNotHasHeader
assertEmailTextBodyContains
assertEmailTextBodyNotContains
2.0.4
2.0.3
2.0.2
Logical changes by @mrsombre :
- Fix Doctrine Connection service alias (#129)
Documentation changes by @ThomasLandauer :
submitSymfonyForm()
: Mentioningname
attribute (#128)
2.0.1
Minor changes in documentation by @ThomasLandauer :
- Added info from the 'Codeception for Symfony' page (#98)
- Explaining the
stopFollowingRedirects()
restriction for email (#118) - Added 'See also' in related email functions (#122)
- Standardize
"@example.com"
as domain in documentation (#124) - Mentioning Symfony Mailer requirement (#126)
- Changing Fail message for Symfony Mailer (#127)
2.0.0
- New:
- Added Twig assertions:
seeCurrentTemplateIs
,seeRenderedTemplate
anddontSeeRenderedTemplate
. - The
grabSentEmails
andgrabLastSentEmail
functions were added. - Added
SeeOrphanEvent
anddontSeeOrphanEvent
assertions. - The
$url
parameter is now optional in theseePageIsAvailable
assertion.
- Added Twig assertions:
- BC:
Symfony 3.4
support removed.Symfony 4.4
or higher is now required.- Support for
Swift Mailer
was dropped in favor ofSymfony Mailer
; themailer
configuration parameter was removed.
If you are already using
Symfony 4.4
or higher it should not be necessary to make changes to your tests to update!
1.6.0
-
New methods by @TavoNiievez:
- dontSeeEventTriggered
- seeFormErrorMessages
- seeUserHasRoles
-
Remembered authentication methods now also verify the Cookie generated (#81)
-
Fixed time metric when running test with
--debug
(#77)
If you're interested in contributing to this module and didn't know where to start, a contribution guide is now available, thanks to @ThomasLandauer and @TavoNiievez (#79).
BC: Removed support for PHP 7.1
and PHP 7.2
.
1.5.0
-
New method by @ThomasLandauer:
- dontSeeInSession
-
New methods by @TavoNiievez:
- dontSeeRememberedAuthentication
- grabNumRecords
- seeEventTriggered
- seeRememberedAuthentication
- seeSessionHasValues
- persistPermanentService
-
Now you can run test for all the methods of this module in https://github.com/Codeception/symfony-module-tests .
-
BC: Remove PHP 7.0 support (#69), code standards updated to PHP 7.1+ (#75)
-
BC: Removed parameter flags in
seeAuthentication
,dontSeeAuthentication
andpersistService
, useseeRememberedAuthentication
,dontSeeRememberedAuthentication
andpersistPermanentService
instead.
Minor logical change in #74.
1.4.2
- Support PHP 8 by @Naktibalda