isRequesting
allowConcurrentCalls
tryMap
- Created
generateURLRequest
inCobaltRequest
- Improved 'map(to:)'
- AccessToken public functions
- Fixed stubbing
- Use
DebugMasking
dependency
- Fixed requestID logging
- Refactored a bunch of stuff
- Added stubbing
- Mask CobaltError response description
- Fixed helpers
- Added array support for logging options
- Fixed a bug that loses response data in underlying errors
- Half masked email addresses
- Added headers logging options
- Fixed a bug where the queue was not handled when a auth error occurred
- Added
refreshTokenPath
to config
- Removed timing
- Fixed
isIgnoreAll
String
is now aCobaltResponse
type- Define key when parsing an array or dictionary
- Added timing
- Replaced RxSwift with Combine
- Removed SwiftyJSON dependency
- Preventing concurrency when refreshing the access token simultaneously for multiple requests
- Added
cachePolicy
to requests, which setsURLRequest.cachePolicy
- Added
session
to define your custom Alamofire Sessions
- Added option for PKCE to authorization configuration
- Added ability to create AuthorizationCodeRequest to simplify authorization_code grant type
- Added raw body parameter to Request
- RxSwift update to v6
- Shortened logging option with no fallbacks
- authorization_code also needs refresh_token to refresh
- authorization_code grant_type
- Added authentication host
- Better structure for the
Config
class
- Mask parameters in Request debugDescription
- Store
OAuthenticationGrantType
- Added request to the Error (for logging purposes)
- Fixed logging for non dictionary json responses
- Fixed a bug where an error was thrown when no authentication is required
- LoggingOption "*" ignore available
- Minimum requirement: 10.0
- Updated Alamofire to v5
- CocoaPods
- Use swift-log as logging framework
- Fixed a bug where request would be send twice
- Replaced Promises with RxSwift
open
login
- Fixed a bug with custom headers
- Fixed bug in logging request options for dictionaries
- Make
request
open
- iso8601 default mapping date
- Split up caching and core for SwiftPM
- Make requests cacheable
- Adding json to underlying error when present
- Adding underlying error instead of unknown error
- Bugfix manual auth provider
- Bugfix manual auth provider
- Provide a way to store the login state when logging in manually
- Refactored request / response logging
- Use Carthage for build pipeline instead of accio
- Improved accio
- Swift 5.0
- Accio compatible
- Use
Config.clientAuthorization
to allowrequestBody
client authentication instead of default through the.basicHeader
.
- Make oauth2 endpoint path configurable
- Start / finish request for metrics
- Allow masking of access-, and refresh-tokens
- Make
AccessToken
public
- Update to Swift 4.2 / Xcode10
- Allow nested objects in
parametersLoggingOptions
- Fixed a bug where
parametersLoggingOptions
would not mask the password field by default.
- Add
parametersLoggingOptions
to control the way parameters are logged in the request
- Improved
AccessToken
local (keychain) storage
- Carthage compatible
- Fixed a bug with unitialized KeyChain
- Added
log(_:)
andinfo(_:)
toLogger
protocol
- Removed
SwiftyUserDefaults
dependency
Cobalt
->CobaltClient
- Store
AccessToken
in individual keychains per host, this way you can use multipleCobalt
isntances for multiple API's.
- Initial public release