Skip to content

v0.4.10

Choose a tag to compare

@github-actions github-actions released this 30 Aug 18:39
· 33 commits to main since this release

Added

  • Branches submenu — scope the commit list to specific branches (multi-select) or
    all branches, instead of just the checked-out branch, via a "Branches" item on the
    commit list's right-click menu.
  • View Line History — a new "Show Line History" command (editor right-click menu and
    Command Palette) shows the history of just the currently selected line(s).
  • View File Contents — a new action in the changed-files context menu opens a file's
    content at a given revision in a read-only tab, instead of only ever showing it as one
    side of a diff.
  • Folder View — a toggle in the changed-files context menu groups the list by
    directory instead of a flat list.
  • "Show Git Log" now also appears as an icon button in the editor tab bar and the Source
    Control panel title, in addition to the existing right-click menu and keyboard shortcut.
  • New gitLogViewer.pageSize setting to configure how many commits load per batch
    (default 100).

Fixed

  • Fixed a flaky test (formatTimeAgo's 59-second boundary case) that compared against
    real wall-clock time captured at a different moment than the function's own internal
    clock read, occasionally flipping the result across a minute boundary. Frozen fake
    timers now guarantee both reads see the same instant.
  • Fixed an intermittent error: Could not read <sha> / could not parse commit <sha>
    failure in the test suite's git fixture builder, seen only on GitHub-hosted CI runners.
    Root cause: git's gc --auto can trigger in a detached background process once a repo
    accumulates enough loose objects (this fixture creates 300+ commits across several
    branches), and a later git command in the same build can lose the race against that
    background repack. Disabled gc.auto for these throwaway, immediately-deleted repos.

Changed

  • Updated dependencies: vitest to 4.1.10, @vitest/coverage-v8 to 4.1.11, esbuild to
    0.28.2, @types/node to 26.1.2, c8 to 12.0.0, and the actions/checkout,
    actions/setup-node, actions/upload-artifact, actions/download-artifact, and
    softprops/action-gh-release GitHub Actions to their latest majors.
  • vitest.config.ts → vitest.config.mts, and dropped __dirname in favor of
    import.meta.dirname, ahead of a future Vite major version that removes the
    CommonJS-config-loading fallback these relied on.

Full Changelog: https://github.com/andiapps-dev/vscode-git-log-viewer/commits/v0.4.10