Skip to content

Latest commit

 

History

History
108 lines (75 loc) · 3.61 KB

CHANGELOG.md

File metadata and controls

108 lines (75 loc) · 3.61 KB

2.0.4

  • Update karma dependency from 0.13.21 to 2.0.4
  • Update node version in .travis.yml

2.0.3

  • Fix pagination for the video endpoint (#51)
  • Support 'url' as an option again (#50)

2.0.2

  • Lower Superagent dependency from 1.7.2 to 1.2.0 (#46)

2.0.1

  • Add CommonJS export (#44)

2.0.0

  • Change resultList to imageResultList for images (#42)
  • Introduce videoResultList for videos

1.0.2

  • Pin dependencies to minor version (#39)

1.0.1

  • Update dependencies to latest version where applicable. (#37)

1.0.0

  • Updated client to match pixabay's new API. (#33)
    • username is no longer a parameter needed by the API. pixabayjs.authenticate now only accepts a apiKey argument: pixabayjs.authenticate(apiKey).
    • HTTP is no longer supported. However, client was already defaulting to HTTPS.
    • New API keys have been issued. Old API keys will not work after 2/1/2016.
    • Image hash IDs will need to be changed. Use the old hash with the new API key to get the new hash.

0.5.2

  • Wrapped error parsing in try/catch block in case error was not valid JSON (#29)
  • Changed module loading to use es6 (#30)

0.5.1

  • Added es6 support through the use of Babel. (#27)

0.5.0

  • pixabayjs API changes (#19)
    • pixabayjs.defaults is now an object instead of a function.
    • pixabayjs.requestFactory has been replaced with pixabayjs.resultList, which returns a new ResultList.
    • Intermediary RequestFactory removed.
  • Internal changes to reduce dependency on state.

0.4.0

  • Added previous function to ResultList. Comes with promise caching (#15)
  • Replace host, protocol, and path options with url for RequestFactory (#14)
  • Set the requested page on the response when the request errors (#13)

0.3.1

  • Updates to README (#11)

0.3.0

  • Refactor of API to support pagination (#8)
    • request is now requestFactory and returns a RequestFactory object.
    • RequestFactory supports the same interface as request with the addition of resultList which returns a ResultList object.
    • Both get and resultList now allow an options argument. See README for details.
    • ResultList has single method, next, which returns a results response. Subsequent calls will request new pages of results.
  • Response format has changed. See README for details.

0.2.1

  • Removed lodash dependencies where possible (#4)

0.2.0

  • Authorization credentials are optional (#3)
  • Renamed authorize to authenticate

0.1.0

  • Initial client (#1)