1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-01 16:46:54 +03:00

Fix imports (#2929)

* fix: exports

align exports with v4 as much as possible

* document breaking changes

* export type

return SetOptions export
This commit is contained in:
Nikolay Karadzhov
2025-04-30 14:38:32 +03:00
committed by GitHub
parent 5295926cc0
commit 048df302e4
5 changed files with 39 additions and 15 deletions

View File

@ -141,6 +141,8 @@ In older versions, if the socket disconnects during the pipeline execution, i.e.
In v5, any unwritten commands (in the same pipeline) will be discarded.
- `RedisFlushModes` -> `REDIS_FLUSH_MODES` [^enum-to-constants]
## Commands
### Redis
@ -221,6 +223,13 @@ In v5, any unwritten commands (in the same pipeline) will be discarded.
- `FT.SUGDEL`: [^boolean-to-number]
- `FT.CURSOR READ`: `cursor` type changed from `number` to `string` (in and out) to avoid issues when the number is bigger than `Number.MAX_SAFE_INTEGER`. See [here](https://github.com/redis/node-redis/issues/2561).
- `AggregateGroupByReducers` -> `FT_AGGREGATE_GROUP_BY_REDUCERS` [^enum-to-constants]
- `AggregateSteps` -> `FT_AGGREGATE_STEPS` [^enum-to-constants]
- `RedisSearchLanguages` -> `REDISEARCH_LANGUAGE` [^enum-to-constants]
- `SchemaFieldTypes` -> `SCHEMA_FIELD_TYPE` [^enum-to-constants]
- `SchemaTextFieldPhonetics` -> `SCHEMA_TEXT_FIELD_PHONETIC` [^enum-to-constants]
- `SearchOptions` -> `FtSearchOptions`
- `VectorAlgorithms` -> `SCHEMA_VECTOR_FIELD_ALGORITHM` [^enum-to-constants]
### Time Series