Skip to content

Commit c13e8b6

Browse files
authored
Create CHANGELOG.rst
1 parent ad7753d commit c13e8b6

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

CHANGELOG.rst

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
2+
--------------
3+
Changelog
4+
--------------
5+
6+
v1.1.1 (2024-01-20)
7+
+++++++++++++++++++
8+
9+
* Fixes #54 - ``AttributeError`` when cacheprovider plugin disabled. Thanks @jhanm12
10+
11+
12+
v1.1.0 (2022-12-03)
13+
+++++++++++++++++++
14+
15+
* Fixes xdist support (thanks @matejsp)
16+
17+
18+
v1.0.4 (2018-11-30)
19+
+++++++++++++++++++
20+
21+
* Fixes issues with doctests reported in #36 - ``class``, ``package`` and ``module`` didn't work
22+
because ``DoctestItem`` doesn't have ``cls`` or ``module`` attributes. Thanks @tobywf.
23+
* Deprecate ``none`` bucket type. **Update**: this was a mistake, it will be kept for backwards compatibility.
24+
* With tox, run tests of pytest-random-order with both pytest 3 and 4.
25+
26+
v1.0.3 (2018-11-16)
27+
+++++++++++++++++++
28+
29+
* Fixes compatibility issues with pytest 4.0.0, works with pytest 3.0+ as before.
30+
* Tests included in the source distribution.
31+
32+
v1.0.0 (2018-10-20)
33+
+++++++++++++++++++
34+
35+
* Plugin no longer alters the test order by default. You will have to either 1) pass ``--random-order``,
36+
or ``--random-order-bucket=<bucket>``, or ``--random-order-seed=<seed>``, or
37+
2) edit your pytest configuration file and add one of these options
38+
there under ``addopts``, or 3) specify these flags in environment variable ``PYTEST_ADDOPTS``.
39+
* Python 3.5+ is required. If you want to use this plugin with Python 2.7, use v0.8.0 which is stable and fine
40+
if you are happy with it randomising the test order by default.
41+
* The name under which the plugin registers itself is changed from ``random-order`` (hyphen) to ``random_order``
42+
(underscore). This addresses the issue of consistency when disabling or enabling this plugin via the standard
43+
``-p`` flag. Previously, the plugin could be disabled by passing ``-p no:random-order`` yet re-enabled
44+
only by passing ``-p pytest_random_order.plugin``. Now they are ``-p no:random_order``
45+
to disable and ``-p random_order.plugin`` to enable (The ``.plugin`` bit, I think, is required because
46+
pytest probably thinks it's an unrelated thing to ``random_order`` and import it, yet without it it's the
47+
same thing so doesn't import it).
48+
49+
50+
v0.8.0
51+
++++++
52+
53+
* pytest cache plugin's ``--failed-first`` works now.

0 commit comments

Comments
 (0)