Skip to content

Releases: useblocks/sphinx-needs

8.1.1

20 May 15:54
dd487c1

Choose a tag to compare

What's Changed

  • πŸ› Fix Docker build by switching PlantUML source to GitHub releases by @ubmarco in #1708
  • ⚑️ Add NeedItem.is_in_document() by @chrisjsewell in #1709
  • πŸ› Fix needs_schema_definitions triggering full rebuilds by @ubmarco in #1712
  • πŸš€ Release v8.1.1 by @ubmarco in #1713

Full Changelog: 8.1.0...8.1.1

8.1.0

20 May 09:02
1d60ee9

Choose a tag to compare

This release focuses on filter performance improvements and bug fixes.

Full Changelog: 8.0.0...8.1.0

Performance

  • ⚑️ Short-circuit simple filter expressions to avoid eval() overhead (#1677)

    Common filter patterns (e.g. id == "REQ_001", type == "spec") are now matched and evaluated directly without invoking Python's eval(), significantly reducing filtering time for large need sets.

  • ⚑️ Add NeedItem.filter_context() to avoid costly {**need} unpacking (#1706)

    Filter evaluation no longer creates a full dictionary copy of each need on every filter call, reducing memory allocations and improving throughput.

  • ⚑️ Cache NeedLink filter string (#1705)

    Pre-compute and store the filter string on NeedLink construction, avoiding repeated string formatting on every access through NeedItem.__getitem__.

Bug fixes

  • πŸ› Fix needflow rendering very dark / black nodes when a need type has no color set in needs_types (#1664, #1702).
    Previously a hard-coded #000000 fallback was used as the fill color, which produced unreadable nodes β€” especially under browser dark mode. When no color is configured, no color is emitted and the diagram engine's default node color is used.

    Note: This is a minor behavior change for users with needs_types entries that omit the color key: diagrams (needflow, needuml, needgantt) that previously rendered such nodes as solid black will now render them with the diagram engine's default node color (typically light). To preserve the old appearance, set "color": "#000000" explicitly on the affected needs_types entry.

  • πŸ› Fix :need: role in section headings by registering NeedRef node with Sphinx's LaTeX builder (#1700).

8.0.0

19 Mar 13:23
06e477a

Choose a tag to compare

See https://sphinx-needs.readthedocs.io/en/stable/changelog.html

What's Changed

  • πŸ“š Fix 7.0.0 release date by @ubmarco in #1666
  • πŸ› Fix linkcheck CI job warnings by @Copilot in #1667
  • πŸ§ͺ Add tests for variants in links by @ubmarco in #1669
  • πŸ“š DOCS: add sphinx-ai-index to sphinx docs builder by @Felix-Ruh in #1671
  • ♻️ Introduce NeedLink structured internal representation for links by @chrisjsewell in #1670
  • πŸ”§ Use NeedLink directly in update_back_links function by @chrisjsewell in #1672
  • ♻️ Store NeedLink instead of str in LinksLiteralValue and LinksFunctionArray by @chrisjsewell in #1673
  • ♻️ Add _split_link_list parser with condition syntax support by @chrisjsewell in #1674
  • ✨ Add conditional need link assessment by @Copilot in #1675
  • πŸ”§ Use get_links(as_str=False) in needextend to avoid round-trip serialization by @chrisjsewell in #1678
  • πŸ”§ Store NeedPartData.backlinks as NeedLink instead of str by @chrisjsewell in #1679
  • πŸ‘Œ Parse link conditions from imported and external needs by @chrisjsewell in #1680
  • πŸ‘Œ Add needs_json_include_link_conditions config option by @Copilot in #1681
  • ♻️ Store NeedLink on NeedRef node at parse time instead of re-parsing later by @Copilot in #1682
  • πŸ”§ Bump ENV_DATA_VERSION to 4 for NeedLink storage format change by @Copilot in #1683
  • πŸ‘Œ Add parse_conditions configuration for link types by @Copilot in #1684
  • ♻️ Fix links_from_content to use parsed doctree nodes instead of regex by @chrisjsewell in #1685
  • πŸ§ͺ Add some more tests for links_from_content by @chrisjsewell in #1686
  • πŸš€ Release v8.0.0 by @chrisjsewell in #1688

New Contributors

Full Changelog: 7.0.0...8.0.0

7.0.0

24 Feb 16:51
607b98a

Choose a tag to compare

See https://sphinx-needs.readthedocs.io/en/latest/changelog.html#release-7-0-0

What's Changed

New Contributors

Full Changelog: 6.3.0...7.0.0

v6.3.0

15 Dec 15:06
0a059ce

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 6.2.0...6.3.0

6.2.0

28 Nov 09:29
cd2024f

Choose a tag to compare

What's Changed

Full Changelog: 6.1.1...6.2.0

v6.1.1

25 Nov 03:36
f66bd94

Choose a tag to compare

What's Changed

Full Changelog: 6.1.0...6.1.1

v6.1.0

31 Oct 12:43
07e311c

Choose a tag to compare

What's Changed

Full Changelog: 6.0.1...6.1.0

v6.0.1

02 Oct 12:14
5a0d196

Choose a tag to compare

What's Changed

Full Changelog: 6.0.0...6.0.1

v6.0.0

28 Sep 16:05
be2a705

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 5.1.0...6.0.0