Skip to content

Commit 718b26e

Browse files
committed
πŸš€ Release v1.4.0
1 parent c160dcc commit 718b26e

4 files changed

Lines changed: 43 additions & 4 deletions

File tree

β€Ždocs/changelog.rstβ€Ž

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,45 @@ Unreleased
77
----------
88
:Released: under development
99

10+
.. _`release:1.4.0`:
11+
12+
1.4.0
13+
-----
14+
:Released: 16.06.2026
15+
16+
This release adds Sphinx-Needs 8 support and the ability to map JUnit XML
17+
``<properties>`` onto Sphinx-Needs fields and links. It also registers every
18+
field that Sphinx-Test-Reports adds with a typed schema, so unset fields no
19+
longer trigger false-positive ``unevaluatedProperties: false`` schema-validation
20+
warnings, and it fixes JUnit ``<error>`` test cases being reported as passed.
21+
22+
* Feature: Map JUnit XML ``<properties>`` to Sphinx-Needs fields and links via
23+
the new ``tr_property_link_types`` and ``tr_extra_options`` options.
24+
`#135 <https://github.com/useblocks/sphinx-test-reports/pull/135>`_
25+
* Improvement: Support Sphinx-Needs 8 by registering fields through the new
26+
``add_field`` API, falling back to ``add_extra_option`` on older versions.
27+
`#133 <https://github.com/useblocks/sphinx-test-reports/pull/133>`_
28+
* Bugfix: Register ``file``, ``suite``, ``case``, ``case_name``,
29+
``case_parameter`` and ``classname`` with a typed (string) schema so they
30+
default to an unset/``None`` value and are stripped before schema validation.
31+
Previously they were registered untyped and defaulted to ``""``, which caused
32+
false-positive ``Unevaluated properties are not allowed`` warnings on needs
33+
that did not set them when a schema used ``unevaluatedProperties: false``.
34+
`#133 <https://github.com/useblocks/sphinx-test-reports/pull/133>`_
35+
* Bugfix: Handle the JUnit ``<error>`` result state in ``parse_testcase()``;
36+
``<error>`` test cases were previously misclassified as ``passed``.
37+
`#134 <https://github.com/useblocks/sphinx-test-reports/pull/134>`_
38+
* Testing: Run the test suite against Sphinx-Needs 6.3.0.
39+
`#130 <https://github.com/useblocks/sphinx-test-reports/pull/130>`_
40+
* Testing: Add a regression test that a strict schema ignores unpopulated
41+
Sphinx-Test-Reports fields.
42+
`#137 <https://github.com/useblocks/sphinx-test-reports/pull/137>`_
43+
* Docs: Clarify the Sphinx-Needs type names (``testfile``, ``testsuite``,
44+
``testcase``) versus the hyphenated directives.
45+
`#136 <https://github.com/useblocks/sphinx-test-reports/pull/136>`_
46+
* Docs: Note that numeric ``cases`` filtering requires Sphinx-Needs >= 6.
47+
`#139 <https://github.com/useblocks/sphinx-test-reports/pull/139>`_
48+
1049
.. _`release:1.3.2`:
1150

1251
1.3.2

β€Ždocs/conf.pyβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
author = "team useblocks"
3333

3434
# The short X.Y version
35-
version = "1.3"
35+
version = "1.4"
3636
# The full version, including alpha/beta/rc tags
37-
release = "1.3.2"
37+
release = "1.4.0"
3838

3939
needs_id_regex = ".*"
4040
needs_css = "dark.css"

β€Žpyproject.tomlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"
44

55
[project]
66
name = "sphinx-test-reports"
7-
version = "1.3.2"
7+
version = "1.4.0"
88
description = "Sphinx extension for showing test results and test environment information inside sphinx documentations"
99
readme = "README.rst"
1010
license = { text = "MIT" }

β€Žsphinxcontrib/test_reports/test_reports.pyβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
# fmt: on
4040

41-
VERSION = "1.3.2"
41+
VERSION = "1.4.0"
4242

4343
# Field descriptions for better semantics
4444
FIELD_DESCRIPTIONS = {

0 commit comments

Comments
Β (0)