Skip to content

refactor(changelog): move metadata loading into diff utility - #63

Merged
lonewolfyx merged 1 commit into
mainfrom
prs/refactor-changelog-version-loading
Aug 28, 2026
Merged

lonewolfyx merged 1 commit into
mainfrom
prs/refactor-changelog-version-loading

Conversation

@lonewolfyx

Copy link
Copy Markdown
Member

Summary

  • move version metadata loading into diffComponent so it accepts resolved versions directly
  • simplify the changelog command to resolve versions and await the diff result
  • update changelog unit tests for the asynchronous loading boundary

Testing

  • pnpm vitest run test/changelog.test.ts test/changelog-command.test.ts
  • pnpm exec eslint test/changelog.test.ts test/changelog-command.test.ts
  • git diff --check

@pkg-pr-new

pkg-pr-new Bot commented Aug 28, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@antdv-next/cli@63

commit: 7ea0fb0

@github-actions

Copy link
Copy Markdown
Contributor

Build Size Report

Baseline Artifact · 基准产物

File Size Gzip Brotli
index.mjs 395.07 KiB 117.72 KiB 101.00 KiB

Candidate Artifact · 候选产物

File Size Gzip Brotli
index.mjs 395.07 KiB 117.73 KiB 100.96 KiB

@lonewolfyx
lonewolfyx merged commit 9305b1a into main Aug 28, 2026
8 checks passed
@lonewolfyx
lonewolfyx deleted the prs/refactor-changelog-version-loading branch August 28, 2026 03:18
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.

1 participant