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
Nominatim geocoder cannot handle IP addresses #859
Nominatim geocoder cannot handle IP addresses #859
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are correct. Thank you..
One question though... is this a BC break?
I could previously lookup "127.0.0.1" and now I get an exception.
I could also lookup any other IP address and get an empty response, now I get an exception.
Either case, we need a change log. If it is a BC break, prepare a major version of this provider.
13a2b17
to
5247454
Compare
Makes sense. I added a changelog entry now and upgrade from 4.1=>5.0. I assume PHP packagist takes the version number directly from the changelog? At least I couldn't find any other mention of 4.1 in other files. |
I (or some other maintainer) have to make a release. Packagist looks at all the releases. I think this looks good. I’ll to a more detailed review later. Or maybe @jbelien wants to take a look? |
I think we can merge this PR and release version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great thanks!
Nominatim has no such feature.
The tests sent
127.0.0.1
and expectedlocalhost
in the response but that response is hardcoded in the AbstractProvider and never came from Nominatim.Adjusted the tests.
phpunit
passes for me.