Skip to content

Releases: rimo/intercom-help-sync

v0.5.0

Choose a tag to compare

@awakia awakia released this 15 Jan 02:02

Changes

  • Use human-readable collection names for folder paths instead of numeric IDs
  • Folders are now named like getting-started, api-reference instead of 7050702, 11105994
  • Collection names are converted to slug format (lowercase, spaces to hyphens)
  • Original collection ID is preserved in front matter for push operations

v0.4.1

Choose a tag to compare

@awakia awakia released this 14 Jan 14:35

Bug Fixes

  • Fix handling of articles/translations with empty title or body
    • Skip translations only when both title and body are empty (not started)
    • Use fallback slug (article-{id}) when title is empty
    • Handle undefined title/body safely

v0.4.0

Choose a tag to compare

@awakia awakia released this 14 Jan 11:55

Changes

Breaking Changes

  • init command has been removed (directories are created automatically on pull)
  • Default articlesDir changed from help-docs/articles to help-docs

Improvements

  • Configuration file is now optional
    • Uses INTERCOM_ACCESS_TOKEN environment variable by default
    • Uses help-docs as default articles directory
  • defaultLocale and supportedLocales are no longer required
    • Default locale is automatically determined from articles (the one with translations field)
    • All translations are synced by default

Migration

If you were using the previous version:

  1. Move files from help-docs/articles/ to help-docs/
  2. Or create a config file with "articlesDir": "./articles" to keep the old structure

v0.3.1

Choose a tag to compare

@awakia awakia released this 10 Dec 03:53

Bug Fixes

  • Fix regex for stripping image URL signatures from downloads.intercomcdn.com URLs
  • Fix regex to match intercom-attachments-*.com domain pattern

Tests

  • Add tests for image signature stripping and restoration

v0.3.0

Choose a tag to compare

@awakia awakia released this 09 Dec 01:11

Changes

  • Convert tables to Markdown format instead of raw HTML
  • Add dry-run option for push command with diff display
  • Show diff on all pushes (not just dry-run)
  • Change push command to positional arguments supporting multiple files
    • push <files...> instead of push --file <path>
  • Add HTML roundtrip test suite (18 test cases)
  • Add npm test script

Breaking Changes

  • Push command syntax changed from push --file <path> to push <files...>