Bugfix release: Edge cases of [GRAMMAR] and Composable Documents, ReqIF, HTML2PDF UTF8 support on Windows
This is an intermediate bugfix release before the release which will contain major changes.
The following issues have been fixed:
-
backend/sdoc: validate grammar from file like a normal grammar (#1831). Thanks to @haxtibal for reporting this.
-
backend/reqif: exporting grammar types (#1809). Thanks to
@PQ
from Discord for giving feedback about the end-to-end export/import between StrictDoc and Polarion. -
html2pdf: specify UTF-8 encoding when writing HTML file (#1816). Thanks to @npalluat for reporting this based on their experience of running StrictDoc on Windows.
-
backend/sdoc: allow using "DESCRIPTION" or "CONTENT" field instead of "STATEMENT" (#1827) Previously only STATEMENT could be used as a reserved statement field. Now StrictDoc will auto-detect two more alternative fields if they are present: DESCRIPTION or CONTENT. Thanks to @haxtibal for requesting this and explaining the use case.
-
pyproject.toml: update python-datauri (#1820) @DomenicP reported an issue to python-datauri which StrictDoc depends on. They ran into an integration issue with the datauri library installing tests to the virtual environment. The library maintainer was kind enough to quickly resolve the issue in fcurella/python-datauri#14. Thanks @DomenicP!
What's Changed
- Bump version 0.0.54 by @stanislaw in #1776
- Technical debt: document_screen_view_object: encapsulate render moved node update by @stanislaw in #1778
- Composable Documents: copy assets in a redundant way for included documents by @stanislaw in #1780
- Bump version to 0.0.55a1 by @stanislaw in #1781
- Code climate: fix mypy version guard by @stanislaw in #1782
- Code climate: enable attr-defined and no-any-return check by @stanislaw in #1783
- Code climate: enable remaining mypy checks by @stanislaw in #1784
- Code climate: sdoc/models/document: fix no-untyped-call by @stanislaw in #1785
- Code climate: sdoc/models/document: fix no-untyped-def by @stanislaw in #1786
- Code climate: sdoc/models/section: remove unused code by @stanislaw in #1787
- backend/reqif: reqif_to_sdoc: simplify iteration by @stanislaw in #1789
- backend/reqif: reqif_to_sdoc: simplify iteration further by @stanislaw in #1791
- CI: drop Python 3.7 from macOS jobs by @stanislaw in #1793
- backend/reqif: export: --multiline-is-xhtml option by @stanislaw in #1792
- backend/reqif: reqif_to_sdoc_converter.py: fix arg-type issues by @stanislaw in #1794
- backend/reqif: reqif_to_sdoc_converter.py: fix no-untyped-call issues by @stanislaw in #1795
- backend/reqif: fix the XHTML namespace by @stanislaw in #1796
- backend/reqif: update to the latest ReqIF library by @stanislaw in #1797
- pickle: catch AttributeErrors on schema changes, raise AssertionError otherwise by @stanislaw in #1798
- pickle_cache: reuse between Document and DocumentGrammar for caching both by @stanislaw in #1799
- backend/reqif: --reqif-enable-mid option to allow bi-directional IDENTIFIER-MID mapping by @stanislaw in #1800
- backend/reqif: --reqif-import-markup option to specify HTML or other options when importing by @stanislaw in #1802
- Bump version to 0.0.55 by @stanislaw in #1803
- tests/integration: add several tests to ensure auto-uid / composable documents intersection by @stanislaw in #1805
- Composable documents: edge case when a single document path is provided for a document that depends on other documents by @stanislaw in #1807
- backend/reqif: exporting grammar types by @stanislaw in #1809
- backend/reqif: further tweaks for multi-document ReqIF bundles by @stanislaw in #1811
- Experimental features: Nestor requirements graph visualizer by @stanislaw in #1810
- Code climate: document_finder: fix all "no-untyped-call" mypy issues by @stanislaw in #1812
- Code climate: document_finder: fix all "no-untyped-def" mypy issues by @stanislaw in #1813
- Code climate: parallelizer: fix all "no-untyped-call" mypy issues by @stanislaw in #1814
- Bump version to 0.0.56a1 by @stanislaw in #1815
- html2pdf: specify UTF-8 encoding when writing HTML file by @stanislaw in #1816
- Code climate: strictdoc/cli/main.py: fix all mypy issues by @stanislaw in #1817
- Code climate: strictdoc/helpers/parallelizer.py: fix all mypy issues by @stanislaw in #1818
- Code climate: strictdoc/backend/sdoc/models/node.py: fix no-untyped-call and no-untyped-def mypy issues by @stanislaw in #1819
- pyproject.toml: update python-datauri by @DomenicP in #1820
- backend/sdoc: finish migration, removing all instances of REFS by @stanislaw in #1821
- backend/sdoc: SDocField: improve handling of single/multiline fields by @stanislaw in #1822
- backend/sdoc: remove the last few occurences of REFS by @stanislaw in #1824
- cli: remove the legacy argument: --experimental-enable-file-traceability by @stanislaw in #1825
- Code climate: backend/sdoc: free_text: fix all mypy issues by @stanislaw in #1826
- backend/sdoc: allow using "DESCRIPTION" or "CONTENT" field instead of "STATEMENT" by @stanislaw in #1827
- Bump version to 0.0.56a3 by @stanislaw in #1828
New Contributors
Full Changelog: 0.0.54...0.0.56