Sha256: 645a311ff373e2ab77a3dcf03ae434df32b1c6de69bed8915b3dbd40437f5e04
Contents?: true
Size: 1.24 KB
Versions: 1
Compression:
Stored size: 1.24 KB
Contents
# CHANGELOG # v4.0.0 * [BREAKING] Rescue `HTTP::Error` and raise `Oauth2ApiClient::Error` instead In case you currently use: ```ruby begin client = Oauth2ApiClient.new(base_url: "...") client.get("...") rescue HTTP::Error # or HTTP::ConnectionError, etc. # ... end ``` please change it to: ```ruby begin client = Oauth2ApiClient.new(base_url: "...") client.get("...") rescue Oauth2ApiClient::Error # ... end ``` # v3.4.1 * fix duplicate auth calls if NullStore is used # v3.4.0 * Add PATCH method # v3.3.0 * Add Oauth2ApiClient#params to set default query params # v3.2.1 * Fix thread safety issue of http-rb # v3.2.0 * Allow passing `nil` as token for unprotected APIs # v3.1.1 * Added oauth2 version constraint # v3.1.0 * Added uri to `Oauth2ApiClient::ReponseError` exception message # v3.0.0 * [BREAKING] Renamed `Oauth2ApiClient::HttpError` to `Oauth2ApiClient::ResponseError` * Added http error exception classes like e.g. `Oauth2ApiClient::ResponseError::NotFound`, `Oauth2ApiClient::ResponseError::InternalServerError`, etc. # v2.1.0 * Include the response code and body in `HttpError#to_s` # v2.0.0 * `TokenProvider` added * Added option to pass the pre-generated oauth token * Simple concatenation of base url and path
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
oauth2_api_client-4.0.0 | CHANGELOG.md |