docs/MigrationGuides/migration_13_to_14.md
This project follows Semantic Versioning.
NetworkLoggerPlugin have been revamped and a NetworkLoggerPlugin.Configuration instance is now needed to instantiate it:
verbose and cURL flag are replaced by the NetworkLoggerPlugin.Configuration.LogOptions option set that allows finer tuning of logged elements. Use .verbose value to display every possible element and formatRequestAscURL to format request's logs as cURL.output closure no longer provides a separator and terminator, and items are now of type String instead of Any. To provide extra context, the target is also now provided in parameters.requestDataFormatter and responseDataFormatter moved into a new Configuration.Formatter object and are now called requestData and responseData. Their return type have also changed from Data to String.AuthorizationType as parameter.AccessTokenAuthorizable.authorizationType is now AuthorizationType?, instead of AuthorizationType. To skip using the plugin for given endpoint, you can still return .none, as previously, or nil.MultiTarget now implements AccessTokenAuthorizable and returns the inner target's authorizationType if available.