All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fix caching to properly re-fetch from MAuth Service in MAuth Authenticator Apachehttp
- Swap scalacache-guava to scalacache-caffeine
- Add an IO interface for ClientPublicKeyProvider
Upgraded scala cats lib, and fixed resulting breakages. Also updated sbt plugins.
- Cache responses for 5 minutes (non configurable) as a fallback when the Cache-Control header is missing or malformed.
- parsing code to test with mauth-protocol-test-suite.
- Caffeine dependency for local cache
- Dependency update
- Update sttp to 3.x from 2.x. Note this is a new major sttp version with new package prefix
sttp.client3
- Remove silencer as 2.12.13 also got configurable warnings now
- Update sttp to 3.x from 2.x. Note this is a new major sttp version with new package prefix
- Use Caffeine as local cache instead of Guava Cache
- Added Cache-Control header in FakeMauthServer success response
- Use Cache-Control max-age header as ttl in public key local cache and only set configuration value as fallback
- Removed mauth-proxy. The library we depend on (littleproxy) has been unmaintained for a long time and there are better mauth proxy alternatives like https://github.com/mdsol/go-mauth-proxy
- Accept request payload as java.io.InputStream for Java. Since InputStream in general can only be consumed once, here are limitations of using stream payload:
- mauth-signer generates the signature for v2 only even the both v1 and v2 are required.
- mauth-authenticator doesn't support "Fall back to V1 authentication when V2 authentication fails".
- Update library versions
- convert
TestFixtures
to java class, was causing cross-compilation problems
- Change the default signing versions to 'v1' only
- Replace
V2_ONLY_SIGN_REQUESTS
option withMAUTH_SIGN_VERSIONS
option and set the default tov2
only
- Use the encoded resource path and query parameters for Mauth singer
- Fall back to V1 authentication when V2 authentication fails using Akka Http
- scalac flags for 2.12 and 2.13
- Address deprecation warnings, silence
- Use sbt-smartrelease plugin
- unused
sbt-mima-plugin
,scalastyle-sbt-plugin
plugins
- Add cross compilation for 2.12 and 2.13
- Fall back to V1 authentication when V2 authentication fails.
- Add support for MWSV2 protocol in Java modules
- Add support for MWSV2 protocol in Scala modules
- All method and helper functions that deal with only MAuth V1 headers has been deprecated. Read the deprecation message of each for how to migrate.