Skip to content

Conversation

@tomsommer
Copy link

@tomsommer tomsommer commented Sep 13, 2018

Throw an exception when trying an unsupported TLD, instead of returning empty data.

@tomsommer tomsommer changed the title Throw an exception when trying an unsupported TLD, instead of returni… Throw an exception when trying an unsupported TLD Sep 13, 2018
@jsmitty12
Copy link
Owner

While I don't have a problem with this change (I quite like it, in fact), it is a backwards compatibility break and minimally needs to be documented with @throws. I think it also wise to start a running list of changes in the CHANGELOG.md file under a new 6.0.0-alpha1 heading and Backwards Compatibility Breaks sub-heading.

I would also like to see a test case verifying that the correct exception is thrown.

@jsmitty12 jsmitty12 added this to the Version 6 milestone May 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants