Skip to content

v1.0.17

Choose a tag to compare

@github-actions github-actions released this 30 Nov 18:39
· 132 commits to main since this release

v1.0.17 - Version Synchronization Pipeline

What's Fixed

Version Drift Prevention

Previously, version numbers could get out of sync between package.json and src/index.js. This release adds automated synchronization:

  • Version Sync Script: scripts/version-sync.js ensures all version references match
  • npm Lifecycle Hooks: Automatic sync during npm version commands
  • CI/CD Validation: Both workflows now validate version consistency before publishing
  • Tag Validation: Ensures git tag matches package.json version

How It Works

# Manually sync versions
npm run version:sync

# Check if versions are in sync (CI/CD uses this)
npm run version:check

# Standard npm version (now auto-syncs)
npm version patch

Files Kept in Sync

File Version Reference
package.json "version": "1.0.17" (canonical)
src/index.js export const VERSION = '1.0.17'
src/index.js @version 1.0.17
package-lock.json Both root and packages[""]

CI/CD Improvements

  • Version sync validation before publish
  • Tag-to-package.json version mismatch detection
  • Node.js 24 for all workflows
  • Auto-generated release notes

Full Changelog

v1.0.16...v1.0.17