Releases: link-foundation/gh-load-pull-request
Releases · link-foundation/gh-load-pull-request
0.7.0
Use gh CLI as default backend with API fallback
- By default, the tool now uses the
ghCLI 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-apiflag to force using the GitHub API instead of gh CLI - Added
--force-ghflag 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
0.6.0
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
0.5.0
0.4.2
0.4.1
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.mjstogh-load-pull-request.mjs - Update CLI command name from
gh-download-pull-requesttogh-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
0.4.0
Add image download and processing support
- Download embedded images from PR body, comments, reviews, and review comments
- Support both Markdown (
) 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
0.2.1
0.2.0
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