Releases: aternosorg/mclogs-java
Releases · aternosorg/mclogs-java
v6.2.0
Improvements
- Filter usernames and session tokens in uploaded logs as defined by the instance filters
- Fix some requests hanging when their body is being read
- Trim beginning of logs before applying limits to avoid counting leading newlines and whitespace towards the limit
Deprecations
- The pattern constants in
Logare now deprecated and only serve as fallbacks when the filters endpoint is not available on the specified instance. Log#getContent(Limits)is now deprecated. The newgetContent(FilterList)method is internal and might change without notice.LogReader#readContents(Limits)is now deprecated. The newreadContents(FilterList)method is internal and might change without notice.
v6.2.0-SNAPSHOT
Improvements
- Filter usernames and session tokens in uploaded logs as defined by the instance filters
- Fix some requests hanging when their body is being read
- Trim beginning of logs before applying limits to avoid counting leading newlines and whitespace towards the limit
Deprecations
- The pattern constants in
Logare now deprecated and only serve as fallbacks when the filters endpoint is not available on the specified instance. Log#getContent(Limits)is now deprecated. The newgetContent(FilterList)method is internal and might change without notice.LogReader#readContents(Limits)is now deprecated. The newreadContents(FilterList)method is internal and might change without notice.
v6.1.0
v6.1.0-SNAPSHOT
v6.0.0
Breaking Changes
- Api methods now complete exceptionally if the server returns an error response
instead of returning a response object with error details.- Removed
ApiException#getResponseandJsonResponse#throwIfErrormethods. - Remove
JsonResponse - Remove the
successanderrorfields from response objects.
- Removed
- Some response classes from
response.insightshave been moved toresponse.entry. - Many classes have been marked as final or not-extendable.
LimitedReaderandUtilare now internalLogReaderhas been split into multiple classes in thereaderpackage.- Removed deprecated constants and constructor from the
Logclass. - 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 withMclogsClient#setProjectName(String) - You can delete logs after uploading them using
UploadLogResponse#delete()orMclogsClient#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
- ApiException now includes the HTTP status code
v6.0.0-SNASPSHOT
Breaking Changes
- Api methods now complete exceptionally if the server returns an error response
instead of returning a response object with error details.- Removed
ApiException#getResponseandJsonResponse#throwIfErrormethods. - Remove
JsonResponse - Remove the
successanderrorfields from response objects.
- Removed
- Some response classes from
response.insightshave been moved toresponse.entry. - Many classes have been marked as final or not-extendable.
LimitedReaderandUtilare now internalLogReaderhas been split into multiple classes in thereaderpackage.- Removed deprecated constants and constructor from the
Logclass. - 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 withMclogsClient#setProjectName(String) - You can delete logs after uploading them using
UploadLogResponse#delete()orMclogsClient#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
- ApiException now includes the HTTP status code
v5.0.2
Build System
- Migrate to new Maven Central publishing system.
v5.0.2-SNAPSHOT
Build System
- Migrate to new Maven Central publishing system.
v5.0.1-SNAPSHOT
Build System
- Migrate to Portal OSSRH Staging API
v5.0.1
Build System
- Migrate to Portal OSSRH Staging API