Fix/verstion to v0#31
Conversation
Release: rename package to docs-coderef
# [1.0.0](v0.1.0...v1.0.0) (2026-01-01) ### Bug Fixes * exclude CODE_REF comments in unclosed code blocks from validation ([f1f5287](f1f5287)) * handle variable-length backtick sequences in code blocks ([b5674ad](b5674ad)) ### Features * remove default .docsignore value from configuration ([67967d3](67967d3)) ### BREAKING CHANGES * The `ignoreFile` configuration no longer defaults to '.docsignore'. To continue using .docsignore, explicitly set `ignoreFile: '.docsignore'` in your configuration file (.coderefrc.json or package.json). This change makes the ignore file behavior explicit rather than implicit, applying ignore patterns only when intentionally configured. All documentation examples now use `.gitignore` instead of `.docsignore` to reflect this generic approach. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Pull Request ReviewSummaryThis PR modifies the semantic-release configuration to add custom release rules and includes a changelog entry for v1.0.0. The changes aim to provide more granular control over versioning based on commit types. Code Quality & Best Practices✅ Positive Aspects
|
e4c55f1 to
235e338
Compare
235e338 to
f537336
Compare
Pull Request ReviewOverviewThis PR modifies the semantic-release configuration to add custom release rules. Critical Issues1. Inconsistency with Documented Git ConventionsSeverity: High The release rules contradict docs/development/git-conventions.md: Current PR: docs, style, refactor, test, build, ci → PATCH release Impact: Documentation-only commits will trigger patch releases (0.1.0 → 0.1.1), violating the principle that docs changes should not affect package versions. Recommendation: Set these types to release: false to align with documented conventions. 2. Breaking Changes Trigger MINOR Instead of MAJORSeverity: High The config has breaking: true, release: minor which violates SemVer 2.0.0. Impact: Breaking changes will bump minor (0.1.0 → 0.2.0) instead of major (0.1.0 → 1.0.0), misleading consumers about compatibility. Recommendation: Change to release: major or document rationale for pre-1.0 semantics. Other IssuesPR Description Mismatch (Medium): Description mentions CHANGELOG.md updates and breaking changes, but diff shows only .releaserc.json changes. PR Title (Low): Contains typo verstion and unclear meaning. Code Quality✅ Valid JSON syntax Security & Performance✅ No security issues Documentation Updates Needed
SummaryRecommendation: Request Changes Critical issues:
The idea of explicit release rules is good, but current implementation conflicts with documented behavior and SemVer practices. |
Pull Request ReviewOverviewThis PR updates the semantic-release configuration in Code Quality & Best Practices✅ Positive Aspects
|
| Type | Documented Impact | New Behavior | Issue |
|---|---|---|---|
docs |
None | release: false |
✅ Aligned |
style |
None | release: false |
✅ Aligned |
refactor |
None | release: false |
✅ Aligned |
test |
None | release: false |
✅ Aligned |
chore |
None | release: false |
✅ Aligned |
ci |
None | release: false |
✅ Aligned |
build |
None | release: false |
✅ Aligned |
feat |
MINOR | minor |
✅ Aligned |
fix |
PATCH | patch |
✅ Aligned |
perf |
PATCH | patch |
✅ Aligned |
revert |
Depends | patch |
Actually, upon closer inspection, the configuration is well-aligned with the documented conventions! Good work here.
Potential Bugs
None identified. The JSON syntax is valid and the configuration follows semantic-release conventions.
Performance Concerns
None. Configuration changes have negligible runtime impact.
Security Concerns
None. No security-sensitive changes in this PR.
Test Coverage
- ✅ All automated checks passing
- ✅ Configuration-only changes don't require additional tests
- ✅ semantic-release will validate this config at runtime
Documentation Update Needs
REQUIRED:
-
If breaking → minor is intentional for pre-1.0 versions:
- Add a note to
docs/development/git-conventions.mdexplaining that breaking changes trigger minor releases during pre-1.0 development - Document when this policy will change to standard semver (at v1.0.0?)
- Add a note to
-
Update/Create Release Documentation:
- Consider adding
docs/development/release-process.mddocumenting:- How semantic-release is configured
- What commit types trigger what version bumps
- The rationale for custom release rules
- Consider adding
RECOMMENDED:
-
PR Description Clarification:
- The PR description mentions "CHANGELOG.md updates" and "v1.0.0 release", but the diff only shows
.releaserc.jsonchanges - Update description to accurately reflect the actual changes, or verify all intended files are included
- The PR description mentions "CHANGELOG.md updates" and "v1.0.0 release", but the diff only shows
-
PR Title:
- Contains typo: "verstion" → "version"
- Unclear what "to v0" means
- Suggestion:
feat: add explicit semantic-release rules for commit types
Recommendations Summary
MUST FIX:
- ❌ Change
breaking: truetorelease: "major"unless there's a documented reason for pre-1.0 semantics - ❌ Document the breaking changes versioning strategy if keeping as minor
SHOULD FIX:
3.
4.
5.
NICE TO HAVE:
6. 💡 Consider documenting the transition plan from pre-1.0 to 1.0+ versioning
Overall Assessment
Current Status: REQUEST CHANGES
The configuration is well-structured and mostly aligns with project conventions, but the breaking changes → minor release mapping is a critical semantic versioning violation that must be addressed before merge. This could cause serious issues for package consumers.
Once the breaking change mapping is fixed or properly justified/documented, this PR will be in good shape to merge.
Additional Context
The custom release rules are a good addition to the project as they:
- Make versioning behavior explicit and predictable
- Prevent unintended releases from doc/style changes
- Align with the project's git conventions
- Improve maintainability
Good work on implementing this! Just needs the breaking change versioning resolved.
|
🎉 This PR is included in version 0.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Release versionをv1からv0に変更(semantic-releaseが勝手にv1に上げないようにする)