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

add a note about pre-v1 breaking changes #597

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

IanButterworth
Copy link
Member

@IanButterworth IanButterworth commented Feb 20, 2025

Ideally we'd not show this if it isn't pre-v1 but I couldn't see a way to do that.
Now implemented.

@DilumAluthge
Copy link
Member

Ideally we'd not show this if it isn't pre-v1 but I couldn't see a way to do that.

We do have this info, so we could figure out a way to propagate it.

@ericphanson
Copy link
Member

btw this code change only affects the docs, not the actual message being shown to the user in the PR

@IanButterworth
Copy link
Member Author

Should be ready for review now.

end
if version < v"1.0.0"
msg *= """
Given this is a pre-v1.0.0 release, you may have not intended to make a breaking change release. [More information](https://pkgdocs.julialang.org/v1/compatibility/#compat-pre-1.0) on Julia's handling of pre-v1.0.0 versioning.
Copy link
Member

Choose a reason for hiding this comment

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

I think we should make this more "actionable", like if this was intended do X, if it was not intended do Y

Copy link
Member

Choose a reason for hiding this comment

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

maybe:

Suggested change
Given this is a pre-v1.0.0 release, you may have not intended to make a breaking change release. [More information](https://pkgdocs.julialang.org/v1/compatibility/#compat-pre-1.0) on Julia's handling of pre-v1.0.0 versioning.
Given this is a pre-v1.0.0 release, you may have not intended to make a breaking change release (see [here](https://pkgdocs.julialang.org/v1/compatibility/#compat-pre-1.0) for more on Julia's handling of pre-v1.0.0 versioning). **If you did not mean to make a breaking release**, leave a comment that the PR should be closed, update the version number in your package, and trigger registration again.

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.

3 participants