You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: automate changelog updates in release workflow (#231)
Replace GitHub API-based commits with local git workflow and integrate
claude-code-action to automatically generate changelog entries. The
workflow now:
- Creates release branch locally with version commits
- Uses Claude to review changes and update CHANGELOG.md
- Pushes complete branch with all commits together
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude <[email protected]>
git commit -m "chore: bump version to ${{ env.VERSION }}"
130
+
131
+
- name: Update changelog with Claude
132
+
continue-on-error: true
133
+
uses: anthropics/claude-code-action@v1
134
+
with:
135
+
prompt: |
136
+
You are updating the changelog for the new release v${{ env.VERSION }}.
137
+
138
+
Update CHANGELOG.md to add a new section for version ${{ env.VERSION }} at the top of the file, right after the '# Changelog' heading.
139
+
140
+
Review the recent commits and merged pull requests since the last release (${{ steps.previous_tag.outputs.previous_tag }}) to generate meaningful changelog content for v${{ env.VERSION }}. Follow the existing format in CHANGELOG.md with sections like:
141
+
- Breaking Changes (if any)
142
+
- New Features
143
+
- Bug Fixes
144
+
- Documentation
145
+
- Internal/Other changes
146
+
147
+
Include only the sections that are relevant based on the actual changes. Write clear, user-focused descriptions.
148
+
149
+
After updating CHANGELOG.md, commit the changes with the message "docs: update changelog for v${{ env.VERSION }}".
Copy file name to clipboardExpand all lines: CHANGELOG.md
+15-12Lines changed: 15 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,26 @@
1
1
# Changelog
2
2
3
+
## 0.1.1
4
+
5
+
### Features
6
+
7
+
-**Minimum Claude Code version check**: Added version validation to ensure Claude Code 2.0.0+ is installed. The SDK will display a warning if an older version is detected, helping prevent compatibility issues
8
+
-**Updated PermissionResult types**: Aligned permission result types with the latest control protocol for better type safety and compatibility
9
+
10
+
### Improvements
11
+
12
+
-**Model references**: Updated all examples and tests to use the simplified `claude-sonnet-4-5` model identifier instead of dated version strings
13
+
3
14
## 0.1.0
4
15
5
16
Introducing the Claude Agent SDK! The Claude Code SDK has been renamed to better reflect its capabilities for building AI agents across all domains, not just coding.
6
17
7
18
### Breaking Changes
8
19
9
20
#### Type Name Changes
21
+
10
22
-**ClaudeCodeOptions renamed to ClaudeAgentOptions**: The options type has been renamed to match the new SDK branding. Update all imports and type references:
23
+
11
24
```python
12
25
# Before
13
26
from claude_agent_sdk import query, ClaudeCodeOptions
@@ -19,13 +32,15 @@ Introducing the Claude Agent SDK! The Claude Code SDK has been renamed to better
19
32
```
20
33
21
34
#### System Prompt Changes
35
+
22
36
-**Merged prompt options**: The `custom_system_prompt` and `append_system_prompt` fields have been merged into a single `system_prompt` field for simpler configuration
23
37
-**No default system prompt**: The Claude Code system prompt is no longer included by default, giving you full control over agent behavior. To use the Claude Code system prompt, explicitly set:
-**No filesystem settings by default**: Settings files (`settings.json`, `CLAUDE.md`), slash commands, and subagents are no longer loaded automatically. This ensures SDK applications have predictable behavior independent of local filesystem configurations
30
45
-**Explicit settings control**: Use the new `setting_sources` field to specify which settings locations to load: `["user", "project", "local"]`
31
46
@@ -43,17 +58,6 @@ For full migration instructions, see our [migration guide](https://docs.claude.c
43
58
- New guides for [Custom Tools](https://docs.claude.com/en/api/agent-sdk/custom-tools), [Permissions](https://docs.claude.com/en/api/agent-sdk/permissions), [Session Management](https://docs.claude.com/en/api/agent-sdk/sessions), and more
44
59
- Complete [Python API reference](https://docs.claude.com/en/api/agent-sdk/python)
45
60
46
-
## 0.1.1
47
-
48
-
### Features
49
-
50
-
-**Minimum Claude Code version check**: Added version validation to ensure Claude Code 2.0.0+ is installed. The SDK will display a warning if an older version is detected, helping prevent compatibility issues
51
-
-**Updated PermissionResult types**: Aligned permission result types with the latest control protocol for better type safety and compatibility
52
-
53
-
### Improvements
54
-
55
-
-**Model references**: Updated all examples and tests to use the simplified `claude-sonnet-4-5` model identifier instead of dated version strings
56
-
57
61
## 0.0.22
58
62
59
63
- Introduce custom tools, implemented as in-process MCP servers.
@@ -91,4 +95,3 @@ For full migration instructions, see our [migration guide](https://docs.claude.c
91
95
- Fix multi-line buffering issue
92
96
- Rename cost_usd to total_cost_usd in API responses
0 commit comments