Skip to content

Conversation

zephraph
Copy link
Contributor

@zephraph zephraph commented Aug 12, 2025

This PR introduces an AI-powered changelog generation system that streamlines the release process and maintains up-to-date changelog documentation.

Usage

# During development - update draft changelog
bun run changelog:draft

# Create a release (patch/minor/major or specific version)
bun run bump patch

Copy link

pkg-pr-new bot commented Aug 12, 2025

Open in StackBlitz

npm i https://pkg.pr.new/sam-goodwin/alchemy@838

commit: 9cc9090

Copy link

github-actions bot commented Aug 12, 2025

🚀 Website Preview Deployed

Your website preview is ready!

Preview URL: https://511670f3-alchemy-website.alchemy-run.workers.dev

This preview was built from commit 5cabd29


🤖 This comment will be updated automatically when you push new commits to this PR.

If there are no significant changes, just say "No significant changes since ${latestTag}".`;

const claudeResult = await $`claude ${prompt}`.text();
const result = { text: claudeResult.trim() };
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we need to parse this?

also, should we look at claude code's typescript sdk? https://www.npmjs.com/package/@anthropic-ai/claude-code

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's a good question. The main reason why I opted for using the cli directly is because it's likely that whoever is running this (one of us) already has claude code installed and authenticated. So far as I can tell the SDK requires an API token.

In terms of parsing, no, I don't think so. It's just a text content response.

Copy link
Collaborator

@sam-goodwin sam-goodwin Aug 12, 2025

Choose a reason for hiding this comment

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

Is claude guaranteed to produce a pure markdown file or might it also add prose around it?

E.g.

Here is your markdown file:
```md
(actual content we want)
```

@zephraph zephraph force-pushed the changelog-system branch 2 times, most recently from d7382b4 to 294a003 Compare August 12, 2025 20:34
@sam-goodwin sam-goodwin force-pushed the main branch 2 times, most recently from f1acd44 to 195ee2e Compare August 13, 2025 22:27
@sam-goodwin sam-goodwin changed the title feat: add AI-powered changelog generation system chore: add AI-powered changelog generation system Aug 15, 2025
@sam-goodwin sam-goodwin force-pushed the main branch 2 times, most recently from a3a4abd to 1eeb802 Compare September 29, 2025 04:55
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