Skip to content

Automatic escaping of Jinja templates, ReqIF improvements, HTML2PDF improvements, passthrough command deprecated

Latest
Compare
Choose a tag to compare
@stanislaw stanislaw released this 13 Oct 17:35
· 12 commits to main since this release
78f146c

This release includes several important improvements. Thanks to @haxtibal for implementing and testing many of the implemented changes.

  • Fixed multiple issues related to the handling of the UID field's format and accepted characters, both on its own and when used as part of LINK and ANCHOR tags. [@haxtibal]

  • Implemented a more consistent and unified approach to escaping Jinja templates. With this change, the Jinja templates that StrictDoc uses for rendering content are now automatically escaped, except for a few known edge cases that have been handled separately. For more details, see the "HTML Escaping" section of the Design Document, which describes the rationale and approach taken. [@haxtibal]

  • Extended the HTML2PDF feature to support the --generate-bundle-document option, which allows generating a single PDF document from all documents in an SDoc documentation tree.

  • Additionally, a project configuration option was added to specify a custom path to the ChromeDriver used by the HTML2PDF printer. [@haxtibal]

  • Enhanced the SDoc-ReqIF-SDoc roundtrip to include relation roles such as Refines, Implements, etc. These roles are now recognized in both directions. This feature was requested by a single user and requires further testing.

  • Deprecated the passthrough command. All passthrough functionality has been moved to the export command under the option --formats=sdoc. Users are encouraged to switch to the export command, as using passthrough will now trigger a deprecation warning. [@haxtibal]

  • Fixed a bug related to editing custom (non-requirement) nodes and adding links between them, based on a report by @elfman2.

  • The Python 3.7 support was removed. The lowest Python baseline will now be 3.8 for some time.

What's Changed

Full Changelog: 0.0.58...0.0.59