Skip to content

Commit

Permalink
Prepare for 6.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
cjw296 committed Nov 21, 2023
1 parent 56bb568 commit 89f02d2
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
34 changes: 34 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,40 @@
Changes
=======

6.0.0 (21 Nov 2023)
-------------------

- The public interface is now fully typed and checked with ``mypy``.

- Official support for Python 3.12 with Python 3.7 now being the minimum
supported version.

- :doc:`Markdown <markdown>` is now supported separately to
:doc:`MyST <myst>`.

- :any:`ReST <sybil.parsers.rest.lexers.DirectiveLexer>` and
:any:`MyST <sybil.parsers.myst.lexers.DirectiveLexer>` directives
now have their options extracted as part of the lexing process.

- Added support for MyST single-line html-style comment directives.

- Fixed parsing of MyST directive options with no leading whitespace.

- Fixed parsing of Markdown and MyST fenced codeblocks at the end of documents with no
trailing newline.

- Rework document evaluators to be more flexible and structured.

- :ref:`skip <skip-parser>` has been reworked to check validity of operations
and allow a reason to be provided for an unconditional skip so it can be
highlighted as a skipped test in test runner output. The skip parsers
are also now lexer-based.

- Make :attr:`Region.evaluator` optional, removing the need for the separate
``LexedRegion`` class.

Huge thanks to Adam Dangoor for all his work on typing!

5.0.3 (14 Jul 2023)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name='sybil',
version='5.0.3',
version='6.0.0',
author='Chris Withers',
author_email='chris@withers.org',
license='MIT',
Expand Down

0 comments on commit 89f02d2

Please sign in to comment.