Remove mandatory Unreleased section requirement and add changelog migration automation #29
Merged
Copilot
merged 5 commits from 2026-01-04 04:16:58 +00:00
copilot/remove-unreleased-from-changelog into main
No Reviewers
Labels
Clear labels
automation
breaking-change
bug
build
ci-cd
config
css
dependencies
deploy-failure
docker
documentation
dolibarr
duplicate
enhancement
generic
good first issue
health-check
health: excellent
health: fair
health: good
health: poor
help wanted
html
invalid
javascript
joomla
major-release
minor-release
mokostandards
needs-changelog
needs-review
needs-testing
patch-release
php
priority: critical
priority: high
priority: low
priority: medium
push-failure
python
question
regression
release
release-candidate
security
size/l
size/m
size/s
size/xl
size/xs
size/xxl
standards-drift
standards-update
standards-violation
status: blocked
status: in-progress
status: on-hold
status: pending
status: wontfix
sync-failure
sync-report
template-validation-failure
test-failure
tests
type: bug
type: chore
type: enhancement
type: feature
type: refactor
type: release
type: test
type: version
typescript
version
version-branch
version-drift
version-update
wontfix
work-in-progress
bug
chore
documentation
enhancement
feature
priority: critical
priority: high
priority: low
priority: medium
refactor
scope: client
scope: dolibarr
scope: infrastructure
scope: joomla
scope: waas
security
status: blocked
status: duplicate
status: in-progress
status: needs-review
status: wontfix
Automated processes or scripts
Breaking API or functionality change
Something isn't working
Build system changes
CI/CD pipeline changes
Configuration file changes
CSS/styling changes
Dependency updates
Automated deploy failure tracking
Docker configuration changes
Documentation changes
Dolibarr module or extension
This issue or pull request already exists
New feature or request
Generic project or library
Good for newcomers
Repository health check results
Health score 90-100
Health score 50-69
Health score 70-89
Health score below 50
Extra attention is needed
HTML template changes
This doesn't seem right
JavaScript code changes
Joomla extension or component
Major version release (breaking changes)
Minor version release (XX.YY.00)
MokoStandards compliance
Awaiting code review
Requires manual or automated testing
Patch version release (XX.YY.ZZ)
PHP code changes
Critical priority, must be addressed immediately
High priority
Low priority
Medium priority
File push failure requiring attention
Python code changes
Further information is requested
Regression from a previous working state
Release related PR
Release candidate build
Security-related changes
Large change (101-300 lines)
Medium change (31-100 lines)
Small change (11-30 lines)
Extra large change (301-1000 lines)
Extra small change (1-10 lines)
Extremely large change (1000+ lines)
Repository drifted from MokoStandards
MokoStandards sync update
Standards compliance failure
Blocked by another issue or dependency
Currently being worked on
Temporarily on hold
Pending action or decision
This will not be worked on
Bulk sync failure requiring attention
Bulk sync run report
Template workflow validation failure
Automated test failure
Test suite changes
Something isn't working
Maintenance tasks
Enhancement to existing feature
New feature or request
Code refactoring
Release preparation or tracking
Test suite additions or changes
Version-related change
TypeScript code changes
Version bump or release
Version branch related
Version mismatch detected
Version bump and release PR
This will not be worked on
Work in progress, not ready for merge
Something is not working
Maintenance and housekeeping
Documentation improvements
Improvement to existing functionality
New feature or request
Must fix immediately
Should fix soon
Nice to have
Fix when convenient
Code restructuring without behavior change
Client-specific work
Dolibarr modules and customizations
Server, CI, backups, monitoring
Joomla templates and extensions
MokoWaaS platform
Security vulnerability or hardening
Waiting on external dependency
Duplicate of another issue
Being worked on
Ready for review
Will not be addressed
No Label
Milestone
No items
No Milestone
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: MokoConsulting/MokoCassiopeia#29
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "copilot/remove-unreleased-from-changelog"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose
The changelog validation script required a
[Unreleased]section to be present, failing builds when it was absent. This requirement is removed, the unreleased content has been migrated to the current version section, and automation tooling has been added to facilitate future migrations when moving from rc to version branches.Change Summary
scripts/validate/changelog.sh: Removed check that fails validation when## [Unreleased]is missing## [x.y.z]) and the target version being validatedCHANGELOG.md: Migrated content from[UNRELEASED]section to[03.05.00] 2026-01-04sectionscripts/run/migrate_unreleased.sh: New automation script to migrate unreleased changelog entries to versioned sections--dateoption for custom release dates--dry-runmode for safe previewing before applying changes--keepflag to preserve the unreleased section after migrationTesting Evidence
Validated with existing versions and the new version section:
Tested migration script with multiple scenarios:
Risk and Rollback
Low risk. Removes validation constraint, consolidates changelog entries into proper version section, and adds optional automation tooling that doesn't affect existing workflows. Rollback: revert commits.
Checklist
Reviewer Notes
The
repo_health.ymlworkflow still warns when an Unreleased section exists (advisory only, non-blocking). This reflects release readiness concerns but doesn't contradict making the section optional for validation. With the migration of unreleased content to version 03.05.00, this warning will no longer trigger.The new
migrate_unreleased.shscript is designed to be used during the transition from rc to version branches, automating the process of moving unreleased changelog entries to the appropriate version section.Review and Approval
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
@copilot anything in the unreleased section should be moved to the current version heading
Done. Moved the unreleased content to
[03.05.00] 2026-01-04section in commit5a4003b.@copilot when moving from rc to version any items in unrelaeased section of changelog should be moved to the version eghading, and add scripts in "scripts/run/"
Created
scripts/run/migrate_unreleased.shin commitsa0babe2anddab2477. The script automates migration of unreleased changelog entries to version headings when moving from rc to version branches.Features:
--date,--dry-run, and--keepoptionsUsage:
@copilot add a dolibar build zip and create release workflow, use ftp secrets and avariables in moko-cassiopeia/.github/workflows/release_pipeline.yml, also use the same branch hierarchy