Skip to content

chore: prepare v0.8.1 release#348

Merged
danielmeppiel merged 1 commit intomainfrom
chore/prepare-v0.8.1
Mar 17, 2026
Merged

chore: prepare v0.8.1 release#348
danielmeppiel merged 1 commit intomainfrom
chore/prepare-v0.8.1

Conversation

@danielmeppiel
Copy link
Collaborator

Summary

Prepares the v0.8.1 release with a consistency fix and changelog/version updates.

Changes

Testing

42 affected tests pass (test_install_output + test_diagnostics).

Copilot AI review requested due to automatic review settings March 17, 2026 17:26
- Fix ref display: use # separator instead of @ for consistency with
  dependency syntax (owner/repo#ref)
- Update CHANGELOG.md with all PRs merged since v0.8.0
- Bump version to 0.8.1 in pyproject.toml

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@danielmeppiel danielmeppiel merged commit d09b377 into main Mar 17, 2026
4 checks passed
@danielmeppiel danielmeppiel deleted the chore/prepare-v0.8.1 branch March 17, 2026 17:33
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Prepares the v0.8.1 release by bumping versions, rolling the changelog forward, and aligning apm install ref display with the #ref dependency syntax.

Changes:

  • Bump project version to 0.8.1 (pyproject.toml, uv.lock) and roll [Unreleased] into 0.8.1 in CHANGELOG.md.
  • Update apm install output formatting to use # instead of @ when showing resolved refs (and update unit tests accordingly).

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/apm_cli/commands/install.py Switch install output ref suffix from @ to # for consistency with dependency syntax.
tests/unit/test_install_output.py Update formatting expectations for cached ref rendering to match # separator.
CHANGELOG.md Consolidate [Unreleased] into 0.8.1 release notes and adjust wording/examples.
pyproject.toml Bump package version 0.8.00.8.1.
uv.lock Update locked editable package version to 0.8.1.
Comments suppressed due to low confidence (1)

src/apm_cli/commands/install.py:1769

  • ref_suffix = f"#{resolved}" will produce duplicated refs for virtual dependencies because display_name is str(dep_ref) (already includes #<ref>). Example: owner/repo/path#main#main (a1b2c3d4). Suggest stripping the #<ref> from display_name before appending the resolved ref, or only appending the commit portion when the manifest already includes a ref.
                    # Show resolved ref alongside package name for visibility
                    resolved = getattr(package_info, 'resolved_reference', None)
                    ref_suffix = f"#{resolved}" if resolved else ""
                    _rich_success(f"✓ {display_name}{ref_suffix}")

Comment on lines 6 to +7
name = "apm-cli"
version = "0.8.0"
version = "0.8.1"
Comment on lines 1354 to 1367
display_name = (
str(dep_ref) if dep_ref.is_virtual else dep_ref.repo_url
)
# Show resolved ref from lockfile for consistency with fresh installs
ref_str = ""
if _dep_locked_chk and _dep_locked_chk.resolved_commit and _dep_locked_chk.resolved_commit != "cached":
short_sha = _dep_locked_chk.resolved_commit[:8]
if dep_ref.reference:
ref_str = f" @ {dep_ref.reference} ({short_sha})"
ref_str = f"#{dep_ref.reference} ({short_sha})"
else:
ref_str = f" @ {short_sha}"
ref_str = f"#{short_sha}"
elif dep_ref.reference:
ref_str = f" @ {dep_ref.reference}"
ref_str = f"#{dep_ref.reference}"
_rich_info(f"✓ {display_name}{ref_str} (cached)")
Comment on lines 1360 to +1366
short_sha = _dep_locked_chk.resolved_commit[:8]
if dep_ref.reference:
ref_str = f" @ {dep_ref.reference} ({short_sha})"
ref_str = f"#{dep_ref.reference} ({short_sha})"
else:
ref_str = f" @ {short_sha}"
ref_str = f"#{short_sha}"
elif dep_ref.reference:
ref_str = f" @ {dep_ref.reference}"
ref_str = f"#{dep_ref.reference}"
- File-level downloads from private repos now use OS credential helpers (macOS Keychain, `gh auth login`, Windows Credential Manager) — closes auth gap between folder and file dependencies (#332)
- Lockfile now preserves the host for GitHub Enterprise custom domains so subsequent `apm install` clones from the correct server (#338)
- Pinning hint moved from inline tip to `── Diagnostics ──` section with aggregated count (#347)
- Install ref display uses `#` separator instead of `@` for consistency with dependency syntax (#340)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants