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

Document breaking changes #1106

Closed
joelmukuthu opened this issue Sep 13, 2019 · 9 comments
Closed

Document breaking changes #1106

joelmukuthu opened this issue Sep 13, 2019 · 9 comments

Comments

@joelmukuthu
Copy link

Hi,

Would it be an option to document breaking changes in the CHANGELOG? This could also be done on the releases on GitHub but it seems they are not used as much.

What were the breaking changes introduced in v11?

Best,
Joel

@profnandaa
Copy link
Member

Hi Joel -- this is a good idea. I think, we've not been using the semver standard for the versioning, so whenever you see a jump from 10 -> 11 is not actually a breaking change. @chriso you can correct me

However, the idea of updating breaking changes in the CHANGELOG.md is a good one 👍

@chriso
Copy link
Collaborator

chriso commented Sep 16, 2019

We loosely follow semver and bump the major version whenever breaking changes are introduced.

For v11, we removed an internal toString function. It was accidentally exported in <=10 so removing it may have broken downstream code, despite it being an undocumented internal function.

@profnandaa
Copy link
Member

profnandaa commented Sep 17, 2019 via email

@joelmukuthu
Copy link
Author

Thanks for the responses @profnandaa and @chriso.

I think #1007 was also a breaking change? (I couldn't find the PR when I created the issue but I seemed to remember seeing something about new email validation possibly causing breaking changes, and now I went digging for it).

From what I understand from that change, emails longer than 254 characters were previously valid but not anymore as of v11. Is that correct?

@joelmukuthu
Copy link
Author

Hi, were there any breaking changes in v13?

I have gone through the list of commits and I'm afraid I can't figure it out.

Have you considered using a changelog generator since you use conventional commits?

@profnandaa
Copy link
Member

@joelmukuthu -- thanks for the heads-up. I'm not sure if this could be treated as a breaking change since initial tests that were passing will now fail...

But @chriso can clarify v13 jump.

@MatthewHerbst
Copy link

MatthewHerbst commented Dec 31, 2020

Bump on this please. It's really unclear if upgrading to v13 is safe or not. cc @profnandaa @chriso Thank you for keeping this package awesome!

@profnandaa
Copy link
Member

profnandaa commented Dec 31, 2020 via email

@chriso
Copy link
Collaborator

chriso commented Jan 1, 2021

#1267 was the breaking change for v13. I was strictly following semver, and the contract on an existing validator was weakened by that change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants