v0.5.0
Uber Rides API Java SDK (Beta) v0.5.0 - 06/02/2016
This release sets up the Java SDK for the Uber Android SDK to utilize it as a third party dependency by adding common interfaces and removing heavier weight components.
Added
SessionConfiguration
SessionConfiguration is a new class to hold on to client information for authentication. This is used by underlying components.
UberRidesApi
UberServices
has been replaced with UberRidesApi
, which uses a Session
to construct Api Services
Sessions
AccessTokenSession
, ServerTokenSession
, and CredentialSession
have been added for the three types of authentication.
AccessTokenStorage
A common interface to store access tokens
RidesService
Replaces UberRidesSyncService
and UberRidesAsyncService
with a Retrofit 2 based API Service. Both sync and async can be utilized directly on the resulting Call<T>
Changed
- Split packaging into core and rides
- `Oauth2Credentials` now accepts a `SessionConfiguration`
- Updated from Retrofit 1 to Retrofit 2
- Updated from OkHttp2 to OkHttp3
- Removed Gauva dependency
Breaking
- Removed
UberServices
in favor ofUberRidesApi
- Removed
UberRidesSyncService
andUberRidesAsyncService
in favor ofRidesService
Download | Description |
---|---|
cmdline-sample | Command line sample |
servlet-sample | Servlet sample |