Skip to content

Commit b2d35c5

Browse files
authored
V5 bringing RESP3, Sentinel and TypeMapping to node-redis
RESP3 Support - Some commands responses in RESP3 aren't stable yet and therefore return an "untyped" ReplyUnion. Sentinel TypeMapping Correctly types Multi commands Note: some API changes to be further documented in v4-to-v5.md
1 parent 2fc79bd commit b2d35c5

File tree

1,174 files changed

+45668
-36011
lines changed

Some content is hidden

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

1,174 files changed

+45668
-36011
lines changed

.github/release-drafter-base.yml

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name-template: 'json@$NEXT_PATCH_VERSION'
2+
tag-template: 'json@$NEXT_PATCH_VERSION'
3+
autolabeler:
4+
- label: 'chore'
5+
files:
6+
- '*.md'
7+
- '.github/*'
8+
- label: 'bug'
9+
branch:
10+
- '/bug-.+'
11+
- label: 'chore'
12+
branch:
13+
- '/chore-.+'
14+
- label: 'feature'
15+
branch:
16+
- '/feature-.+'
17+
categories:
18+
- title: 'Breaking Changes'
19+
labels:
20+
- 'breakingchange'
21+
- title: '🚀 New Features'
22+
labels:
23+
- 'feature'
24+
- 'enhancement'
25+
- title: '🐛 Bug Fixes'
26+
labels:
27+
- 'fix'
28+
- 'bugfix'
29+
- 'bug'
30+
- title: '🧰 Maintenance'
31+
label:
32+
- 'chore'
33+
- 'maintenance'
34+
- 'documentation'
35+
- 'docs'
36+
37+
change-template: '- $TITLE (#$NUMBER)'
38+
include-paths:
39+
- 'packages/json'
40+
exclude-labels:
41+
- 'skip-changelog'
42+
template: |
43+
## Changes
44+
45+
$CHANGES
46+
47+
## Contributors
48+
We'd like to thank all the contributors who worked on this release!
49+
50+
$CONTRIBUTORS

.github/workflows/documentation.yml

-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ jobs:
1717
uses: actions/setup-node@v3
1818
- name: Install Packages
1919
run: npm ci
20-
- name: Build tests tools
21-
run: npm run build:tests-tools
2220
- name: Generate Documentation
2321
run: npm run documentation
2422
- name: Upload

.github/workflows/tests.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,20 @@ on:
55
branches:
66
- master
77
- v4.0
8+
- v5
89
pull_request:
910
branches:
1011
- master
1112
- v4.0
12-
13+
- v5
1314
jobs:
1415
tests:
1516
runs-on: ubuntu-latest
1617
strategy:
1718
fail-fast: false
1819
matrix:
1920
node-version: ['18', '20']
20-
redis-version: ['5', '6.0', '6.2', '7.0', '7.2', '7.4-rc2']
21+
redis-version: ['6.2.6-v17', '7.2.0-v13', '7.4.0-v1']
2122
steps:
2223
- uses: actions/checkout@v4
2324
with:
@@ -31,10 +32,10 @@ jobs:
3132
if: ${{ matrix.node-version <= 14 }}
3233
- name: Install Packages
3334
run: npm ci
34-
- name: Build tests tools
35-
run: npm run build:tests-tools
35+
- name: Build
36+
run: npm run build
3637
- name: Run Tests
37-
run: npm run test -- -- --forbid-only --redis-version=${{ matrix.redis-version }}
38+
run: npm run test -ws --if-present -- --forbid-only --redis-version=${{ matrix.redis-version }}
3839
- name: Upload to Codecov
3940
run: |
4041
curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ node_modules/
77
.DS_Store
88
dump.rdb
99
documentation/
10+
tsconfig.tsbuildinfo

.npmignore

-12
This file was deleted.

0 commit comments

Comments
 (0)