Skip to content

Commit f5226ef

Browse files
github-actions[bot]github-actions[bot]
authored andcommitted
updated
1 parent 72851d7 commit f5226ef

2 files changed

Lines changed: 389 additions & 48 deletions

File tree

changelog.markdown

Lines changed: 54 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,60 @@ title: Codeception Changelog
99

1010

1111

12+
### module-symfony 3.10.0: 3.10.0
13+
14+
Released by [![](https://avatars.githubusercontent.com/u/64917965?v=4&s=16){:height="16" width="16"} TavoNiievez](https://github.com/TavoNiievez) on 2026/06/27 01:10:38 / [Repository](https://github.com/Codeception/module-symfony) / [Releases](https://github.com/Codeception/module-symfony/releases)
15+
16+
17+
18+
Minor release featuring two new assertion trait groups, Symfony 8.1 test support, plus DX, performance, and bug fixes.
19+
20+
## 🚀 New Features
21+
22+
### Messenger Assertions
23+
Introduced `MessengerAssertionsTrait` for testing dispatched messages ([[#241](https://github.com/Codeception/module-symfony/issues/241)]):
24+
* `seeMessageDispatched()`
25+
* `dontSeeMessageDispatched()`
26+
* `seeDispatchedMessageCount()`
27+
* `grabDispatchedMessageClasses()`
28+
29+
### Symfony-Inherited Assertions
30+
Ported directly from Symfony's own test helpers ([[#240](https://github.com/Codeception/module-symfony/issues/240)]):
31+
32+
* **Browser:** `assertBrowserHistoryIsOnFirstPage()`, `assertBrowserHistoryIsNotOnFirstPage()`, `assertBrowserHistoryIsOnLastPage()`, `assertBrowserHistoryIsNotOnLastPage()`
33+
* **DomCrawler:** `assertSelectorCount()`, `assertAnySelectorTextContains()`, `assertAnySelectorTextSame()`, `assertAnySelectorTextNotContains()`
34+
* **Mailer:** `getMailerEvents()`, `getMailerMessages()`, `getMailerMessage()`
35+
* **Mime:** `assertEmailAddressNotContains()`, `assertEmailSubjectContains()`, `assertEmailSubjectNotContains()`
36+
37+
## 🔄 Changed
38+
39+
### Mail/Mime Assertions Refactor
40+
Assertions now operate on `RawMessage` instead of `Email` to support any sent message type ([[#232](https://github.com/Codeception/module-symfony/issues/232)]):
41+
* `grabLastSentEmail()` return type widened from `?Email` to `?RawMessage`.
42+
* `assertEmailAddressContains()`, `assertEmailHasHeader()`, `assertEmailNotHasHeader()`, `assertEmailHeaderSame()`, and `assertEmailHeaderNotSame()` now accept `?Message` instead of `?Email`.
43+
44+
> ⚠️ **Important Runtime Note:**
45+
> The object returned by `grabLastSentEmail()` remains an `Email` instance at runtime, but its declared type is now the wider `RawMessage`. If your tests rely on `Email`-specific methods (like `->getTo()` or `->getSubject()`), you must explicitly narrow the type using `instanceof Email` or a type cast. Alternatively, migrate to the new `assertEmailSubjectContains()` or header assertions where possible.
46+
47+
### Quality of Life & Performance
48+
* Improved DX, type safety, and performance across all assertion traits by adding/tightening type hints and reducing redundant operations in hot paths. ([[#235](https://github.com/Codeception/module-symfony/issues/235)], [[#234](https://github.com/Codeception/module-symfony/issues/234)])
49+
50+
## 🐛 Fixed
51+
52+
* **Doctrine:** Fixed missing security context in Doctrine entity listeners after a kernel reboot. ([[#236](https://github.com/Codeception/module-symfony/issues/236)])
53+
* **Profiler:** Fixed profiler service deprecation by switching to the non-deprecated internal service ID. ([[#237](https://github.com/Codeception/module-symfony/issues/237)])
54+
55+
## 🛠️ Maintenance
56+
57+
* Added **Symfony 8.1** to the test matrix and included `symfony/messenger` as an unchanged dev dependency. ([[#243](https://github.com/Codeception/module-symfony/issues/243)])
58+
* Applied the 7.4 `reset-formats` patch using GNU patch (fuzz) and pinned `codeception/module-rest` to `^3.4` in the functional suite. ([[#242](https://github.com/Codeception/module-symfony/issues/242)])
59+
60+
## 🤝 New Contributors
61+
* **@krrico** made their first contribution in https://github.com/Codeception/module-symfony/pull/232
62+
63+
**Full Changelog**: https://github.com/Codeception/module-symfony/compare/3.9.1...3.10.0
64+
65+
1266
### lib-innerbrowser 4.1.1: 4.1.1
1367

1468
Released by [![](https://avatars.githubusercontent.com/u/64917965?v=4&s=16){:height="16" width="16"} TavoNiievez](https://github.com/TavoNiievez) on 2026/06/26 22:08:38 / [Repository](https://github.com/Codeception/lib-innerbrowser) / [Releases](https://github.com/Codeception/lib-innerbrowser/releases)
@@ -4187,20 +4241,6 @@ Released by [![](https://avatars.githubusercontent.com/u/395992?v=4&s=16){:heigh
41874241

41884242

41894243

4190-
### module-symfony 1.4.0: 1.4.0
4191-
4192-
Released by [![](https://avatars.githubusercontent.com/u/64917965?v=4&s=16){:height="16" width="16"} TavoNiievez](https://github.com/TavoNiievez) on 2020/11/24 16:56:31 / [Repository](https://github.com/Codeception/module-symfony) / [Releases](https://github.com/Codeception/module-symfony/releases)
4193-
4194-
4195-
4196-
* New methods by **[TavoNiievez](https://github.com/TavoNiievez)**:
4197-
* seeFormErrorMessage ([#50](https://github.com/Codeception/module-symfony/issues/50))
4198-
* dontSeeFormErrors function ([#49](https://github.com/Codeception/module-symfony/issues/49))
4199-
* seeFormHasErrors function ([#48](https://github.com/Codeception/module-symfony/issues/48))
4200-
4201-
* Minor logic fixes ([#51](https://github.com/Codeception/module-symfony/issues/51)), ([#47](https://github.com/Codeception/module-symfony/issues/47)), ([#44](https://github.com/Codeception/module-symfony/issues/44)), ([#41](https://github.com/Codeception/module-symfony/issues/41)) and ([#56](https://github.com/Codeception/module-symfony/issues/56)).
4202-
4203-
42044244
### module-webdriver 1.1.4: Documentation improvements
42054245

42064246
Released by [![](https://avatars.githubusercontent.com/u/395992?v=4&s=16){:height="16" width="16"} Naktibalda](https://github.com/Naktibalda) on 2020/11/16 07:24:08 / [Repository](https://github.com/Codeception/module-webdriver) / [Releases](https://github.com/Codeception/module-webdriver/releases)

0 commit comments

Comments
 (0)