Skip to content

Releases: aternosorg/mclogs-java

v6.2.0

03 Feb 12:22
6.2.0
16aa46f

Choose a tag to compare

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 Log are 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 new getContent(FilterList) method is internal and might change without notice.
  • LogReader#readContents(Limits) is now deprecated. The new readContents(FilterList) method is internal and might change without notice.

v6.2.0-SNAPSHOT

02 Feb 16:58
6.2.0-SNAPSHOT
05c0344

Choose a tag to compare

v6.2.0-SNAPSHOT Pre-release
Pre-release

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 Log are 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 new getContent(FilterList) method is internal and might change without notice.
  • LogReader#readContents(Limits) is now deprecated. The new readContents(FilterList) method is internal and might change without notice.

v6.1.0

30 Jan 17:41
6.1.0
a8cf46a

Choose a tag to compare

Improvements

  • Add listFilesInDirectory method to MclogsClient. 1
  1. This is the equivalent of listLogsInDirectory and listCrashReportsInDirectory but searches in the directory
    itself, not a subfolder. Before 6.0, this was available as a static method of the Util class

v6.1.0-SNAPSHOT

30 Jan 17:01
6.1.0-SNAPSHOT
a8cf46a

Choose a tag to compare

v6.1.0-SNAPSHOT Pre-release
Pre-release

Improvements

  • Add listFilesInDirectory method to MclogsClient. 1
  1. This is the equivalent of listLogsInDirectory and listCrashReportsInDirectory but searches in the directory
    itself, not a subfolder. Before 6.0, this was available as a static method of the Util class

v6.0.0

30 Jan 16:57
6.0.0
1bd3d89

Choose a tag to compare

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#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
  • ApiException now includes the HTTP status code

v6.0.0-SNASPSHOT

30 Jan 15:45
6.0.0-SNASPSHOT
18671c1

Choose a tag to compare

v6.0.0-SNASPSHOT Pre-release
Pre-release

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#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
  • ApiException now includes the HTTP status code

v5.0.2

12 May 11:14
5.0.2
e57f511

Choose a tag to compare

Build System

  • Migrate to new Maven Central publishing system.

v5.0.2-SNAPSHOT

12 May 10:42
5.0.2-SNAPSHOT
e57f511

Choose a tag to compare

v5.0.2-SNAPSHOT Pre-release
Pre-release

Build System

  • Migrate to new Maven Central publishing system.

v5.0.1-SNAPSHOT

09 May 12:25
5.0.1-SNAPSHOT
1920d9a

Choose a tag to compare

Build System

  • Migrate to Portal OSSRH Staging API

v5.0.1

09 May 12:27
5.0.1
1920d9a

Choose a tag to compare

Build System

  • Migrate to Portal OSSRH Staging API