-
Notifications
You must be signed in to change notification settings - Fork 21
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
Breaking change (?) on 0.5.7 #54
Comments
Hmmm... how did it break your program? Our tests weren't changed and still work. If you're not using the official API, but importing single files from Also, before 1.0.0, every 0.x.0 may be breaking. |
It is a transitive dependency by js-ipfs-bitswap.
I will call them as well if they can change their code.
Am 22. Dezember 2019 16:07:37 schrieb Henrique Dias <notifications@github.com>:
… Hmmm... how did it break your program? Our tests weren't changed and still
work. If you're not using the official API, but importing single files from
src/, we cannot have guarantees.
Also, before 1.0.0, every 0.x.0 may be breaking.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Thanks @Maj0rT! Anyway, I will "invoke" @vmk and @mikeal here just to ask your opinion and give "seniorest" advice: do you consider structural changes to the repository breaking or not? I was not expecting someone to be importing a specific file since we do not support that officially. And by looking at the code linked from @Maj0rT it seems to have been done ~3 years ago. |
Will be fixed on ipfs/js-ipfs-bitswap#209. Will just reiterate that I don't consider 0.5.7 a breaking change since the API did not change. |
Closing this as the PR above was merged. |
This falls into a big semer grey area for a few reasons.
The object was even frozen to avoid people mutating the packages internals. If I was using this, I would expect it to break on me without notice 🤷♂️ At the same time, version numbers are free and there are an infinite number of them. IMO, the package should get bumped to 1.0.0 as soon as possible so that we can make the version numbers mean something and err on the side of signaling breaks even when they are this small. There’s no good reason not to given this library’s age and the number of dependents. |
I just realized I wasn’t that clear about what I think the right next steps are ;)
|
Thank you a lot @mikeal for your opinion. I will release 1.0.0 and deprecate 0.x then. I also agree it's a good idea since we've had basically the same API for quite a long time already. |
For a change that is not considered breaking, it's broken a lot of stuff! Maybe you could restore the file for one final |
Hello,
I think this version should not be v0.5.7 but v1.0.0 as you can read at https://docs.npmjs.com/about-semantic-versioning because the removal of name-table.js sadly breaks the rule "Changes that break backward compatibility".
Currently I have the problem that my gitlab pipeline fails because the 3rd party tool js-ipfs-bitswap uses the dependency "multicodec": "~0.5.0" (which is fine if the backward-compatibility rule will be observed) and relays on that removed source-file.
I believe there will be more projects with the same problem.
Please re-add the file and release it as new version 0.5.8.
Best regards,
Torsten
The text was updated successfully, but these errors were encountered: