Skip to content

v0.1.7

Choose a tag to compare

@magifd2 magifd2 released this 26 Mar 00:13
· 6 commits to main since this release

Fixed

  • pages tree: some subtrees were missing when the Confluence API returned pages with truncated ancestor chains (child and parent at the same len(ancestors)). Switched to a two-pass build: all nodes are created first, then linked — eliminating ordering sensitivity.
  • pages tree: pages whose ancestors list contains a virtual space-root node (instead of the queried page ID) were silently orphaned and missing from the tree output. This caused the space home page to show only 1 node. Now falls back to the nearest known ancestor in the chain, then to root.

Added

  • pages get --base-path <dir>: rewrite Confluence page links to <base-path>/<id>/page.<ext> and attachment links to their downloaded location in text/HTML output.
  • pages tree --page-format now automatically rewrites cross-page links and attachment links to relative local paths when --output-dir is set.
  • --no-rewrite-links flag on both pages get and pages tree to opt out of link rewriting and preserve original Confluence URLs.