Skip to content

Commit a828354

Browse files
Update docs
1 parent 598a2d4 commit a828354

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

doc/05-Upgrading.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ If you are upgrading across multiple versions, make sure to follow the steps for
1111

1212
**Breaking Changes**
1313

14-
* The JSON/CSV-export for Hosts and Services now supports filtering for specific columns with the `?columns` parameter.
15-
* The exported file will only contain the listed columns of the Host/Service, if the parameter is not set, all columns will be included.
16-
* If a relation is entirely empty and would result in an empty JSON-object, the JSON-export will not create an object for it at all.
14+
* When using the `?columns` parameter to filter for specific columns and exporting to CSV/JSON, the exported file will only contain the listed columns of the Hosts/Services, if the parameter is not set, all columns will be included.
15+
* If a relation is entirely empty and would result in an empty JSON-object, the JSON-export will not create an object for it at all. (instead of `{"someKey":"someValue","emptyObject":{}}` we will now export `{"someKey":"someValue"}`)
1716

1817
**Removed Features**
1918

library/Icingadb/Web/Controller.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
use Icinga\Module\Icingadb\Common\SearchControls;
2323
use Icinga\Module\Icingadb\Data\CsvResultSet;
2424
use Icinga\Module\Icingadb\Data\JsonResultSet;
25-
use Icinga\Module\Icingadb\Model\Host;
26-
use Icinga\Module\Icingadb\Model\Service;
2725
use Icinga\Module\Icingadb\Web\Control\GridViewModeSwitcher;
2826
use Icinga\Module\Icingadb\Web\Control\ViewModeSwitcher;
2927
use Icinga\Module\Icingadb\Widget\ItemTable\StateItemTable;

0 commit comments

Comments
 (0)