Changelog¶
0.2.1¶
- Released:
28.10.2025
- Full Changelog:
This releases adds quality-of-life improvements and minor fixes.
📚 Restructure docs (PR #10 and PR #11)
A
Motivationpage was added to explain about problems and use-cases. Also an example for complex setups was added to illustrate how this extension can be used in real-world scenarios.🔧 Return metadata in setup (PR #12)
The extension now returns metadata such as version and whether it can be run in parallel in the
setup()call.👌 New config needscfg_exclude_vars (PR #13)
A new configuration option
needscfg_exclude_varswas added to customize which Sphinx-Needs configuration variables are excluded from the exported TOML file. See Excluded configurations for details.✨ Merge additional TOML files (PR #14)
A new configuration option
needscfg_merge_toml_fileswas added to specify additional TOML files to merge into the exportedubproject.toml. This allows to combine static configuration files with the dynamically generated one.
0.2.0¶
- Released:
28.10.2025
- Full Changelog:
This release reduce the complexity of content comparison and improves the configuration. It’s not backwards compatible as most of the configuration changed. Please check the updated documentation.
♻️ Remove hash based comparison (PR #8)
The configuration
needscfg_use_hashwas renamed to needscfg_warn_on_diff. Hashing is not required as the content can be compared directly. This is simpler with less config and less dependencies. Default isTrue.needscfg_overwrite now checks in all cases whether to overwrite differing files. Default is
Falseto prevent accidental overwrites.The configuration
needscfg_write_defaultswas renamed to needscfg_write_all to be more explicit about what it does. If enabled, all known Sphinx-Needs configuration is written, including defaults and not only explicitly set values. Default isFalse.Fix sorting of
needs_extra_optionswhich maybe given aslist[str]orlist[dict]. For the latter case it is sorted by thenamekey.
0.1.0¶
- Released:
28.10.2025
Initial release of Needs-Config-Writer
This version allows to write Sphinx-Needs TOML configuration files automatically during Sphinx builds to a customisable location.
Hash checking is supported to warn about changed configurations.