Skip to content

Commit

Permalink
Prepare for 7.0.0 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjw296 committed Jul 6, 2022
1 parent a5cfbf6 commit 97622bf
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
31 changes: 31 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,37 @@
Changes
=======

7.0.0 (6 Jul 2022)
------------------

- Refresh documentation.

- Add type annotations.

- Drop support for Python 2. The minimum supported Python version is now 3.6.

- Sybil 3 is now the minimum supported version if you use :class:`~.sybil.FileParser`.

- Rename and refactor the date and time mocks, they are now :any:`mock_date`, :any:`mock_datetime`
and :any:`mock_time`.
:func:`test_date`, :func:`test_datetime` and :func:`test_time` are still present as aliases but
are now deprecated.

- Add :meth:`TempDirectory.as_string`, :meth:`TempDirectory.as_path` and
:meth:`TempDirectory.as_local`. :meth:`TempDirectory.getpath` is now deprecated.

- :class:`TempDirectory` can now be used to wrap existing directories.

- Fixed a bug where :any:`OutputCapture.captured` returned bytes instead of a string with
``fd=True``.

- The deprecated ``strict`` option to :class:`Comparison` has been removed, use the ``partial``
option instead.

- The deprecated :meth:`TempDirectory.check`, :meth:`TempDirectory.check_dir`
and :meth:`TempDirectory.check_all` methods have been removed.


6.18.5 (1 Mar 2022)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion testfixtures/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.18.5
7.0.0

0 comments on commit 97622bf

Please sign in to comment.