Releases: rishabh9/riko
Releases · rishabh9/riko
v3.0.0
v3.0.0-SNAPSHOT
This release predominantly has changes that support the upcoming v2.0 of Upstox API, which are currently available on staging only. See Upstox's staging documentation here
The changes in this release are as follows:
- Add support for rate limits introduced by Upstox. Using Google Guava's RateLimiter class to implement rate limiting.
- Introduced
RetryPolicyFactory
to provide support for retries on failed API requests. Using Failsafe library to implement retries. The default behaviour is to have the retries disabled. - Add method for new API endpoint - Fetch Subscribed Symbols -
https://staging-api.upstox.com/live/feed/all
. See documentation here. - Add support for the new Historical endpoint. See documentation here.
- WebSocket reconnect feature provided by the OkHTTP library is now disabled by default (
riko.ws.reconnect=false
), for it eventually affects the rate limits, when handled by the developer. - Updated Google Guava to
v27.0.1-jre
.
NOTE: WebSocket disconnection is not handled by Riko. Any websocket disconnections must be handled by the developer in their application.
For Maven based project
<dependency>
<groupId>com.github.rishabh9</groupId>
<artifactId>riko</artifactId>
<version>3.0.0-SNAPSHOT</version>
</dependency>
For Gradle based project
dependencies {
implementation 'com.github.rishabh9:riko:3.0.0-SNAPSHOT'
}
For SBT based project
libraryDependencies += "com.github.rishabh9" % "riko" % "3.0.0-SNAPSHOT"