Skip to content

Releases: Roman505050/docusync

Release v2.2.1

06 Mar 19:23

Choose a tag to compare

[2.2.1] - 2026-03-06

Fixed

  • Prevented logging of PAT tokens in URLs within error and debug messages

Full Changelog: 2.2.0...2.2.1

Release v2.2.0

19 Feb 20:10

Choose a tag to compare

[2.2.0] - 2026-02-18

Changed

  • Refactored MD/MDX Fixer architecture - Modular fixer system for better extensibility
    • Split fixer logic into separate fixer classes in fixers/ directory
    • Created base Fixer class for all fixers to inherit from
    • Each fixer type now has its own module:
      • InvalidJsxTagsFixer - Fixes JSX tags starting with numbers
      • HtmlCommentsFixer - Converts HTML comments to JSX comments
      • UnclosedTagsFixer - Fixes unclosed void elements
      • InvalidAttributesFixer - Converts HTML attributes to JSX
      • SelfClosingTagsFixer - Fixes self-closing tag spacing
      • NumericEntitiesFixer - Fixes malformed numeric HTML entities
      • JsxCurlyBracesFixer - Escapes curly braces in code-like contexts
    • MarkdownFixer now dynamically uses available fixers
    • Fixers can be customized by passing a custom list to MarkdownFixer

Added

  • Enhanced curly brace handling - Improved JSX curly brace escaping
    • Automatically converts single backticks to double backticks for inline code containing curly braces
    • Wraps code-like patterns (e.g., key:value:{variable}) in backticks to prevent MDX interpretation
    • Preserves Markdown compatibility while preventing MDX build errors
    • Ignores curly braces inside code blocks (mermaid, python, etc.)
    • Fixes ReferenceError: variable is not defined errors in Docusaurus builds

Improved

  • Better code organization and maintainability
  • Easier to add new fixers by creating a new class inheriting from Fixer
  • More flexible fixer configuration

Release v2.1.0

04 Jan 10:39

Choose a tag to compare

[2.1.0] - 2026-01-04

Added

  • Support for HTTPS authentication with PAT tokens
  • Support for SSH authentication with private keys
  • Support for multiple authentication methods
  • Support for multiple organizations with different authentication methods
  • Support for multiple repositories with different authentication methods

Release v2.0.0

07 Dec 12:08

Choose a tag to compare

Added

  • Initial release of DocuSync
  • Click-based CLI with multiple commands:
    • docusync sync - Sync all repositories
    • docusync sync-one - Sync a single repository
    • docusync list - List configured repositories
    • docusync init - Initialize configuration file
    • docusync fix - Fix common Markdown/MDX issues
  • MD/MDX Fixer - Automatically fix common Markdown/MDX issues
    • Fixes invalid JSX tag names (tags starting with numbers)
    • Converts HTML comments to JSX comments in MDX context
    • Fixes unclosed void elements (br, hr, img, etc.)
    • Converts HTML attributes to JSX (class → className, for → htmlFor)
    • Fixes self-closing tag spacing
    • Fixes malformed numeric HTML entities
    • Supports both single files and directories (recursive and non-recursive)
    • --dry-run flag to preview changes without applying them
  • --fix-md flag for docusync sync and docusync sync-one commands
    • Automatically runs the MD fixer after syncing documentation
    • Helps prevent Docusaurus build failures due to MDX syntax errors
  • JSON-based configuration system
  • Support for syncing documentation from multiple GitHub repositories
  • Configurable repository ordering with position field
  • Rich console output with progress indicators
  • Verbose mode for debugging
  • Shallow git cloning with configurable depth
  • Automatic cleanup of temporary directories
  • Type hints throughout the codebase
  • Automatic creation of _category_.json files for Docusaurus
    • Files are generated in each synced documentation directory
    • Uses display_name, position, and description from configuration
    • Follows Docusaurus category format with generated-index link type
    • Enables automatic index page generation in Docusaurus