0.26.x¶
0.26.0¶
- Released:
16.03.2026
✨ New Features¶
Resolution of simple dynamic functions (
[[...]]syntax)ubCode now resolves some built-in dynamic functions (
[[...]]syntax) from sphinx-needs. If your documentation already uses dynamic functions, they were previously parsed and stored on need items but left unresolved — they will now be evaluated during indexing. Three built-in functions are supported in this initial release:echo("text")— returns the given string unchangedtest(*args, **kwargs)— returns a debug string with the need ID and argumentscopy("field")— copies a field value from the current need (also supportslowerandupperkwargs)
For example:
.. req:: My requirement :id: REQ_001 :status: [[copy("priority")]]
Dynamic functions are resolved alongside variant functions in the same resolution pass. Parse and execution errors are surfaced as
needs.dynamic_functiondiagnostics.Dynamic function parsing is enabled by default and can be controlled via
needs.parse_dynamic_functionsglobally, or overridden per-field or per-link. Variant function parsing (parse_variants) is also now configurable per-link. For example:[needs] parse_dynamic_functions = false # disable globally [needs.fields.my_field] parse_dynamic_functions = true # re-enable for this field [needs.links.implements] incoming = "is implemented by" outgoing = "implements" parse_dynamic_functions = true # re-enable for this link parse_variants = true # also enable variant parsing
The LSP provides real-time syntax checking for dynamic function calls.
Added core need fields:
layout,style,collapse,hideAdded support for the
layout,style,collapse, andhidecore need fields, aligning with sphinx-needs’ presentation options. These fields are now recognised during indexing, validation, and autocompletion, and will appear in the VS Code Needs Index tree view,ubc build needsJSON output, MCP queries, and other need-aware features.ubc agent-skillCLI commandNew command that auto-generates a Markdown reference document (
SKILLS.md) describing the full CLI for AI agents and copilots, aligned with the agentskills.io specification.ubc agent-skill # print to stdout ubc agent-skill -o SKILLS.md # write to file
🐛 Fixes¶
Fixed TLS “UnknownIssuer” certificate errors when using the new Rust-based license checker (introduced in v0.22.0b1) behind corporate proxies or with custom enterprise CAs. License validation now delegates certificate verification to the operating system, matching the previous behavior.
Fixed
ubcCLI failures on Windows when the installation path was deeply nested, caused by exceeding the Windows 260-character path limit (MAX_PATH). This could manifest as “file not found” or “path too long” errors when running CLI commands.