1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00
Commit Graph

1694 Commits

Author SHA1 Message Date
leibale
38426fe2a4 move "all-in-one" to root folder 2021-11-09 19:55:16 -05:00
leibale
57539e7c3f fix test-utils 2021-11-09 19:32:31 -05:00
leibale
0e70f245c8 uncomment some tests 2021-11-09 19:32:15 -05:00
leibale
3ad8a227eb update examples 2021-11-09 18:24:01 -05:00
leibale
162ac4ce64 update CONTRIBUTING.md 2021-11-09 18:14:32 -05:00
leibale
ca4ec86f89 add package-lock.json 2021-11-09 18:09:19 -05:00
leibale
ab339d396a fix #1714 - update README(s) 2021-11-09 18:07:26 -05:00
leibale
8b3daad88a uncomment "should handle live resharding" test 2021-11-09 13:38:08 -05:00
leibale
28018caf48 fix tests.yml 2021-11-09 13:09:35 -05:00
leibale
cd74f9632e use codecov 2021-11-09 13:07:53 -05:00
leibale
64df5dc76e uncomment TIME tests 2021-11-09 12:32:21 -05:00
leibale
69d98bf39c fix #1712 - fix LINDEX return type 2021-11-09 10:39:07 -05:00
leibale
3eb99dbe83 use dockers for tests, use npm workspaces, add rejson & redisearch modules, fix some bugs 2021-11-08 19:21:15 -05:00
Chayim
ecbd5b6968 release drafter (#1683)
* release drafter

* fixing contributors
2021-11-04 12:15:52 -04:00
leibale
97dd75a9e5 increase dockers timeout to 30s 2021-11-01 11:33:45 -04:00
leibale
5cff3320d2 use dockers for tests, fix some bugs 2021-11-01 11:30:25 -04:00
Leibale Eidelman
f6f9b3dccd fix #1706 - HSET return type should be number 2021-10-31 21:09:51 -04:00
Kalki
d409120e5b Issue # 1697 FIX - creates an example script that shows how to use the SSCAN iterator (#1699)
* #1697 fix for set scan example

* adds the js file

* adds comment

* Minor layout and comment adjustment.

Co-authored-by: srawat2 <shashank19aug>
Co-authored-by: Simon Prickett <simon@redislabs.com>

Closes #1697.
2021-10-27 21:54:12 +01:00
Rohan Kumar
fdffa2383f Add command-with-modifiers.js example (#1695)
* Adds TypeScript note and corrects a typo.

* Adds command-with-modifiers example. (redis#1688)

* Adds command-with-modifiers example. (redis#1688)

* Adds command-with-modifiers example. (redis#1688)

* Removed callbacks.

Co-authored-by: Simon Prickett <simon@redislabs.com>

Closes #1688.
2021-10-27 00:22:19 +01:00
Aditya Rastogi
9c3c42f113 Add(examples): Create an example for blPop & lPush (#1696)
* Add(examples): Create an example for blPop & lPush

Signed-off-by: Aditya Rastogi <adit.rastogi2014@gmail.com>

* Update(examples): fix case, add timeout, update readme

Signed-off-by: Aditya Rastogi <adit.rastogi2014@gmail.com>

Closes #1693.
2021-10-25 23:43:47 +01:00
Joshua T
9a4ac34f18 Add lua-multi-incr.js example (#1692)
Also fix syntax error in the lua example in the README

Closes #1689.
2021-10-25 23:31:19 +01:00
Simon Prickett
55391557ca Made examples use local version. 2021-10-25 22:53:22 +01:00
Suze Shardlow
d06ecc7743 Fixes a bug in the Scan Iterator section. (#1694) 2021-10-22 14:57:02 -04:00
Simon Prickett
dec504851e Adds TypeScript note and corrects a typo. 2021-10-21 21:48:29 +01:00
leibale
6fc631781a fix ACL GETUSER 2021-10-19 17:16:51 -04:00
leibale
dd85537c58 fix client.quit and client.disconnect 2021-10-19 17:14:31 -04:00
leibale
9f32ae728d fix ACL GETUSER test 2021-10-19 16:32:49 -04:00
leibale
5be091f7a1 fix tests with redis 6.0.x 2021-10-19 16:29:42 -04:00
leibale
2a7a7c1c2e update docs, add 6.0.x to the tests matrix, add eslint, npm update, fix some commands, fix some types
Co-authored-by: Simon Prickett <simon@crudworks.org>
2021-10-19 16:20:02 -04:00
Simon Prickett
46aad787eb Updated examples to use named functions. (#1687)
* Updated examples to user named functions.

* Update README.md

Co-authored-by: Leibale Eidelman <leibale1998@gmail.com>
2021-10-19 16:13:35 -04:00
Simon Prickett
a5eb16595f Adds examples table of contents and contribution guidelines. (#1686) 2021-10-19 09:33:00 -04:00
leibale
e3ebda1041 clean code 2021-10-18 20:34:00 -04:00
leibale
ae264ffb0f clean some tests 2021-10-18 20:22:00 -04:00
leibale
55cfee5d32 move examples 2021-10-18 18:23:50 -04:00
Simon Prickett
293a0288b5 Adds Apple .DS_Store file to .gitignore (#1685)
* Adds Apple .DS_Store file.

* Add .DS_Store to .npmignore too

Co-authored-by: Leibale Eidelman <leibale1998@gmail.com>
2021-10-18 18:22:01 -04:00
Simon Prickett
26774f8fa3 Adds connect-as-acl-user example. (#1684)
* Adds connect-as-acl-user example.

* Adds blank line at end.

* Set to private.

* Adds examples folder to npmignore.
2021-10-18 18:20:00 -04:00
mustard
d958c3dcf8 Auth before select database (#1679)
* Auth before select database

* fix #1681

Co-authored-by: leibale <leibale1998@gmail.com>
2021-10-18 17:53:43 -04:00
leibale
83ddbbfc0a update comments 2021-10-14 16:50:48 -04:00
leibale
4b2ad95616 fix #1676 2021-10-14 16:50:39 -04:00
leibale
a79b8fae4f move from "NodeRedis" to "Redis" 2021-10-13 13:37:57 -04:00
leibale
bc1ffbc5db use "export { x as y }" instead of import & const 2021-10-12 13:19:30 -04:00
leibale
c8f3327ab7 remove whitespace from LICENSE 2021-10-12 11:44:16 -04:00
leibale
eb11f8386a fix README 2021-10-12 11:43:53 -04:00
leibale
bd67394d02 Merge branch 'v4.0' of https://github.com/NodeRedis/node-redis 2021-10-11 19:40:42 -04:00
Leibale Eidelman
199285aa71 Release 4.0.0-rc.3 (#1678)
* update workflows & README

* add .deepsource.toml

* fix client.quit, add error events on cluster, fix some "deepsource.io" warnings

* Release 4.0.0-rc.1

* add cluster.duplicate, add some tests

* fix #1650 - add support for Buffer in some commands, add GET_BUFFER command

* fix GET and GET_BUFFER return type

* update FAQ

* Update invalid code example in README.md (#1654)

* Update invalid code example in README.md

* Update README.md

Co-authored-by: Leibale Eidelman <leibale1998@gmail.com>

* fix #1652

* ref #1653 - better types

* better types

* fix 54124793ad

* Update GEOSEARCHSTORE.spec.ts

* fix #1660 - add support for client.HSET('key', 'field', 'value')

* upgrade dependencies, update README

* fix #1659 - add support for db-number in client options url

* fix README, remove unused import, downgrade typedoc & typedoc-plugin-markdown

* update client-configurations.md

* fix README

* add CLUSTER_SLOTS, add some tests

* fix "createClient with url" test with redis 5

* remove unused imports

* Release 4.0.0-rc.2

* add missing semicolon

* replace empty "transformReply" functions with typescript "declare"

* fix EVAL & EVALSHA, add some tests, npm update

* fix #1665 - add ZRANGEBYLEX, ZRANGEBYSCORE, ZRANGEBYSCORE_WITHSCORES

* new issue templates

* add all COMMAND commands

* run COMMAND & COMMAND INFO tests only on redis >6

* Create SECURITY.md

* fix #1671 - add support for all client configurations in cluster

* ref #1671 - add support for defaults

* remove some commands from cluster, npm update, clean code,

* lock benny version

* fix #1674 - remove `isolationPoolOptions` when creating isolated connection

* increase test coverage

* update .npmignore

* Release 4.0.0-rc.3

Co-authored-by: Richard Samuelsson <noobtoothfairy@gmail.com>
2021-10-11 19:40:14 -04:00
leibale
235db19f79 Release 4.0.0-rc.3 v4.0.0-rc.3 2021-10-11 19:36:46 -04:00
leibale
b0f657c747 update .npmignore 2021-10-11 19:34:23 -04:00
leibale
61cec9d06c increase test coverage 2021-10-11 19:15:02 -04:00
leibale
40972582f0 fix #1674 - remove isolationPoolOptions when creating isolated connection 2021-10-11 17:32:49 -04:00
leibale
c650d864d1 lock benny version 2021-10-11 17:32:15 -04:00