@valkey/valkey-glide-darwin-arm64 1.2.0-rc1 → 1.2.0-rc11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"GlideJson.js","sourceRoot":"","sources":["../../../src/server-modules/GlideJson.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;AAIH,gDAA6C;AAqB7C;;GAEG;AACH,SAAS,qBAAqB,CAAC,OAAuB;IAClD,MAAM,MAAM,GAAkB,EAAE,CAAC;IAEjC,IAAI,OAAO,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;QAC9B,MAAM,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IAClC,CAAC;IAED,IAAI,OAAO,CAAC,MAAM,KAAK,SAAS,EAAE,CAAC;QAC/B,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IAC1C,CAAC;IAED,IAAI,OAAO,CAAC,OAAO,KAAK,SAAS,EAAE,CAAC;QAChC,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;IAED,IAAI,OAAO,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;QAC9B,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACxC,CAAC;IAED,IAAI,OAAO,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;QACjC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAC5B,CAAC;IAED,OAAO,MAAM,CAAC;AAClB,CAAC;AAED;;GAEG;AACH,SAAS,eAAe,CACpB,MAAkB,EAClB,IAAmB,EACnB,OAAqC;IAErC,IAAI,MAAM,YAAY,yBAAW,EAAE,CAAC;QAChC,OAAQ,MAAsB,CAAC,aAAa,CACxC,IAAI,EACJ,OAAO,CACI,CAA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AC;YAC5B,CAAC;YAED,OAAO,eAAe,CAAyB,MAAM,EAAE,IAAI,CAAC,CAAC;QACjE,CAAC;KAAA;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,MAAM,CAAO,OAAO,CAChB,MAAkB,EAClB,GAAgB,EAChB,OAA+C;;YAE/C,MAAM,IAAI,GAAG,CAAC,cAAc,EAAE,GAAG,CAAC,CAAC;YAEnC,IAAI,OAAO,EAAE,CAAC;gBACV,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YAC5B,CAAC;YAED,OAAO,eAAe,CAAC,MAAM,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAClD,CAAC;KAAA;CACJ;AA3iCD,8BA2iCC"}
package/index.ts CHANGED
@@ -10,4 +10,6 @@ export * from "./src/GlideClient";
10
10
  export * from "./src/GlideClusterClient";
11
11
  export * from "./src/Logger";
12
12
  export * from "./src/server-modules/GlideJson";
13
+ export * from "./src/server-modules/GlideFt";
14
+ export * from "./src/server-modules/GlideFtOptions";
13
15
  export * from "./src/Transaction";
@@ -118,9 +118,31 @@ function initialize() {
118
118
  GlideClusterClient,
119
119
  GlideClientConfiguration,
120
120
  GlideJson,
121
+ GlideFt,
122
+ TextField,
123
+ TagField,
124
+ NumericField,
125
+ VectorField,
126
+ VectorFieldAttributesFlat,
127
+ VectorFieldAttributesHnsw,
128
+ FtCreateOptions,
129
+ FtSearchOptions,
130
+ FtInfoReturnType,
131
+ FtAggregateOptions,
132
+ FtAggregateLimit,
133
+ FtAggregateFilter,
134
+ FtAggregateGroupBy,
135
+ FtAggregateReducer,
136
+ FtAggregateSortBy,
137
+ FtAggregateSortProperty,
138
+ FtAggregateApply,
139
+ FtAggregateReturnType,
140
+ FtSearchReturnType,
141
+ FtProfileOtions,
121
142
  GlideRecord,
122
143
  GlideString,
123
144
  JsonGetOptions,
145
+ JsonArrPopOptions,
124
146
  SortedSetDataType,
125
147
  StreamEntryDataType,
126
148
  HashDataType,
@@ -204,6 +226,8 @@ function initialize() {
204
226
  ReturnTypeMap,
205
227
  ClusterResponse,
206
228
  ReturnTypeAttribute,
229
+ ReturnTypeJson,
230
+ UniversalReturnTypeJson,
207
231
  } = nativeBinding;
208
232
 
209
233
  module.exports = {
@@ -228,10 +252,32 @@ function initialize() {
228
252
  Decoder,
229
253
  DecoderOption,
230
254
  GeoAddOptions,
255
+ GlideFt,
256
+ TextField,
257
+ TagField,
258
+ NumericField,
259
+ VectorField,
260
+ VectorFieldAttributesFlat,
261
+ VectorFieldAttributesHnsw,
262
+ FtCreateOptions,
263
+ FtSearchOptions,
264
+ FtInfoReturnType,
265
+ FtAggregateOptions,
266
+ FtAggregateLimit,
267
+ FtAggregateFilter,
268
+ FtAggregateGroupBy,
269
+ FtAggregateReducer,
270
+ FtAggregateSortBy,
271
+ FtAggregateSortProperty,
272
+ FtAggregateApply,
273
+ FtAggregateReturnType,
274
+ FtSearchReturnType,
275
+ FtProfileOtions,
231
276
  GlideRecord,
232
277
  GlideJson,
233
278
  GlideString,
234
279
  JsonGetOptions,
280
+ JsonArrPopOptions,
235
281
  SortedSetDataType,
236
282
  StreamEntryDataType,
237
283
  HashDataType,
@@ -329,6 +375,8 @@ function initialize() {
329
375
  ReturnTypeMap,
330
376
  ClusterResponse,
331
377
  ReturnTypeAttribute,
378
+ ReturnTypeJson,
379
+ UniversalReturnTypeJson,
332
380
  };
333
381
 
334
382
  globalObject = Object.assign(global, nativeBinding);
package/package.json CHANGED
@@ -19,7 +19,7 @@
19
19
  "glide-rs"
20
20
  ],
21
21
  "scripts": {
22
- "build": "npm run build-internal && npm run build-protobuf && npm run build-external",
22
+ "build": "npm run prereq && npm run build-internal && npm run build-protobuf && npm run build-external",
23
23
  "build:release": "npm run build-internal:release && npm run build-protobuf && npm run build-external:release",
24
24
  "build:benchmark": "npm run build-internal:benchmark && npm run build-protobuf && npm run build-external",
25
25
  "build-internal": "cd rust-client && npm run build",
@@ -29,20 +29,23 @@
29
29
  "build-external:release": "rm -rf build-ts && tsc --stripInternal",
30
30
  "build-protobuf": "npm run compile-protobuf-files && npm run fix-protobuf-file",
31
31
  "compile-protobuf-files": "cd src && pbjs -t static-module -o ProtobufMessage.js ../../glide-core/src/protobuf/*.proto && pbts -o ProtobufMessage.d.ts ProtobufMessage.js",
32
+ "clean": "rm -rf build-ts rust-client/target docs glide-logs rust-client/glide-rs.*.node rust-client/index.* src/ProtobufMessage.*",
32
33
  "fix-protobuf-file": "replace 'this\\.encode\\(message, writer\\)\\.ldelim' 'this.encode(message, writer && writer.len ? writer.fork() : writer).ldelim' src/ProtobufMessage.js",
33
- "test": "npm run build-test-utils && jest --verbose --runInBand --testPathIgnorePatterns='ServerModules'",
34
- "test-modules": "npm run build-test-utils && jest --verbose --runInBand --testPathPattern='ServerModules'",
34
+ "test": "npm run build-test-utils && jest --verbose --testPathIgnorePatterns='ServerModules'",
35
+ "test-minimum": "npm run build-test-utils && jest --verbose --runInBand --testNamePattern='^(.(?!(GlideJson|GlideFt|pubsub|kill)))*$'",
36
+ "test-modules": "npm run build-test-utils && jest --verbose --runInBand --testNamePattern='(GlideJson|GlideFt)'",
35
37
  "build-test-utils": "cd ../utils && npm i && npm run build",
36
38
  "lint:fix": "npm run install-linting && npx eslint -c ../eslint.config.mjs --fix && npm run prettier:format",
37
39
  "lint": "npm run install-linting && npx eslint -c ../eslint.config.mjs && npm run prettier:check:ci",
38
40
  "install-linting": "cd ../ & npm install",
39
41
  "prepack": "npmignore --auto",
42
+ "prereq": "npm install",
40
43
  "prettier:check:ci": "npx prettier --check . --ignore-unknown '!**/*.{js,d.ts}'",
41
44
  "prettier:format": "npx prettier --write . --ignore-unknown '!**/*.{js,d.ts}'"
42
45
  },
43
46
  "devDependencies": {
44
47
  "@jest/globals": "^29.7.0",
45
- "@types/jest": "^29.5.12",
48
+ "@types/jest": "^29.5.14",
46
49
  "@types/minimist": "^1.2.5",
47
50
  "@types/redis-server": "^1.2.2",
48
51
  "@types/semver": "^7.5.8",
@@ -55,8 +58,9 @@
55
58
  "replace": "^1.2.2",
56
59
  "semver": "^7.6.3",
57
60
  "ts-jest": "^29.2.5",
58
- "typescript": "^5.5.4",
59
- "uuid": "^10.0.0"
61
+ "ts-node": "^10.9.2",
62
+ "typescript": "^5.6.3",
63
+ "uuid": "^11.0.3"
60
64
  },
61
65
  "author": "Valkey GLIDE Maintainers",
62
66
  "license": "Apache-2.0",
@@ -67,10 +71,14 @@
67
71
  "tests/",
68
72
  "rust-client/**",
69
73
  "!build-ts/**",
70
- "babel.config.js",
74
+ ".prettierignore",
71
75
  "jest.config.js",
72
76
  "hybrid-node-tests/**",
73
- "docs/"
77
+ "docs/",
78
+ "DEVELOPER.md",
79
+ ".ort.yml",
80
+ "tsconfig.json",
81
+ "THIRD_PARTY_LICENSES_NODE"
74
82
  ]
75
83
  },
76
84
  "//": [
@@ -83,5 +91,5 @@
83
91
  "darwin"
84
92
  ],
85
93
  "name": "@valkey/valkey-glide-darwin-arm64",
86
- "version": "1.2.0-rc1"
94
+ "version": "1.2.0-rc11"
87
95
  }
package/.ort.yml DELETED
@@ -1,9 +0,0 @@
1
- excludes:
2
- scopes:
3
- - pattern: "devDependencies"
4
- reason: "DEV_DEPENDENCY_OF"
5
- comment: "Packages for development only."
6
- paths:
7
- - pattern: "npm/glide/**"
8
- reason: "BUILD_TOOL_OF"
9
- comment: "Template file for CD"
package/.prettierignore DELETED
@@ -1,7 +0,0 @@
1
- # ignore that dir, because there are a lot of files which we don't manage, e.g. json files in cargo crates
2
- rust-client/*
3
- # unignore specific files
4
- !rust-client/package.json
5
- !rust-client/tsconfig.json
6
- # ignore docs dir
7
- docs/*
package/DEVELOPER.md DELETED
@@ -1,191 +0,0 @@
1
- # Developer Guide
2
-
3
- This document describes how to set up your development environment to build and test Valkey GLIDE Node wrapper.
4
-
5
- ### Development Overview
6
-
7
- The GLIDE Node wrapper consists of both TypeScript and Rust code. Rust bindings for Node.js are implemented using [napi-rs](https://github.com/napi-rs/napi-rs). The Node and Rust components communicate using the [protobuf](https://github.com/protocolbuffers/protobuf) protocol.
8
-
9
- ### Build from source
10
-
11
- #### Prerequisites
12
-
13
- Software Dependencies
14
-
15
- ##### **Note:** Nodejs Supported Version
16
-
17
- If your Nodejs version is below the supported version specified in the client's [documentation](https://github.com/valkey-io/valkey-glide/blob/main/node/README.md#nodejs-supported-version), you can upgrade it using [NVM](https://github.com/nvm-sh/nvm?tab=readme-ov-file#install--update-script).
18
-
19
- - npm
20
- - git
21
- - GCC
22
- - pkg-config
23
- - protoc (protobuf compiler)
24
- - openssl
25
- - openssl-dev
26
- - rustup
27
-
28
- **Dependencies installation for Ubuntu**
29
-
30
- ```bash
31
- sudo apt update -y
32
- sudo apt install -y nodejs npm git gcc pkg-config protobuf-compiler openssl libssl-dev
33
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
34
- source "$HOME/.cargo/env"
35
- # Check the installed node version
36
- node -v
37
- ```
38
-
39
- > **Note:** Ensure that you installed a supported Node.js version. For Ubuntu 22.04 or earlier, please refer to the instructions [here](#note-nodejs-supported-version) to upgrade your Node.js version.
40
-
41
- **Dependencies installation for CentOS**
42
-
43
- ```bash
44
- sudo yum update -y
45
- sudo yum install -y nodejs git gcc pkgconfig protobuf-compiler openssl openssl-devel gettext
46
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
47
- source "$HOME/.cargo/env"
48
- ```
49
-
50
- **Dependencies installation for MacOS**
51
-
52
- ```bash
53
- brew update
54
- brew install nodejs git gcc pkgconfig protobuf openssl
55
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
56
- source "$HOME/.cargo/env"
57
- ```
58
-
59
- #### Building and installation steps
60
-
61
- Before starting this step, make sure you've installed all software requirments.
62
-
63
- 1. Clone the repository:
64
- ```bash
65
- git clone https://github.com/valkey-io/valkey-glide.git
66
- cd valkey-glide
67
- ```
68
- 2. Install all node dependencies:
69
-
70
- ```bash
71
- cd node
72
- npm i
73
- cd rust-client
74
- npm i
75
- cd ..
76
- ```
77
-
78
- 3. Build the Node wrapper (Choose a build option from the following and run it from the `node` folder):
79
-
80
- 1. Build in release mode, stripped from all debug symbols (optimized and minimized binary size):
81
-
82
- ```bash
83
- npm run build:release
84
- ```
85
-
86
- 2. Build in release mode with debug symbols (optimized but large binary size):
87
-
88
- ```bash
89
- npm run build:benchmark
90
- ```
91
-
92
- 3. For testing purposes, you can execute an unoptimized but fast build using:
93
-
94
- ```bash
95
- npm run build
96
- ```
97
-
98
- Once building completed, you'll find the compiled JavaScript code in the`./build-ts` folder.
99
-
100
- 4. Run tests:
101
- 1. Ensure that you have installed server and valkey-cli on your host. You can download Valkey at the following link: [Valkey Download page](https://valkey.io/download/).
102
- 2. Execute the following command from the node folder:
103
- ```bash
104
- npm run build # make sure we have a debug build compiled first
105
- npm test
106
- ```
107
- 5. Integrating the built GLIDE package into your project:
108
- Add the package to your project using the folder path with the command `npm install <path to GLIDE>/node`.
109
-
110
- - For a fast build, execute `npm run build`. This will perform a full, unoptimized build, which is suitable for developing tests. Keep in mind that performance is significantly affected in an unoptimized build, so it's required to build with the `build:release` or `build:benchmark` option when measuring performance.
111
- - If your modifications are limited to the TypeScript code, run `npm run build-external` to build the external package without rebuilding the internal package.
112
- - If your modifications are limited to the Rust code, execute `npm run build-internal` to build the internal package and generate TypeScript code.
113
- - To generate Node's protobuf files, execute `npm run build-protobuf`. Keep in mind that protobuf files are generated as part of full builds (e.g., `build`, `build:release`, etc.).
114
-
115
- > Note: Once building completed, you'll find the compiled JavaScript code in the `node/build-ts` folder.
116
-
117
- ### Troubleshooting
118
-
119
- - If the build fails after running `npx tsc` because `glide-rs` isn't found, check if your npm version is in the range 9.0.0-9.4.1, and if so, upgrade it. 9.4.2 contains a fix to a change introduced in 9.0.0 that is required in order to build the library.
120
-
121
- ### Test
122
-
123
- To run tests, use the following command:
124
-
125
- ```bash
126
- npm test
127
- ```
128
-
129
- To execute a specific test, include the [`testNamePattern`](https://jestjs.io/docs/cli#--testnamepatternregex) option. For example:
130
-
131
- ```bash
132
- npm run test -- --testNamePattern="transaction"
133
- ```
134
-
135
- IT suite starts the server for testing - standalone and cluster installation using `cluster_manager` script.
136
- To run the integration tests with existing servers, run the following command:
137
-
138
- ```bash
139
- npm run test -- --cluster-endpoints=localhost:7000 --standalone-endpoints=localhost:6379
140
- ```
141
-
142
- ### Submodules
143
-
144
- After pulling new changes, ensure that you update the submodules by running the following command:
145
-
146
- ```bash
147
- git submodule update
148
- ```
149
-
150
- ### Linters
151
-
152
- Development on the Node wrapper may involve changes in either the TypeScript or Rust code. Each language has distinct linter tests that must be passed before committing changes.
153
-
154
- #### Language-specific Linters
155
-
156
- **TypeScript:**
157
-
158
- - ESLint
159
- - Prettier
160
-
161
- **Rust:**
162
-
163
- - clippy
164
- - fmt
165
-
166
- #### Running the linters
167
-
168
- 1. TypeScript
169
-
170
- ```bash
171
- # Run from the node folder
172
- npm run lint
173
- # To automatically apply ESLint and/or prettier recommendations
174
- npx run lint:fix
175
- ```
176
-
177
- 2. Rust
178
- ```bash
179
- # Run from the `node/rust-client` folder
180
- rustup component add clippy rustfmt
181
- cargo clippy --all-features --all-targets -- -D warnings
182
- cargo fmt --manifest-path ./Cargo.toml --all
183
- ```
184
-
185
- ### Recommended extensions for VS Code
186
-
187
- - [Prettier - Code formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) - JavaScript / TypeScript formatter.
188
- - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) - linter.
189
- - [Jest Runner](https://marketplace.visualstudio.com/items?itemName=firsttris.vscode-jest-runner) - in-editor test runner.
190
- - [Jest Test Explorer](https://marketplace.visualstudio.com/items?itemName=kavod-io.vscode-jest-test-adapter) - adapter to the VSCode testing UI.
191
- - [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer) - Rust language support for VSCode.