Skip to content

[BC breaks] Refactoring, added weather history, removed autoloader. #7

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

Merged
merged 1 commit into from
Jan 23, 2014

Conversation

cmfcmf
Copy link
Owner

@cmfcmf cmfcmf commented Jan 23, 2014

  • Weather history added, closes Implement weather history #3.
  • Autoloader removed, closes Remove call to spl_autoload_register.  #6. It's strongly recommended to install this library via composer now.
  • Vendor name changed from cmfcmf to Cmfcmf.
  • new OpenWeatherMap() constructor changed. The first parameter now is an instance of a class implementing Cmfcmf/OpenWeatherMap/FetcherInterface, which is responsible for fetching data from urls. Two fetchers are implemented, the old one using file_get_contents($url) and a new one using cURL. If you do not specify a fetcher, cURL will be used if it's available.
  • The copyright string was removed from all classes and is now only available via OpenWeatherMap::COPYRIGHT.

Due to the bc breaks, this will be (pre-)released as v2.0.0(-rc1) (following SemVer). The "final" 2.0.0 release will follow after some days of testing.

cmfcmf added a commit that referenced this pull request Jan 23, 2014
[BC breaks] Refactoring, added weather history, removed autoloader.
@cmfcmf cmfcmf merged commit 0647cf0 into master Jan 23, 2014
@cmfcmf cmfcmf deleted the refactor branch January 23, 2014 18:42
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.

Remove call to spl_autoload_register. Implement weather history
1 participant