This directory is managed by Changesets.
pnpm changesetFollow the prompts to select version bump type and describe your changes.
- Add a changeset — Run
pnpm changesetlocally before or after your PR - Version PR — CI opens/updates a "Version Packages" PR when changesets merge to main
- Release — Merging the Version PR triggers npm publish and GitHub Release
Note: Contributors only need to run
pnpm changeset. Versioning (changeset version) and publishing happen automatically in CI.
Use this structure for your changeset content:
---
"@fission-ai/openspec": patch
---
### New Features
- **Feature name** — What users can now do
### Bug Fixes
- Fixed issue where X happened when Y
### Breaking Changes
- `oldMethod()` has been removed, use `newMethod()` instead
### Deprecations
- `legacyOption` is deprecated and will be removed in v2.0
### Other
- Internal refactoring of X for better performanceInclude only the sections relevant to your change.
| Type | When to use | Example |
|---|---|---|
patch |
Bug fixes, small improvements | Fixed crash when config missing |
minor |
New features, non-breaking additions | Added --verbose flag |
major |
Breaking changes, removed features | Renamed init to setup |
Create one for:
- New features or commands
- Bug fixes that affect users
- Breaking changes or deprecations
- Performance improvements users would notice
Skip for:
- Documentation-only changes
- Test additions/fixes
- Internal refactoring with no user impact
- CI/tooling changes
Do: Write for users, not developers
- **Shell completions** — Tab completion now available for Bash, Fish, and PowerShellDon't: Write implementation details
- Added ShellCompletionGenerator class with Bash/Fish/PowerShell subclassesDo: Explain the impact
- Fixed config loading to respect `XDG_CONFIG_HOME` on LinuxDon't: Just reference the fix
- Fixed #123