- Fixes
- [Mix] Update hackney dependency to fix benoitc/hackney#589
- Enhancements
- [Flickr] Include example responses in Flickr API documentation.
-
Enhancements
- [Flickr] Create functions for API methods with required arguments.
- [Parsers] Parse 400 error response bodies for tokens.
-
Deprecations
- [Flickr] Calling an API function with required arguments using just an options list is deprecated.
- [Upload] Calling replace with
photo_id
as an option is deprecated.
-
Backwards incompatible changes
- [Auth] Rename access token
verifier
tooauth_verifier
.
- [Auth] Rename access token
-
Enhancements
- [Parsers] Switch to Jason for JSON decoding.
- [Parsers] Decode JSONP responses.
- [Parsers] 2-arity Rest and Upload parser functions will be given a
Config
struct. - [Response] Add
Response
struct to be returned for requests. - [Operation] Add
http_headers
parameter to all operations. - [Config] Add options for JSON and XML decoders.
- [ExDoc] Group Flickr API modules.
-
Fixes
- [Mix] Keep mix task private to the package.
-
Backwards incompatible changes
- [Rest] Use atoms for format and http method parameters.
- [Rest] Rename
extra_params
todefault_params
. - [Config] Remove
:oauth
config key. - [Elixir] Drop Elixir 1.3 support.
-
Enhancements
- [Flickrex] An
:http_opts
option has been added torequest/2
andrequest!/2
.
- [Flickrex] An
-
Deprecations
- [Config] The
:oauth
config key is deprecated.
- [Config] The
-
Backwards incompatible changes
- [Flickrex] Client, config, and get/post functions have been removed.
- [Flickr]
Flickr
modules have been removed in favor ofFlickrex.Flickr
.
-
Enhancements
- [Flickrex] New API for creating Flickr API operations and performing requests.
- [Upload] Added photo upload and replace support.
- [Flickr] Testimonials module
-
Deprecations
- [Flickrex] Client, config, and get/post request functions are deprecated in favor of the new operation/request API.
- [Flickr] All
Flickr
modules have been deprecated in favor ofFlickrex.Flickr
.
- Backwards incompatible changes
- [Flickrex] Return {:ok, response} or {:error, reason} for API calls
- [Config] Change client configuration and token access flow
-
Enhancements
- Flickr API modules
-
Backwards incompatible changes
- [API.Base]
call/4/
requires an HTTP verb and returns unparsed JSON binary - [Flickrex]
call/3
renamed toget/3
- [API.Base]