Skip to content

confluence2md v0.4.0

Choose a tag to compare

@github-actions github-actions released this 10 Jan 17:49
· 15 commits to main since this release

What's New in v0.4.0

Added

  • Comprehensive unit tests for CLI functions (main_test.go with 15 tests)
  • CHANGELOG.md for version history tracking
  • SECURITY.md with vulnerability reporting guidelines
  • CODE_OF_CONDUCT.md (Contributor Covenant)
  • GitHub issue templates (bug report, feature request)
  • Pull request template
  • CodeQL security scanning workflow
  • Test coverage reporting with Codecov
  • golangci-lint integration in CI

Changed

  • IsConfluenceMIME() now returns (bool, error) for proper error handling
  • Extracted HTML entity replacements to shared htmlEntityMap
  • Added named constants for magic numbers (pandocTimeout, maxASCIICodePoint, mimeHeaderScanLimit)
  • Improved documentation with regex pattern comments
  • Replaced fmt.Sscanf with strconv.ParseInt for proper error handling

Fixed

  • Replaced custom contains() helper with strings.Contains() in tests

Installation

macOS (Apple Silicon)

curl -L https://github.com/aqueeb/confluence2md/releases/download/v0.4.0/confluence2md_0.4.0_darwin_arm64.tar.gz | tar xz
sudo mv confluence2md /usr/local/bin/

macOS (Intel)

curl -L https://github.com/aqueeb/confluence2md/releases/download/v0.4.0/confluence2md_0.4.0_darwin_amd64.tar.gz | tar xz
sudo mv confluence2md /usr/local/bin/

Linux

curl -L https://github.com/aqueeb/confluence2md/releases/download/v0.4.0/confluence2md_0.4.0_linux_amd64.tar.gz | tar xz
sudo mv confluence2md /usr/local/bin/

Full Changelog: v0.3.1...v0.4.0