1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00

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
This commit is contained in:
Shaya Potter
2024-10-15 17:46:52 +03:00
committed by GitHub
parent 2fc79bdfb3
commit b2d35c5286
1174 changed files with 45931 additions and 36274 deletions

50
.github/release-drafter-base.yml vendored Normal file
View File

@@ -0,0 +1,50 @@
name-template: 'json@$NEXT_PATCH_VERSION'
tag-template: 'json@$NEXT_PATCH_VERSION'
autolabeler:
- label: 'chore'
files:
- '*.md'
- '.github/*'
- label: 'bug'
branch:
- '/bug-.+'
- label: 'chore'
branch:
- '/chore-.+'
- label: 'feature'
branch:
- '/feature-.+'
categories:
- title: 'Breaking Changes'
labels:
- 'breakingchange'
- title: '🚀 New Features'
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '🧰 Maintenance'
label:
- 'chore'
- 'maintenance'
- 'documentation'
- 'docs'
change-template: '- $TITLE (#$NUMBER)'
include-paths:
- 'packages/json'
exclude-labels:
- 'skip-changelog'
template: |
## Changes
$CHANGES
## Contributors
We'd like to thank all the contributors who worked on this release!
$CONTRIBUTORS

View File

@@ -17,8 +17,6 @@ jobs:
uses: actions/setup-node@v3
- name: Install Packages
run: npm ci
- name: Build tests tools
run: npm run build:tests-tools
- name: Generate Documentation
run: npm run documentation
- name: Upload

View File

@@ -5,11 +5,12 @@ on:
branches:
- master
- v4.0
- v5
pull_request:
branches:
- master
- v4.0
- v5
jobs:
tests:
runs-on: ubuntu-latest
@@ -17,7 +18,7 @@ jobs:
fail-fast: false
matrix:
node-version: ['18', '20']
redis-version: ['5', '6.0', '6.2', '7.0', '7.2', '7.4-rc2']
redis-version: ['6.2.6-v17', '7.2.0-v13', '7.4.0-v1']
steps:
- uses: actions/checkout@v4
with:
@@ -31,10 +32,10 @@ jobs:
if: ${{ matrix.node-version <= 14 }}
- name: Install Packages
run: npm ci
- name: Build tests tools
run: npm run build:tests-tools
- name: Build
run: npm run build
- name: Run Tests
run: npm run test -- -- --forbid-only --redis-version=${{ matrix.redis-version }}
run: npm run test -ws --if-present -- --forbid-only --redis-version=${{ matrix.redis-version }}
- name: Upload to Codecov
run: |
curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import