You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/changelog.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,15 @@
1
1
# Changelog
2
2
3
-
### 3.5.0 - New `current_cases` fixture and `get_current_cases` function
3
+
### 3.5.0 - New `current_cases` fixture and `get_current_cases` function + Fixes
4
+
5
+
- New: Users can now easily access the current cases for each parametrized argument thanks to the new `current_cases` fixture. A new helper function `get_current_cases` is also provided, for direct access from a hook. `get_current_case_id` becomes deprecated in favour of these two. Fixes [#195](https://github.com/smarie/python-pytest-cases/issues/195)
6
+
7
+
- Bugfix: Fixed issue where the cache of a `lazy_value` used for a tuple of parameters (several `argnames`) was not considering the pytest context and thus was wrongly used across pytest nodes. Fixes [#202](https://github.com/smarie/python-pytest-cases/issues/202)
4
8
5
9
- Improved error message when a fixture parametrized with several argnames as once is not able to unpack the parameter values received (non subscriptable object).
6
10
7
11
-`parametrize_plus` and `fixture_plus` are now deprecated in favour of `parametrize` and `fixture`, as most users seem to have adopted these names without issues.
8
12
9
-
- Users can now easily access the current cases for each parametrized argument thanks to the new `current_cases` fixture. A new helper function `get_current_cases` is also provided, for direct access from a hook. `get_current_case_id` becomes deprecated in favour of these two. Fixes [#195](https://github.com/smarie/python-pytest-cases/issues/195)
10
-
11
13
- (internal) Replaced the `"used"` parameter with a dedicated singleton `USED`
12
14
13
15
### 3.4.6 - Increased compatibility with other plugins
0 commit comments