Skip to content

Conversation

@miguelramos
Copy link
Member

  • Add comprehensive Node.js integration tests for bump commands (Story 5.6)

    • bumpPreview: preview, showDiff, filters, no changes to files
    • bumpApply: version bumps, git commit/tag, prerelease (alpha/beta/rc/canary)
    • bumpSnapshot: custom formats, variables, changesets not archived
    • Error handling and type verification tests
    • Prerelease and snapshot workflow tests
  • Fix unified strategy bug in resolve_unified_with_prerelease_auto

    • Was only updating changeset packages instead of ALL workspace packages
    • Now correctly applies unified version to all packages with proper UpdateReason
  • Simplify prerelease API (breaking change in CLI/NAPI)

    • User now passes simple tag: --prerelease beta (not beta.create)
    • Mode (create/increment/promote) is automatically inferred:
      • Stable -> Prerelease: 1.2.3 + beta -> 1.3.0-beta.0
      • Same tag increment: 1.3.0-beta.0 + beta -> 1.3.0-beta.1
      • Different tag: 1.3.0-alpha.2 + beta -> 1.3.0-beta.0
      • Promote: omit --prerelease -> 1.3.0
  • Update prerelease validation to reject dots and special chars

  • Update CLI and README documentation for new prerelease format

  • Regenerate NAPI bindings (v2.0.15)

BREAKING CHANGE: Prerelease format changed from 'tag.mode' to simple 'tag'

…rerelease resolution

- Add comprehensive Node.js integration tests for bump commands (Story 5.6)
  - bumpPreview: preview, showDiff, filters, no changes to files
  - bumpApply: version bumps, git commit/tag, prerelease (alpha/beta/rc/canary)
  - bumpSnapshot: custom formats, variables, changesets not archived
  - Error handling and type verification tests
  - Prerelease and snapshot workflow tests

- Fix unified strategy bug in resolve_unified_with_prerelease_auto
  - Was only updating changeset packages instead of ALL workspace packages
  - Now correctly applies unified version to all packages with proper UpdateReason

- Simplify prerelease API (breaking change in CLI/NAPI)
  - User now passes simple tag: --prerelease beta (not beta.create)
  - Mode (create/increment/promote) is automatically inferred:
    - Stable -> Prerelease: 1.2.3 + beta -> 1.3.0-beta.0
    - Same tag increment: 1.3.0-beta.0 + beta -> 1.3.0-beta.1
    - Different tag: 1.3.0-alpha.2 + beta -> 1.3.0-beta.0
    - Promote: omit --prerelease -> 1.3.0

- Update prerelease validation to reject dots and special chars
- Update CLI and README documentation for new prerelease format
- Regenerate NAPI bindings (v2.0.15)

BREAKING CHANGE: Prerelease format changed from 'tag.mode' to simple 'tag'
@miguelramos miguelramos self-assigned this Dec 12, 2025
@miguelramos miguelramos added ♨️ ACTION: pull request Pull request ✂️ TYPE: Testing Testing 🦠 TYPE: Bug Something isn't working 🩹 ACTION: fix Fixes broken behaviour labels Dec 12, 2025
@miguelramos miguelramos merged commit 78dfe91 into main Dec 12, 2025
36 checks passed
@miguelramos miguelramos deleted the feat/WOR-TSK-196-BUMP-INTEGRATION-TESTS branch December 12, 2025 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🩹 ACTION: fix Fixes broken behaviour ♨️ ACTION: pull request Pull request 🦠 TYPE: Bug Something isn't working ✂️ TYPE: Testing Testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants