Skip to content

Commit 74ba17f

Browse files
committed
Merge branch 'main' into feature/RI-4149-Enhance_syntax_in_auto-completion
2 parents cf64f88 + 31a1c8e commit 74ba17f

File tree

42 files changed

+515
-111
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+515
-111
lines changed

.circleci/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,17 +598,18 @@ jobs:
598598
599599
if [ << parameters.env >> == 'prod' ]; then
600600
yarn package:prod
601+
yarn package:mas
601602
rm -rf release/mac
602603
exit 0;
603604
fi
604605
605606
if [ << parameters.env >> == 'stage' ]; then
606-
UPGRADES_LINK=$UPGRADES_LINK_STAGE SEGMENT_WRITE_KEY=$SEGMENT_WRITE_KEY_STAGE yarn package:stage
607+
UPGRADES_LINK=$UPGRADES_LINK_STAGE SEGMENT_WRITE_KEY=$SEGMENT_WRITE_KEY_STAGE yarn package:stage && yarn package:mas
607608
rm -rf release/mac
608609
exit 0;
609610
fi
610611
611-
UPGRADES_LINK='' SEGMENT_WRITE_KEY='' yarn package:stage
612+
UPGRADES_LINK='' SEGMENT_WRITE_KEY='' yarn package:stage && yarn package:mas
612613
rm -rf release/mac
613614
no_output_timeout: 60m
614615

dev.provisionprofile

-140 Bytes
Binary file not shown.

electron-builder-mas.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
const electronBuilder = require('./electron-builder.json');
2+
3+
const config = {
4+
...electronBuilder,
5+
appId: 'com.redis.RedisInsight',
6+
productName: 'RedisInsight',
7+
};
8+
9+
module.exports = config;

electron-builder.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,12 @@
2828
{
2929
"target": "zip",
3030
"arch": ["x64", "arm64"]
31-
},
32-
{
33-
"target": "mas",
34-
"arch": ["universal"]
3531
}
3632
],
3733
"type": "distribution",
3834
"hardenedRuntime": true,
3935
"darkModeSupport": true,
40-
"bundleVersion": "1",
36+
"bundleVersion": "3",
4137
"icon": "resources/icon.icns",
4238
"artifactName": "${productName}-${os}-${arch}.${ext}",
4339
"entitlements": "resources/entitlements.mac.plist",

embedded.provisionprofile

-148 Bytes
Binary file not shown.

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"package": "yarn package:dev",
2727
"package:prod": "yarn build:prod && electron-builder build -p never",
2828
"package:stage": "yarn build:stage && electron-builder build -p never",
29-
"build:mas": "electron-builder build -p never -m mas:universal",
30-
"build:mas:dev": "electron-builder build -p never -m mas-dev:universal",
29+
"package:mas": "electron-builder build -p never -m mas:universal -c ./electron-builder-mas.js",
30+
"package:mas:dev": "electron-builder build -p never -m mas-dev:universal -c ./electron-builder-mas.js",
3131
"package:dev": "yarn build && cross-env DEBUG=electron-builder electron-builder build -p never",
3232
"package:win": "yarn build:prod && electron-builder build --win --x64 -p never",
3333
"package:mac": "yarn build:prod && electron-builder build --mac -p never",
@@ -128,6 +128,7 @@
128128
"@types/jsonpath": "^0.2.0",
129129
"@types/lodash": "^4.14.171",
130130
"@types/node": "14.14.10",
131+
"@types/pako": "^2.0.0",
131132
"@types/react": "^18.0.20",
132133
"@types/react-dom": "^18.0.5",
133134
"@types/react-redux": "^7.1.12",
@@ -222,6 +223,7 @@
222223
"@reduxjs/toolkit": "^1.6.2",
223224
"@stablelib/snappy": "^1.0.2",
224225
"axios": "^0.25.0",
226+
"brotli-unicode": "^1.0.2",
225227
"buffer": "^6.0.3",
226228
"classnames": "^2.3.1",
227229
"connection-string": "^4.3.2",
@@ -243,6 +245,7 @@
243245
"jsonpath": "^1.1.1",
244246
"lodash": "^4.17.21",
245247
"lz4js": "^0.2.0",
248+
"pako": "^2.1.0",
246249
"php-serialize": "^4.0.2",
247250
"rawproto": "^0.7.6",
248251
"react": "^18.2.0",

redisinsight/about-panel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const ICON_PATH = app.isPackaged
88
export default {
99
applicationName: 'RedisInsight-v2',
1010
applicationVersion:
11-
`${app.getVersion() || '2.22.0'}${process.env.NODE_ENV !== 'production' && `-dev-${process.getCreationTime()}`}`,
11+
`${app.getVersion() || '2.22.1'}${process.env.NODE_ENV !== 'production' ? `-dev-${process.getCreationTime()}` : ''}`,
1212
copyright: `Copyright © ${new Date().getFullYear()} Redis Ltd.`,
1313
iconPath: ICON_PATH,
1414
};

redisinsight/api/config/swagger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const SWAGGER_CONFIG: Omit<OpenAPIObject, 'paths'> = {
55
info: {
66
title: 'RedisInsight Backend API',
77
description: 'RedisInsight Backend API',
8-
version: '2.22.0',
8+
version: '2.22.1',
99
},
1010
tags: [],
1111
};

redisinsight/api/src/modules/database/entities/database.entity.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ export enum Compressor {
3131
ZSTD = 'ZSTD',
3232
LZ4 = 'LZ4',
3333
SNAPPY = 'SNAPPY',
34+
Brotli = 'Brotli',
35+
PHPGZCompress = 'PHPGZCompress',
3436
}
3537

3638
@Entity('database_instance')

redisinsight/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "redisinsight",
33
"productName": "RedisInsight",
44
"private": true,
5-
"version": "2.22.0",
5+
"version": "2.22.1",
66
"description": "RedisInsight",
77
"main": "./main.prod.js",
88
"author": {

0 commit comments

Comments
 (0)