-
Notifications
You must be signed in to change notification settings - Fork 850
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
Rename BitcoinUrlBuilder to BitcoinUriBuilder #1168
base: master
Are you sure you want to change the base?
Conversation
f5575ab
to
ca19a03
Compare
utACK, however, @kristapsk unfortunately this PR needs to be rebased |
ca19a03
to
6bcf13c
Compare
Rebased. Tests pass, but, please, review again. |
I am on the fence for this one. This might requires a major release as it's a breaking change. |
Are you sure? Previous consumers of the API will still work because he left a type called BitcoinUrlBuilder there. Only things that NBitcoin consumers will notice is some Obsolete warnings. |
It's a binary breaking change for sure. The old class now inherits from the new class, so it's no longer the same type across different versions of NBitcoin, so if this were to be merged, it should be released with a major version bump. An easy way to solve this would be remove the inheritance and use encapsulation instead... Just forwarding all the methods in the old class, to the new class... That would allow for a smooth minor version bump. |
@kristapsk can you take simpler approach, not breaking anything: Just leave the Then just duplicate the code for Would fix breaking change @augustoproiete pointed out. |
@NicolasDorier Ok, will do that! |
BIP21 contains URIs, not URLs, this is correct terminology (every URL is URI, but not every URI is URL).
Original discussion - #138 (comment).