Skip to content

Commit d1d9b38

Browse files
committed
5.7.0
1 parent 41f55d3 commit d1d9b38

File tree

3 files changed

+46
-2
lines changed

3 files changed

+46
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## 5.6.3 - 2025-07-06
3+
## 5.7.0 - 2025-07-11
44
### Added
55
- Unified navigation showing panoramas and reports together
66
- Collapsible sections for favorites, panoramas and reports

appinfo/info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Visualize and share anything, from financial analysis to IoT logs.
2525
- **AI Assistant**: Context Chat integration
2626
2727
]]></description>
28-
<version>5.6.3</version>
28+
<version>5.7.0</version>
2929
<licence>agpl</licence>
3030
<author>Marcel Scherello</author>
3131
<namespace>Analytics</namespace>
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?php
2+
/**
3+
* Analytics
4+
*
5+
* SPDX-FileCopyrightText: 2019-2022 Marcel Scherello
6+
* SPDX-License-Identifier: AGPL-3.0-or-later
7+
*/
8+
9+
declare(strict_types=1);
10+
11+
namespace OCA\Analytics\Migration;
12+
13+
use Closure;
14+
use OCP\DB\ISchemaWrapper;
15+
use OCP\IDBConnection;
16+
use OCP\Migration\IOutput;
17+
use OCP\Migration\SimpleMigrationStep;
18+
19+
/**
20+
* Auto-generated migration step: Please modify to your needs!
21+
* sudo -u www-data php occ migrations:execute analytics 5007Date20250711100000
22+
*/
23+
class Version5007Date20250711100000 extends SimpleMigrationStep {
24+
public function __construct(
25+
private IDBConnection $connection,
26+
) {
27+
}
28+
29+
/**
30+
* @param IOutput $output
31+
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
32+
* @param array $options
33+
*/
34+
public function postSchemaChange(IOutput $output, Closure $schemaClosure, array $options) {
35+
$query = $this->connection->getQueryBuilder();
36+
$query->insert('analytics_whats_new')->values([
37+
'version' => $query->createNamedParameter('5.7.0'),
38+
'data' => $query->createNamedParameter('{"changelogURL":"https:\/\/github.com\/rello\/analytics\/blob\/master\/CHANGELOG.md","whatsNew":{
39+
"en":{"regular":["Find everything in the new and unified navigation", "Cleaner dialogs with less distraction"],"admin":["New Features apply to users"]},
40+
"de":{"regular":["Finde alles in der neuen, einheitlichen Navigation", "Einfachere Dialoge mit weniger Ablenkung"],"admin":["Nur User Features"]}
41+
}}'),
42+
])->executeStatement();
43+
}
44+
}

0 commit comments

Comments
 (0)