Releases: uber/rides-java-sdk
v0.8.4
v0.8.3
Added support for authorization code oauth flow with pkce
Following this rfs https://datatracker.ietf.org/doc/html/rfc7636 added a token endpoint to fetch oauth tokens using authorization code and verifier.
- Added AuthorizationCodeGrantFlow class to send a network request to fetch oauth tokens
v0.8.1
Uber Rides API Java SDK (Beta) v0.8.1 - 05/05/2023
Added
A new ProfileHint type to specify email, phone number, and name
A new builder method added to SessionConfigutation to allow supplying ProfileHint
A new endpoint "par" to send profile hint values to uber backend which returns a request_uri in the response body
Added callback to pass request_uri back to the caller
Changing host login.uber.com -> auth.uber.com
bump up java version to Java SDK 1.8
upgrade gradle version to 4.8
Full Changelog: v0.8.0...v0.8.1
v0.8.0
Uber Rides API Java SDK (Beta) v0.8.0 - 03/19/2018
Added
- Fixed Release Script for proper versioning
- Fixed NPE in token refresh
- Updating Versioning headers to pull from BuildConfig
- Changed README to use Maven Badges
Download | Description |
---|---|
cmdline-sample | Command line sample |
servlet-sample | Servlet sample |
v0.7.0
Uber Rides API Java SDK (Beta) v0.7.0 - 10/28/2017
This release refactors the SDK binary into three binaries and deprecates the previous one. This is a breaking change for imports for the majority of classes as we prepare for the 1.0 roadmap release with a stable API. This allows downstream dependencies to be able to avoid the oauth-client library dependency.
Check the README for the latest integration instructions to update your gradle/maven dependency.
Breaking
- Refactored SDK into three modules, uber-core, uber-rides, and uber-core-oauth-client-adapter. Issue #34
- Repackaged com.uber.sdk.rides.auth.* classes to com.uber.sdk.core.auth.*
- Repackaged com.uber.sdk.rides.client.[AccessTokenSession, ServerTokenSession, Session, SessionConfiguration] to com.uber.sdk.core.client.*
- Moved Maven Artifact ID from 'sdk' to 'uber-rides', 'uber-core-oauth-client-adapter', and 'uber-core'. Old binary will no longer be updated.
Download | Description |
---|---|
cmdline-sample | Command line sample |
servlet-sample | Servlet sample |
v0.6.0
Uber Rides API Java SDK (Beta) v0.6.0 - 11/11/2016
This release moves all our endpoints to the new 1.2 version! This update brings support to upfront pricing and fares, which is now reflected in RideEstimate and usable in RideRequestParameters.
Added
- Fare to RideEstimate, this will be returned in the case of a product that supports upfront pricing.
- Pull #24 Add Ride.Status
- Pull #24 Add SMS number field to Driver
Breaking
- Price in RideEstimate is now Estimate and will be null for products that support upfront pricing.
- PriceEstimate uses BigDecimal in place of Integer for our low and high estimates.
- RideRequestButton now requires both a pickup and a dropoff for estimating.
- Removed all China endpoint support.
Download | Description |
---|---|
cmdline-sample | Command line sample |
servlet-sample | Servlet sample |
v0.5.2
Uber Rides API Java SDK (Beta) v0.5.2 - 07/11/2016
Added
- Issue #22 Support for Uber Pool
Download | Description |
---|---|
cmdline-sample | Command line sample |
servlet-sample | Servlet sample |
v0.5.1
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 |
v0.3.0
Uber Rides API Java SDK (Beta) v0.3.0 - 05/13/2016
Download | Description |
---|---|
cmdline-sample | Command line sample |
servlet-sample | Servlet sample |