Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: updateDependentsVersions disabled with packages still mentioned in changelogs #719

Merged

Conversation

mzdm
Copy link
Contributor

@mzdm mzdm commented Jun 2, 2024

Description

Bug description: We bumped into this while having automated release to private hosting. Consider package B has dependency on A. If A was updated and we do not want do update constraint in B nor its version (we don't want due excessive publishing because we have fully automated release process), it was still mentioned in melos version log that B is getting bumped and also in the workspace changelog.

Fixes #531 - But I think it should check updateDependentsVersions and not updateDependentsConstraints like in the issue. Because if we update constraint it should not reflect to changelog, right ?

Type of Change

  • feat -- New feature (non-breaking change which adds functionality)
  • 🛠️ fix -- Bug fix (non-breaking change which fixes an issue)
  • ! -- Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 refactor -- Code refactor
  • ci -- Build configuration change
  • 📝 docs -- Documentation
  • 🗑️ chore -- Chore

@CLAassistant
Copy link

CLAassistant commented Jun 2, 2024

CLA assistant check
All committers have signed the CLA.

@mzdm mzdm marked this pull request as draft June 2, 2024 14:46
@mzdm mzdm force-pushed the fix/no-dependent-constraints-workspace-changelog branch from e4bdb0d to 7f42a86 Compare June 2, 2024 14:51
@mzdm mzdm changed the title fix: packages with both updateDependentsVersions and updateDependentsConstraints disabled were still mentioned in workspace changelogs and melos version fix: updateDependentsVersions disabled still mentioned in changelogs and melos version log Jun 2, 2024
@mzdm mzdm marked this pull request as ready for review June 2, 2024 14:52
@mzdm mzdm requested a review from spydon June 4, 2024 13:16
Copy link
Collaborator

@spydon spydon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better! Could you create a test for this too?

@mzdm mzdm changed the title fix: updateDependentsVersions disabled still mentioned in changelogs and melos version log fix: updateDependentsVersions disabled still mentioned in workspace changelogs and melos version log Jun 4, 2024
@mzdm
Copy link
Contributor Author

mzdm commented Jun 5, 2024

Much better! Could you create a test for this too?

Added regression test which fails on main but passes on this branch

@spydon spydon changed the title fix: updateDependentsVersions disabled still mentioned in workspace changelogs and melos version log fix: updateDependentsVersions disabled with packages still mentioned in changelogs Jun 5, 2024
@spydon spydon merged commit 0ad8f58 into invertase:main Jun 5, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix: melos version --no-dependent-constraints generates incorrect workspace CHANGELOG
3 participants