You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
* churn(test): use redislabs/client-libs-test for testing This switches our testing infrastructure from redis/redis-stack to redislabs/client-libs-test Docker image across all packages. This change also updates the default Docker version from 7.4.0-v1 to 8.0-M04-pre. * churn(test): verify CONFIG SET / GET compatibility with Redis 8 - Add tests for Redis 8 search configuration settings - Deprecate Redis Search CONFIG commands in favor of standard CONFIG - Test read-only config restrictions for Redis 8 * churn(test): handle Redis 8 coordinate precision in GEOPOS - Update GEOPOS tests to handle increased precision in Redis 8 (17 decimal places vs 14) - Add precision-aware coordinate comparison helper - Add comprehensive test suite for coordinate comparison function * test(search): adapt SUGGET tests for Redis 8 empty results - Update tests to expect empty array ([]) instead of null for SUGGET variants - Affects sugGet, sugGetWithPayloads, sugGetWithScores, and sugGetWithScoresWithPayloads * test(search): support Redis 8 INFO indexes_all field - Add indexes_all field introduced in Redis 8 to index definition test * refactor!(search): simplify PROFILE commands to return raw response - BREAKING CHANGE: FT.PROFILE now returns raw response, letting users implement their own parsing * test: improve version-specific test coverage - Add `testWithClientIfVersionWithinRange` method to run tests for specific Redis versions - Refactor TestUtils to handle version comparisons more accurately - Update test utilities across Redis modules to run tests against multiple versions, and not against latest only
118 lines
2.9 KiB
TypeScript
118 lines
2.9 KiB
TypeScript
import _LIST from './_LIST';
|
|
import ALTER from './ALTER';
|
|
import AGGREGATE_WITHCURSOR from './AGGREGATE_WITHCURSOR';
|
|
import AGGREGATE from './AGGREGATE';
|
|
import ALIASADD from './ALIASADD';
|
|
import ALIASDEL from './ALIASDEL';
|
|
import ALIASUPDATE from './ALIASUPDATE';
|
|
import CONFIG_GET from './CONFIG_GET';
|
|
import CONFIG_SET from './CONFIG_SET';
|
|
import CREATE from './CREATE';
|
|
import CURSOR_DEL from './CURSOR_DEL';
|
|
import CURSOR_READ from './CURSOR_READ';
|
|
import DICTADD from './DICTADD';
|
|
import DICTDEL from './DICTDEL';
|
|
import DICTDUMP from './DICTDUMP';
|
|
import DROPINDEX from './DROPINDEX';
|
|
import EXPLAIN from './EXPLAIN';
|
|
import EXPLAINCLI from './EXPLAINCLI';
|
|
import INFO from './INFO';
|
|
import PROFILESEARCH from './PROFILE_SEARCH';
|
|
import PROFILEAGGREGATE from './PROFILE_AGGREGATE';
|
|
import SEARCH_NOCONTENT from './SEARCH_NOCONTENT';
|
|
import SEARCH from './SEARCH';
|
|
import SPELLCHECK from './SPELLCHECK';
|
|
import SUGADD from './SUGADD';
|
|
import SUGDEL from './SUGDEL';
|
|
import SUGGET_WITHPAYLOADS from './SUGGET_WITHPAYLOADS';
|
|
import SUGGET_WITHSCORES_WITHPAYLOADS from './SUGGET_WITHSCORES_WITHPAYLOADS';
|
|
import SUGGET_WITHSCORES from './SUGGET_WITHSCORES';
|
|
import SUGGET from './SUGGET';
|
|
import SUGLEN from './SUGLEN';
|
|
import SYNDUMP from './SYNDUMP';
|
|
import SYNUPDATE from './SYNUPDATE';
|
|
import TAGVALS from './TAGVALS';
|
|
|
|
export default {
|
|
_LIST,
|
|
_list: _LIST,
|
|
ALTER,
|
|
alter: ALTER,
|
|
AGGREGATE_WITHCURSOR,
|
|
aggregateWithCursor: AGGREGATE_WITHCURSOR,
|
|
AGGREGATE,
|
|
aggregate: AGGREGATE,
|
|
ALIASADD,
|
|
aliasAdd: ALIASADD,
|
|
ALIASDEL,
|
|
aliasDel: ALIASDEL,
|
|
ALIASUPDATE,
|
|
aliasUpdate: ALIASUPDATE,
|
|
/**
|
|
* @deprecated Redis >=8 uses the standard CONFIG command
|
|
*/
|
|
CONFIG_GET,
|
|
/**
|
|
* @deprecated Redis >=8 uses the standard CONFIG command
|
|
*/
|
|
configGet: CONFIG_GET,
|
|
/**
|
|
* @deprecated Redis >=8 uses the standard CONFIG command
|
|
*/
|
|
CONFIG_SET,
|
|
/**
|
|
* @deprecated Redis >=8 uses the standard CONFIG command
|
|
*/
|
|
configSet: CONFIG_SET,
|
|
CREATE,
|
|
create: CREATE,
|
|
CURSOR_DEL,
|
|
cursorDel: CURSOR_DEL,
|
|
CURSOR_READ,
|
|
cursorRead: CURSOR_READ,
|
|
DICTADD,
|
|
dictAdd: DICTADD,
|
|
DICTDEL,
|
|
dictDel: DICTDEL,
|
|
DICTDUMP,
|
|
dictDump: DICTDUMP,
|
|
DROPINDEX,
|
|
dropIndex: DROPINDEX,
|
|
EXPLAIN,
|
|
explain: EXPLAIN,
|
|
EXPLAINCLI,
|
|
explainCli: EXPLAINCLI,
|
|
INFO,
|
|
info: INFO,
|
|
PROFILESEARCH,
|
|
profileSearch: PROFILESEARCH,
|
|
PROFILEAGGREGATE,
|
|
profileAggregate: PROFILEAGGREGATE,
|
|
SEARCH_NOCONTENT,
|
|
searchNoContent: SEARCH_NOCONTENT,
|
|
SEARCH,
|
|
search: SEARCH,
|
|
SPELLCHECK,
|
|
spellCheck: SPELLCHECK,
|
|
SUGADD,
|
|
sugAdd: SUGADD,
|
|
SUGDEL,
|
|
sugDel: SUGDEL,
|
|
SUGGET_WITHPAYLOADS,
|
|
sugGetWithPayloads: SUGGET_WITHPAYLOADS,
|
|
SUGGET_WITHSCORES_WITHPAYLOADS,
|
|
sugGetWithScoresWithPayloads: SUGGET_WITHSCORES_WITHPAYLOADS,
|
|
SUGGET_WITHSCORES,
|
|
sugGetWithScores: SUGGET_WITHSCORES,
|
|
SUGGET,
|
|
sugGet: SUGGET,
|
|
SUGLEN,
|
|
sugLen: SUGLEN,
|
|
SYNDUMP,
|
|
synDump: SYNDUMP,
|
|
SYNUPDATE,
|
|
synUpdate: SYNUPDATE,
|
|
TAGVALS,
|
|
tagVals: TAGVALS
|
|
};
|