Releases: LykkeCity/Lykke.Common.ApiLibrary
Releases · LykkeCity/Lykke.Common.ApiLibrary
1.11.0
1.10.2
Bug fixes
In case when client errors logging is enabled and server respond with 4xx HTTP status code, in versions prior to this, the error coud be happened:
Message: System.ArgumentException: Either message or exception should be specified at least
at Lykke.Common.Log.MicrosoftLoggingBasedLogExtensions.Log(ILog log, LogLevel logLevel, String callerFilePath, String process, Int32 callerLineNumber, String message, Object context, Exception exception, Nullable`1 moment)
at Lykke.Common.Log.MicrosoftLoggingBasedLogExtensions.Warning(ILog log, String process, String message, Exception exception, Object context, Nullable`1 moment, String callerFilePath, Int32 callerLineNumber)
at Lykke.Logs.Log.Common.Log.ILog.WriteWarningAsync(String process, String context, String info, Nullable`1 dateTime)
at Common.Log.LogExtensions.WriteWarning(ILog log, String process, Object context, String info, Nullable`1 dateTime)
at async Lykke.Common.ApiLibrary.Middleware.ClientErrorHandlerMiddleware.LogError(?)
at async Lykke.Common.ApiLibrary.Middleware.ClientErrorHandlerMiddleware.Invoke(?)
at async Lykke.Common.ApiLibrary.Middleware.GlobalErrorHandlerMiddleware.Invoke(?)
This issue is fixed in this release.
1.10.1
1.10.0
1.9.0
1.8.0
Main objective of this release is support redesign of the logging system, which is made in the Lykke.Common 7.0.0
and Lykke.Logs 5.0.0
Obsolete
All constructors and methods, which accepts ILog
parameter are marked as obsolete. Overloads with ILogFactory
insted of ILog
have been added.
v1.7.5
Changes
- Revert Swashbuckle to v1.1.0
v1.7.4
Fixed bugs
- Respect the [Required] attribute for all properties.
Improvements
- Update Swashbuckle to v2.5
1.7.2
1.7.1
Bug fixes
XmsEnumSchemaFilter
for the Swagger has been fixed to take into account Swagger schema JSON contract. This release fixes cases when property name in [JsonPropery("propertyName")]
is differs from C# model property name.