Skip to content

Commit 4c44dc8

Browse files
authored
Merge pull request #3433 from RedisInsight/release/2.50.0
Release/2.50.0 to latest
2 parents ab72c25 + b2ff6ba commit 4c44dc8

File tree

863 files changed

+22520
-12804
lines changed

Some content is hidden

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

863 files changed

+22520
-12804
lines changed

.circleci/build/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ yarn --cwd redisinsight/api
77

88
# build
99
yarn build:statics
10-
yarn build:web
10+
yarn build:ui
1111
yarn --cwd ./redisinsight/api build:prod

.circleci/build/release-docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -e
33

44
HELP="Args:
5-
-v - Semver (2.48.0)
5+
-v - Semver (2.50.0)
66
-d - Build image repository (Ex: -d redisinsight)
77
-r - Target repository (Ex: -r redis/redisinsight)
88
"

.circleci/config.yml

Lines changed: 30 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,15 @@ executors:
187187
machine:
188188
image: ubuntu-2004:2023.04.2
189189
docker_layer_caching: true
190+
docker-node:
191+
docker:
192+
- image: cimg/node:18.15.0
193+
docker:
194+
docker:
195+
- image: cibuilds/docker:19.03.5
196+
macos:
197+
macos:
198+
xcode: 14.2.0
190199

191200
parameters:
192201
linux:
@@ -208,8 +217,7 @@ parameters:
208217
jobs:
209218
# Test jobs
210219
unit-tests-ui:
211-
docker:
212-
- image: cimg/node:18.15.0
220+
executor: docker-node
213221
steps:
214222
- checkout
215223
- restore_cache:
@@ -252,8 +260,7 @@ jobs:
252260
paths:
253261
- ./node_modules
254262
unit-tests-api:
255-
docker:
256-
- image: cimg/node:18.15.0
263+
executor: docker-node
257264
steps:
258265
- checkout
259266
- restore_cache:
@@ -522,15 +529,14 @@ jobs:
522529

523530
# Build jobs
524531
manual-build-validate:
532+
executor: docker-node
525533
parameters:
526534
os:
527535
type: string
528536
default: ""
529537
target:
530538
type: string
531539
default: ""
532-
docker:
533-
- image: cimg/node:18.15.0
534540
steps:
535541
- checkout
536542
- run:
@@ -552,14 +558,13 @@ jobs:
552558
paths:
553559
- certs
554560
setup-build:
561+
executor: docker
555562
parameters:
556563
env:
557564
description: Build environment (stage || prod)
558565
type: enum
559566
default: stage
560567
enum: [ 'dev', 'stage', 'prod' ]
561-
docker:
562-
- image: cibuilds/docker:19.03.5
563568
steps:
564569
- checkout
565570
- run:
@@ -577,8 +582,7 @@ jobs:
577582
paths:
578583
- electron
579584
linux:
580-
machine:
581-
image: ubuntu-2004:202101-01
585+
executor: linux-executor
582586
resource_class: large
583587
parameters:
584588
env:
@@ -652,8 +656,7 @@ jobs:
652656
- release/Redis-Insight*.snap
653657
- release/*-linux.yml
654658
macosx:
655-
macos:
656-
xcode: 14.2.0
659+
executor: macos
657660
resource_class: macos.x86.medium.gen2
658661
parameters:
659662
env:
@@ -1020,6 +1023,13 @@ jobs:
10201023
-r $DOCKER_REPO \
10211024
-v $appVersion
10221025
1026+
docker login -u $DOCKER_V1_USER -p $DOCKER_V1_PASS
1027+
1028+
./.circleci/build/release-docker.sh \
1029+
-d redisinsight \
1030+
-r $DOCKER_V1_REPO \
1031+
-v $appVersion
1032+
10231033
publish-prod-aws:
10241034
executor: linux-executor
10251035
steps:
@@ -1082,39 +1092,39 @@ jobs:
10821092
declare -A tag0=(
10831093
[arch]='x64'
10841094
[platform]='macos'
1085-
[objectDownload]=${applicationName}'-mac-x64.dmg'
1086-
[objectUpgrade]=${applicationName}'-mac-x64.zip'
1095+
[objectDownload]=${appFileName}'-mac-x64.dmg'
1096+
[objectUpgrade]=${appFileName}'-mac-x64.zip'
10871097
)
10881098
10891099
declare -A tag1=(
10901100
[arch]='arm64'
10911101
[platform]='macos'
1092-
[objectDownload]=${applicationName}'-mac-arm64.dmg'
1093-
[objectUpgrade]=${applicationName}'-mac-arm64.zip'
1102+
[objectDownload]=${appFileName}'-mac-arm64.dmg'
1103+
[objectUpgrade]=${appFileName}'-mac-arm64.zip'
10941104
)
10951105
10961106
declare -A tag2=(
10971107
[arch]='x64'
10981108
[platform]='windows'
1099-
[objectDownload]=${applicationName}'-win-installer.exe'
1109+
[objectDownload]=${appFileName}'-win-installer.exe'
11001110
)
11011111
11021112
declare -A tag3=(
11031113
[arch]='x64'
11041114
[platform]='linux_AppImage'
1105-
[objectDownload]=${applicationName}'-linux-x86_64.AppImage'
1115+
[objectDownload]=${appFileName}'-linux-x86_64.AppImage'
11061116
)
11071117
11081118
declare -A tag4=(
11091119
[arch]='x64'
11101120
[platform]='linux_deb'
1111-
[objectDownload]=${applicationName}'-linux-amd64.deb'
1121+
[objectDownload]=${appFileName}'-linux-amd64.deb'
11121122
)
11131123
11141124
declare -A tag5=(
11151125
[arch]='x64'
11161126
[platform]='linux_rpm'
1117-
[objectDownload]=${applicationName}'-linux-x86_64.rpm'
1127+
[objectDownload]=${appFileName}'-linux-x86_64.rpm'
11181128
)
11191129
11201130
# loop for add all tags to each app and create metrics

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ redisinsight/api/commands
5050
redisinsight/api/guides
5151
redisinsight/api/tutorials
5252
redisinsight/api/content
53+
redisinsight/ui/dist-stats.html
5354
dist
5455
distWeb
5556
dll

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN apk update && apk add --no-cache --virtual .gyp \
1818
WORKDIR /usr/src/app
1919

2020
# restore node_modules for front-end
21-
COPY package.json yarn.lock babel.config.cjs tsconfig.json ./
21+
COPY package.json yarn.lock tsconfig.json ./
2222
RUN SKIP_POSTINSTALL=1 yarn install
2323

2424
# prepare backend by copying scripts/configs and installing node modules
@@ -29,7 +29,7 @@ COPY redisinsight ./redisinsight
2929
RUN yarn --cwd redisinsight/api install
3030

3131
# build the frontend, static assets, and backend api
32-
RUN yarn build:web
32+
RUN yarn build:ui
3333
RUN yarn build:statics
3434
RUN yarn build:api
3535

LICENSE

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Server Side Public License
22
VERSION 1, OCTOBER 16, 2018
33

4-
Copyright © 2021 Redis, Inc.
4+
Copyright © 2018 MongoDB, Inc.
55

66
Everyone is permitted to copy and distribute verbatim copies of this
77
license document, but changing it is not allowed.
@@ -500,7 +500,7 @@
500500

501501
14. Revised Versions of this License.
502502

503-
Redis, Inc. may publish revised and/or new versions of the Server Side
503+
MongoDB, Inc. may publish revised and/or new versions of the Server Side
504504
Public License from time to time. Such new versions will be similar in
505505
spirit to the present version, but may differ in detail to address new
506506
problems or concerns.
@@ -509,9 +509,9 @@
509509
specifies that a certain numbered version of the Server Side Public
510510
License “or any later version” applies to it, you have the option of
511511
following the terms and conditions either of that numbered version or of
512-
any later version published by Redis, Inc. If the Program does not
512+
any later version published by MongoDB, Inc. If the Program does not
513513
specify a version number of the Server Side Public License, you may
514-
choose any version ever published by Redis, Inc.
514+
choose any version ever published by MongoDB, Inc.
515515

516516
If the Program specifies that a proxy can decide which future versions of
517517
the Server Side Public License can be used, that proxy's public statement

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
[![Release](https://img.shields.io/github/v/release/RedisInsight/RedisInsight.svg?sort=semver)](https://github.com/RedisInsight/RedisInsight/releases)
22
[![CircleCI](https://circleci.com/gh/RedisInsight/RedisInsight/tree/main.svg?style=svg)](https://circleci.com/gh/RedisInsight/RedisInsight/tree/main)
3-
[![Total alerts](https://img.shields.io/lgtm/alerts/g/RedisInsight/RedisInsight.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/RedisInsight/RedisInsight/alerts/)
43

5-
# <img src="https://redis.com/wp-content/uploads/2019/11/ico-redisinsight.svg" alt="logo" width="25"/> Redis Insight - Developer GUI for Redis, by Redis.
4+
# <img src="https://redis.com/wp-content/uploads/2019/11/ico-redisinsight.svg" alt="logo" width="25"/> Redis Insight - Developer GUI for Redis, by Redis.
65
[![Forum](https://img.shields.io/badge/Forum-RedisInsight-red)](https://forum.redis.com/c/redisinsight/65)
76
[![Discord](https://img.shields.io/discord/697882427875393627?style=flat-square)](https://discord.gg/QUkjSsk)
87

98

109
Redis Insight is a visual tool that provides capabilities to design, develop, and optimize your Redis application.
11-
Query, analyse and interact with your Redis data. [Download it here](https://redis.com/redis-enterprise/redis-insight/#insight-form)!
10+
Query, analyse and interact with your Redis data. [Download it here](https://redis.io/insight/#insight-form)!
1211

1312
![Redis Insight Browser screenshot](/.github/redisinsight_browser.png)
1413

@@ -21,28 +20,29 @@ Redis Insight is an intuitive and efficient GUI for Redis, allowing you to inter
2120
### Redis Insight Highlights:
2221

2322
* Browse, filter, visualise your key-value Redis data structures and see key values in different formats (including JSON, Hex, ASCII, etc.)
24-
* CRUD support for Lists, Hashes, Strings, Sets, Sorted Sets, and Streams
25-
* CRUD support for [RedisJSON](https://oss.redis.com/redisjson/)
23+
* CRUD support for lists, hashes, strings, sets, sorted sets, and streams
24+
* CRUD support for [JSON](https://redis.io/json/) data structure
2625
* Interactive tutorials to learn easily, among other things, how to leverage the native JSON data structure supporting structured querying and full-text search, including vector similarity search for your AI use cases
2726
* Contextualised recommendations to optimize performance and memory usage. The list of recommendations gets updated as you interact with your database
2827
* Profiler - analyze every command sent to Redis in real-time
2928
* SlowLog - analyze slow operations in Redis instances based on the [Slowlog](https://github.com/RedisInsight/RedisInsight/releases#:~:text=results%20of%20the-,Slowlog,-command%20to%20analyze) command
30-
* Pub/Sub - support for [Redis pub/sub](https://redis.io/docs/manual/pubsub/), enabling subscription to channels and posting messages to channels
29+
* Pub/Sub - support for [Redis pub/sub](https://redis.io/docs/latest/develop/interact/pubsub/), enabling subscription to channels and posting messages to channels
3130
* Bulk actions - Delete the keys in bulk based on the filters set in Browser or Tree view
3231
* Workbench - advanced command line interface with intelligent command auto-complete, complex data visualizations and support for the raw mode
33-
* Command auto-complete support for [RediSearch](https://oss.redis.com/redisearch/), [RedisJSON](https://oss.redis.com/redisjson/), [RedisGraph](https://oss.redis.com/redisgraph/), [RedisTimeSeries](https://oss.redis.com/redistimeseries/), [RedisAI](https://oss.redis.com/redisai/)
34-
* Visualizations of your [RediSearch](https://oss.redis.com/redisearch/) index, queries, and aggregations. Ability to build [your own data visualization plugins](https://github.com/RedisInsight/Packages)
35-
* Officially supported for Redis OSS, [Redis Cloud](https://redis.com/try-free/). Works with Microsoft Azure Cache for Redis (official support upcoming)
32+
* Command auto-complete support for [search and query](https://redis.io/search/) capability, [JSON](https://redis.io/json/) and [time series](https://redis.io/timeseries/) data structures
33+
* Visualizations of your [search and query](https://redis.io/search/) indexes and results.
34+
* Ability to build [your own data visualization plugins](https://github.com/RedisInsight/Packages)
35+
* Officially supported for Redis OSS, [Redis Cloud](https://redis.io/cloud/). Works with Microsoft Azure Cache for Redis
3636

37-
Check out the [release notes](https://docs.redis.com/latest/ri/release-notes/).
37+
Check out the [release notes](https://github.com/RedisInsight/RedisInsight/releases).
3838

3939
## Get started with Redis Insight
4040

4141
This repository includes the code for Redis Insight. Check out the [blogpost](https://redis.com/blog/introducing-redisinsight-2/) announcing it.
4242

4343
### Installable
44-
Available to download for free from [here](https://redis.com/redis-enterprise/redis-insight/#insight-form).
45-
Supports Windows, macOS (including M1), and Linux.
44+
Available to download for free from [here](https://redis.io/insight/#insight-form).
45+
Redis Insight is also available on Microsoft Store, Apple Store, Snapcraft, Flathub and [Docker](https://hub.docker.com/r/redis/redisinsight).
4646

4747
### Build
4848
Alternatively you can also build from source. See our wiki for instructions.

babel.config.cjs

Lines changed: 4 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,13 @@
11
/* eslint global-require: off, import/no-extraneous-dependencies: off */
2-
3-
const developmentEnv = ['development', 'test'];
4-
5-
const developmentPlugins = [
6-
require('@babel/plugin-transform-runtime'),
7-
require('react-hot-loader/babel'),
8-
];
9-
10-
const productionPlugins = [
11-
require('babel-plugin-dev-expression'),
12-
require('@babel/plugin-transform-react-constant-elements'),
13-
require('@babel/plugin-transform-react-inline-elements'),
14-
require('babel-plugin-transform-react-remove-prop-types'),
15-
];
16-
2+
const developmentEnv = ['development', 'test']
173
module.exports = (api) => {
18-
const development = api.env(developmentEnv);
4+
const development = api.env(developmentEnv)
195

206
return {
217
presets: [
228
require('@babel/preset-env'),
239
require('@babel/preset-typescript'),
2410
[require('@babel/preset-react'), { development }],
2511
],
26-
plugins: [
27-
// Stage 0
28-
require('@babel/plugin-proposal-function-bind'),
29-
30-
// Stage 1
31-
require('@babel/plugin-proposal-export-default-from'),
32-
require('@babel/plugin-proposal-logical-assignment-operators'),
33-
[require('@babel/plugin-proposal-optional-chaining'), { loose: false }],
34-
[require('@babel/plugin-proposal-pipeline-operator'), { proposal: 'minimal' }],
35-
[require('@babel/plugin-proposal-nullish-coalescing-operator'), { loose: false }],
36-
require('@babel/plugin-proposal-do-expressions'),
37-
38-
// Stage 2
39-
[require('@babel/plugin-proposal-decorators'), { legacy: true }],
40-
require('babel-plugin-parameter-decorator'),
41-
require('@babel/plugin-proposal-function-sent'),
42-
require('@babel/plugin-proposal-export-namespace-from'),
43-
require('@babel/plugin-proposal-numeric-separator'),
44-
require('@babel/plugin-proposal-throw-expressions'),
45-
46-
// Stage 3
47-
require('@babel/plugin-syntax-dynamic-import'),
48-
require('@babel/plugin-syntax-import-meta'),
49-
[require('@babel/plugin-proposal-class-properties'), { loose: true }],
50-
require('@babel/plugin-proposal-json-strings'),
51-
[require('@babel/plugin-proposal-private-property-in-object'), { loose: true }],
52-
[require('@babel/plugin-proposal-private-methods'), { loose: true }],
53-
54-
...(development ? developmentPlugins : productionPlugins),
55-
],
56-
};
57-
};
12+
}
13+
}

configs/webpack.config.base.ts

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,17 @@ const configuration: webpack.Configuration = {
1313
{
1414
test: /\.tsx?$/,
1515
exclude: /node_modules/,
16-
use: {
17-
loader: 'babel-loader',
18-
options: {
19-
cacheDirectory: true,
16+
use: [
17+
{
18+
loader: 'ts-loader',
19+
options: {
20+
transpileOnly: true,
21+
compilerOptions: {
22+
module: 'esnext',
23+
},
24+
},
2025
},
21-
},
26+
]
2227
},
2328
],
2429
},

configs/webpack.config.eslint.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// eslint-disable-next-line import/no-self-import
22
/* eslint import/no-unresolved: off, import/no-self-import: off */
3-
require('@babel/register');
43

54
module.exports = require('./webpack.config.renderer.dev').default;

0 commit comments

Comments
 (0)