Skip to content

Update to use cmfcmf/openweathermap-php-api ^3 #3

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

paulhennell
Copy link

This updates moves to support version 3 of openweathermap-php-api. It adds in the new version constraint, as well as Http client and request factory discovery logic to provide the clients now required by the library. There is also additional text added to the readme to highlight the new installation requirements.

This upgrade works well for me (and I've been using a similarly edited fork for a while!) but version 3.x of the php-api has several breaking changes which will likely break some users existing code. This upgrade should therefore be semantically versioned to highlight the deprecated methods and the change to the unit labels etc.

I wonder if it would make sense to move this whole library also to version 3.x to stay in sync with the major version of openweathermap-php-api as breaking changes there will always break things for users here - and it makes that dependency clearer. I'm not sure if that might get confusing if we also need to break things for a new laravel release or other reason though.

* Http client and request factory discovery logic added
* Readme updated to show installation additions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant