Skip to content

Releases: stringbean/sttp-scribe

3.0.0

23 May 10:30
bf3e541
Compare
Choose a tag to compare
  • Add support for asynchorous (Future) backend (#15) - @fmcgough.
  • Switch to mockito-scala for test mocking (#18).
  • Update ScribeJava to 8.3.3 (#19).

Breaking Changes

Implicit MonadAdapter is Required

To support the asynchronous ScribeJava backend an implicit conversion is needed. You will need to add the following import:

import software.purpledragon.sttp.scribe.MonadAdaptor.Implicits.identity

Support for Scala 2.11 Dropped

This release supports Scala 2.12+. If you still need 2.11 support please stay on 2.0.3.

Upstream Dependency Changed from scribejava-apis to scribejava-core

This means scribejava-apis will not be pulled in as a dependency if you don't need them.

They can be re-added easily by using:

libraryDependencies += "com.github.scribejava" %  "scribejava-apis" % "8.3.3"

2.0.3

22 May 13:11
ab4eec9
Compare
Choose a tag to compare

Update build & dependencies (#16)

v2.0.2

26 Jun 17:42
543bc30
Compare
Choose a tag to compare

Only retry request once on OAuth failure (#12).

v2.0.1

26 Jun 17:41
de8ceaa
Compare
Choose a tag to compare

Prevent token renewal attempt loops triggered 401 errors that are not OAuth token expired (#11).

v2.0.0

21 May 12:50
12ea72f
Compare
Choose a tag to compare

Upgrade to sttp v2.

Note: this is a breaking change - sttp 2 is not backwards compatible with sttp 1.

v1.6.0

21 May 12:52
5a2f5e7
Compare
Choose a tag to compare

Make query param encoding consistent with scribe (#9) - @fmcgough.

v1.5.2

21 May 12:53
2ee0d5e
Compare
Choose a tag to compare

Try to get a partial response when input stream closes unexpectedly (#8) - @fmcgough.

v1.5.1

10 Dec 10:32
bc1ff14
Compare
Choose a tag to compare

Handle errors when response input stream closes unexpectedly (#7) - @fmcgough.

v1.5.0

11 Nov 17:01
af1c522
Compare
Choose a tag to compare

Support client credentials grant type (#6) - @fmcgough.

v1.4.0

11 Nov 17:00
3a7fc77
Compare
Choose a tag to compare

Improve handling of OAuth1 token renewals (#5) - thanks @fmcgough.