Skip to content

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.1.5] - 2026-06-20

Added

  • MCP v2 Features:
  • build_document tool: create complete Word documents in a single call (10x fewer tool calls).
  • Document editing tools: get_section_text, replace_section, delete_section, append_to_section, get_full_text, get_document_info, add_comment.
  • Media tools: add_image and add_chart to insert pictures and embedded plots.
  • Citation tools: set_citation_style, add_citation, add_bibliography.
  • MCP prompts: academic_paper, business_report, quick_document, edit_document to guide LLMs through templates.
  • Bugfixes:
  • Fixed absolute path resolution on non-Windows platforms (e.g. Linux CI/containers) by checking os.name == "nt" before identifying slash-prefixed paths as sandboxed container paths.

[0.1.4] - 2026-06-15

Added

  • --output-dir CLI option for mcp-server to configure where documents are saved
  • PAPERSMITH_OUTPUT_DIR environment variable support for custom output directories
  • get_document_base64 MCP tool for sandbox-proof document retrieval
  • Linux container path detection — redirects /mnt/... paths to host filesystem

Changed

  • save_document now omits base64 payload on successful filesystem writes (major speed improvement)
  • export_pdf optimized with same approach — fast success, base64 only on failure
  • Docs workflow only deploys on push to main, not on PRs

Fixed

  • MCP startup crash caused by console.print() writing to stdout (corrupts JSON-RPC)
  • Sandbox filesystem isolation: files saved inside container were invisible to host
  • Slow saving in Claude Desktop caused by redundant base64 payload in every response

[0.1.3] - 2026-06-11

Changed

  • Renamed package from PaperSmith to papersmith (PEP 8 compliance, Linux CI fix)
  • Dynamic version resolution via importlib.metadata
  • CLI commands use lowercase papersmith

[0.1] - 2024-01-01

Added

  • Initial release
  • SmithDocument class with fluent API for document creation
  • Style presets: academic, modern, report, formal, minimal
  • LaTeX equation support (inline $...$ and display $$...$$)
  • LaTeX to OMML pipeline with bundled XSLT fallback
  • Metadata management and scrubbing
  • Cover page templates
  • Table of Contents support
  • Headers, footers, and page numbers
  • Citation management with APA, IEEE, Harvard, MLA, Chicago styles
  • BibTeX import support
  • Chart generation (bar, line, pie, scatter) via matplotlib
  • Document editing (find/replace, section operations, outline navigation)
  • Comment and footnote support
  • PDF export via docx2pdf
  • MCP server with 25+ tools for LLM integration
  • CLI interface (papersmith generate, papersmith scrub, papersmith mcp)
  • LLM provider abstraction (OpenAI, Anthropic, Google)