You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Api methods now complete exceptionally if the server returns an error response
instead of returning a response object with error details.
Removed ApiException#getResponse and JsonResponse#throwIfError methods.
Remove JsonResponse
Remove the success and error fields from response objects.
Some response classes from response.insights have been moved to response.entry.
Many classes have been marked as final or not-extendable.
LimitedReader and Util are now internal
LogReader has been split into multiple classes in the reader package.
Removed deprecated constants and constructor from the Log class.
Mclogs instances running v1 are no longer supported.
New Features
You can now specify a source and other metadata when uploading logs. By default, this is filled with the project name
you can set with MclogsClient#setProjectName(String)
You can delete logs after uploading them using UploadLogResponse#delete() or MclogsClient#deleteLog(id, token)
with the token from the upload response.
Uploading a log now returns many new fields
These new fields, the raw content, the parsed log entries and insights can now be fetched with a single request.
Uploaded logs are now automatically compressed with GZIP during transfer
Improvements
Remove exception that is never thrown from signature of MclogsClient#analyseLog(Path)
Add annotations for nullability where missing
Limits are now applied to all methods that upload logs before the upload happens