Upgrade to Graylog 6.2
This article contains important information about your upgrade to Graylog 6.2. For more information on the upgrade process, see our complete guides to upgrading for the following supported systems and services:
Breaking Changes
Plugins
-
This release includes Java API changes that might require plugin authors to adjust their code. Please check Java API Changes for details.
-
Adjustment of
enterpriseWidgets
web interface plugin. TheeditComponent
attribute now no longer has anonSubmit
property. Before this change, the property had to be called to close the widget edit mode. Now it is enough to callapplyAllWidgetChanges
from theWidgetEditApplyAllChangesContext
. Alternatively, theSaveOrCancelButtons
component can be used in the edit component for custom widgets. It renders a cancel and submit button and callsapplyAllWidgetChanges
on submit.
Configuration File Changes
Option |
Action |
Description |
---|---|---|
tbd |
added |
|
Default Configuration Changes
-
tbd
Java API Changes
Upgraded MongoJack to version 5.x. This change impacts the Java API for accessing documents in MongoDB. Some previously deprecated MongoJack classes (like org.mongojack.DBQuery
) have been removed. Plugin authors have to replace usages of removed classes to corresponding classes from the MongoDB driver packages, most prominently com.mongodb.client.model.Filters
.
Additionally, the following Java Code API changes are included in this release:
File/Method |
Description |
---|---|
|
removed |
|
replaced by |
|
replaced by |
|
replaced by |
|
replaced by |
|
replaced by |
|
replaced by |
|
replaced by |
|
replaced by |
|
replaced by |
|
replaced by |
|
replaced by |
|
replaced by |
|
replaced by |
DBService classes' new streaming methods require streams to be closed after using. We recommend using try-with-resource
statements.
REST API Endpoint Changes
The following REST API changes have been made.
Endpoint |
Description |
---|---|
|
Remove unused endpoint. |
|
Removed permissions endpoint in favor of maintaining permissions in official documentation site. |
/plugins/org.graylog.plugins.files/*
|
Removed (Graylog Enterprise plugin). |