Skip to content

Latest commit

 

History

History
92 lines (63 loc) · 3.64 KB

File metadata and controls

92 lines (63 loc) · 3.64 KB

gh-load-pull-request

0.7.0

Minor Changes

  • ae79514: 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

0.6.0

Minor Changes

  • 4a27d9f: 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

0.5.0

Minor Changes

  • 1652ddc: Make tool exclusively use Bun runtime, dropping Node.js and Deno support

0.4.2

Patch Changes

  • Test patch release

0.4.1

Patch Changes

  • 5f8cf5b: 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

0.4.0

Minor Changes

  • c59b632: 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

0.2.1

Patch Changes

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

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

0.1.0

Minor Changes

  • Initial release with core functionality to download GitHub pull requests as markdown