Skip to content

Releases: link-foundation/gh-load-pull-request

0.7.0

28 Dec 02:29

Choose a tag to compare

Use gh CLI as default backend with API fallback

  • By default, the tool now uses the gh CLI to fetch PR data when available
  • Automatically falls back to GitHub REST API (Octokit) if gh CLI is not installed or not authenticated
  • Added --force-api flag to force using the GitHub API instead of gh CLI
  • Added --force-gh flag to force using gh CLI (fails if not available)
  • Added new CI/CD job to test both gh CLI and API modes
  • Improved verbose logging to show which backend is being used

Related Pull Request: #18


npm version

0.6.0

27 Dec 16:49

Choose a tag to compare

Enhance library exports and improve markdown output structure

  • Add library exports for all key functions (parsePrUrl, loadPullRequest, convertToMarkdown, convertToJson, savePullRequest, setLoggingMode, etc.)
  • Enhance markdown output to match GitHub PR page structure with Conversation section including reviews and comments
  • Add comprehensive unit and e2e tests with real PR content verification
  • Add REQUIREMENTS.md documenting project goals and specifications

Related Pull Request: #16


npm version

0.5.0

27 Dec 11:02

Choose a tag to compare

Make tool exclusively use Bun runtime, dropping Node.js and Deno support

Related Pull Request: #14


npm version

0.4.2

26 Dec 22:20

Choose a tag to compare

Test patch release


npm version

0.4.1

26 Dec 22:16

Choose a tag to compare

Rename package from gh-download-pull-request to gh-load-pull-request

This is a documentation and naming consistency update:

  • Rename main script file from gh-download-pull-request.mjs to gh-load-pull-request.mjs
  • Update CLI command name from gh-download-pull-request to gh-load-pull-request
  • Update all repository URLs to use the new repository name gh-load-pull-request
  • Update User-Agent header to reflect new package name
  • Update README.md with all updated command examples and installation instructions
  • Update CHANGELOG.md title
  • Update internal script references in version.mjs
  • Update PACKAGE_NAME constants in validation and release scripts

Related Pull Request: #12


npm version

0.4.0

25 Dec 17:10

Choose a tag to compare

Add image download and processing support

  • Download embedded images from PR body, comments, reviews, and review comments
  • Support both Markdown (alt) and HTML () image references
  • Validate downloaded files by checking magic bytes (PNG, JPG, GIF, WebP, BMP, ICO, SVG)
  • Detect and skip HTML error pages mistakenly downloaded as images
  • Handle GitHub S3 signed URLs and redirects (up to 5 hops)
  • Update markdown to reference local image paths
  • Add JSON output format (--format json)
  • Add new CLI options: --download-images, --include-reviews, --format, --verbose

Related Pull Request: #8


npm version

0.2.1

17 Dec 04:40

Choose a tag to compare

Fix GitHub release formatting to remove incorrect section headers for major/minor/patch versions and properly link related pull requests

Related Pull Request: #6


npm version

0.2.0

16 Dec 15:55

Choose a tag to compare

Minor Changes

  • cb5c989: Apply CI/CD template with GitHub Actions workflows, code quality tools (ESLint, Prettier, Husky), multi-runtime support (Node.js, Bun, Deno), and automated release management using changesets.

    This release includes:

    • Complete CI/CD pipeline with GitHub Actions (testing, linting, automated releases)
    • Multi-runtime testing across Node.js, Bun, and Deno on Ubuntu, macOS, and Windows
    • Code quality tools: ESLint, Prettier, Husky pre-commit hooks, file size validation
    • Changesets-based version management with npm OIDC trusted publishing
    • Fix Windows compatibility by replacing use-m with static imports
    • Fix Bun test discovery by renaming test files to .test.mjs extension
    • Add @octokit/rest, fs-extra, and yargs as regular dependencies