Skip to content

fix: preserve changelog version entries without sources - #50

Merged
jlitola merged 1 commit into
mainfrom
zippy-position
Apr 29, 2026
Merged

fix: preserve changelog version entries without sources#50
jlitola merged 1 commit into
mainfrom
zippy-position

Conversation

@jlitola

@jlitola jlitola commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Preserve package changelog version entries when the backend returns source: null or an empty source with entries.
  • Keep NOT_FOUND for no-source responses only when no entries are returned.
  • Update CLI/MCP docs and parity coverage for optional changelog source semantics.

Verification

  • bun test src/services/package-intelligence-service.test.ts src/shared/package-changelog-response.test.ts src/tools/package-changelog.test.ts src/commands/pkg/changelog.test.ts src/tools/package-changelog-parity.test.ts
  • bun run typecheck
  • bun run dev pkg changelog npm:react --json --limit 1
  • bun test

Treat null or empty changelog sources as NOT_FOUND only when the backend returns no entries, so package-scoped version results are still surfaced. Update CLI/MCP contracts, parity coverage, and docs for optional source semantics.
@jlitola
jlitola merged commit 29d48f5 into main Apr 29, 2026
3 checks passed
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