@thi.ng/rstream-query 2.1.161 → 2.1.163
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.
- package/CHANGELOG.md +3 -236
- package/README.md +1 -1
- package/package.json +13 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2025-01-
|
|
3
|
+
- **Last updated**: 2025-01-29T16:25:48Z
|
|
4
4
|
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
5
|
|
|
6
6
|
All notable changes to this project will be documented in this file.
|
|
7
|
+
Only versions published since **2022-01-01** are listed here.
|
|
8
|
+
Please consult the Git history for older version information.
|
|
7
9
|
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
8
10
|
|
|
9
11
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
@@ -56,238 +58,3 @@ and/or version bumps of transitive dependencies.
|
|
|
56
58
|
#### ♻️ Refactoring
|
|
57
59
|
|
|
58
60
|
- replace deprecated .substr() w/ .substring() ([0710509](https://github.com/thi-ng/umbrella/commit/0710509))
|
|
59
|
-
|
|
60
|
-
## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@2.1.0) (2021-11-17)
|
|
61
|
-
|
|
62
|
-
#### 🚀 Features
|
|
63
|
-
|
|
64
|
-
- Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
|
|
65
|
-
Improving the overall build ergonomics
|
|
66
|
-
- introduced a tools workspaces
|
|
67
|
-
- imported it in all needed packages/examples
|
|
68
|
-
- inclusive project root
|
|
69
|
-
|
|
70
|
-
#### ♻️ Refactoring
|
|
71
|
-
|
|
72
|
-
- testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
|
|
73
|
-
this commit reverts (partly) changes made in:
|
|
74
|
-
ef346d7a8753590dc9094108a3d861a8dbd5dd2c
|
|
75
|
-
overall purpose is better testament ergonomics:
|
|
76
|
-
instead of having to pass NODE_OPTIONS with every invocation
|
|
77
|
-
having a binary to handle this for us.
|
|
78
|
-
|
|
79
|
-
### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@2.0.1) (2021-10-13)
|
|
80
|
-
|
|
81
|
-
#### ♻️ Refactoring
|
|
82
|
-
|
|
83
|
-
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
84
|
-
- add .js suffix for all relative imports
|
|
85
|
-
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
86
|
-
|
|
87
|
-
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@2.0.0) (2021-10-12)
|
|
88
|
-
|
|
89
|
-
#### 🛑 Breaking changes
|
|
90
|
-
|
|
91
|
-
- major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
|
|
92
|
-
- BREAKING CHANGE: discontinue CommonJS & UMD versions
|
|
93
|
-
- only ESM modules will be published from now on
|
|
94
|
-
- CJS obsolete due to ESM support in recent versions of node:
|
|
95
|
-
- i.e. launch NodeJS via:
|
|
96
|
-
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
97
|
-
- in the node REPL use `await import(...)` instead of `require()`
|
|
98
|
-
- UMD obsolete due to widespread browser support for ESM
|
|
99
|
-
Also:
|
|
100
|
-
- normalize/restructure/reorg all package.json files
|
|
101
|
-
- cleanup all build scripts, remove obsolete
|
|
102
|
-
- switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
|
|
103
|
-
|
|
104
|
-
#### ♻️ Refactoring
|
|
105
|
-
|
|
106
|
-
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
107
|
-
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
108
|
-
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
109
|
-
- update imports (transducers) ([7fc60cd](https://github.com/thi-ng/umbrella/commit/7fc60cd))
|
|
110
|
-
- update deps & imports in various pkgs ([e1cf29e](https://github.com/thi-ng/umbrella/commit/e1cf29e))
|
|
111
|
-
- largely related to recent updates/restructuring of these packages:
|
|
112
|
-
- api
|
|
113
|
-
- defmulti
|
|
114
|
-
- errors
|
|
115
|
-
- logger
|
|
116
|
-
- update imports in various pkgs (rstream) ([342cf54](https://github.com/thi-ng/umbrella/commit/342cf54))
|
|
117
|
-
- migrate logger to own file ([6f0c8c3](https://github.com/thi-ng/umbrella/commit/6f0c8c3))
|
|
118
|
-
|
|
119
|
-
### [1.1.66](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@1.1.66) (2021-03-12)
|
|
120
|
-
|
|
121
|
-
#### ♻️ Refactoring
|
|
122
|
-
|
|
123
|
-
- update types to use ISubscription ([f299612](https://github.com/thi-ng/umbrella/commit/f299612))
|
|
124
|
-
- update types/generics ([b38c561](https://github.com/thi-ng/umbrella/commit/b38c561))
|
|
125
|
-
|
|
126
|
-
### [1.1.52](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@1.1.52) (2020-12-07)
|
|
127
|
-
|
|
128
|
-
#### ♻️ Refactoring
|
|
129
|
-
|
|
130
|
-
- update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
|
|
131
|
-
- update type-only imports ([ba70998](https://github.com/thi-ng/umbrella/commit/ba70998))
|
|
132
|
-
|
|
133
|
-
### [1.1.46](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@1.1.46) (2020-09-13)
|
|
134
|
-
|
|
135
|
-
#### ♻️ Refactoring
|
|
136
|
-
|
|
137
|
-
- update imports ([a35efa8](https://github.com/thi-ng/umbrella/commit/a35efa8))
|
|
138
|
-
|
|
139
|
-
### [1.1.42](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@1.1.42) (2020-07-28)
|
|
140
|
-
|
|
141
|
-
#### ♻️ Refactoring
|
|
142
|
-
|
|
143
|
-
- update sync() callsites ([0fc16c4](https://github.com/thi-ng/umbrella/commit/0fc16c4))
|
|
144
|
-
|
|
145
|
-
### [1.1.10](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@1.1.10) (2020-02-25)
|
|
146
|
-
|
|
147
|
-
#### ♻️ Refactoring
|
|
148
|
-
|
|
149
|
-
- update imports ([6bf5df5](https://github.com/thi-ng/umbrella/commit/6bf5df5))
|
|
150
|
-
|
|
151
|
-
### [1.1.7](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@1.1.7) (2019-11-30)
|
|
152
|
-
|
|
153
|
-
#### 🩹 Bug fixes
|
|
154
|
-
|
|
155
|
-
- update TripleStore to reflect rstream changes ([1936cd3](https://github.com/thi-ng/umbrella/commit/1936cd3))
|
|
156
|
-
|
|
157
|
-
### [1.1.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@1.1.4) (2019-08-21)
|
|
158
|
-
|
|
159
|
-
#### 🩹 Bug fixes
|
|
160
|
-
|
|
161
|
-
- fix [#91](https://github.com/thi-ng/umbrella/issues/91), add CloseMode.NEVER configs to main indices ([b3315ab](https://github.com/thi-ng/umbrella/commit/b3315ab))
|
|
162
|
-
|
|
163
|
-
#### ♻️ Refactoring
|
|
164
|
-
|
|
165
|
-
- simplify .findTriple(), move xforms, update deps ([c6a40df](https://github.com/thi-ng/umbrella/commit/c6a40df))
|
|
166
|
-
- update addQueryFromSpec, nextID ([4a140e8](https://github.com/thi-ng/umbrella/commit/4a140e8))
|
|
167
|
-
|
|
168
|
-
## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@1.1.0) (2019-07-07)
|
|
169
|
-
|
|
170
|
-
#### 🚀 Features
|
|
171
|
-
|
|
172
|
-
- enable TS strict compiler flags (refactor) ([6d35b86](https://github.com/thi-ng/umbrella/commit/6d35b86))
|
|
173
|
-
|
|
174
|
-
#### 🩹 Bug fixes
|
|
175
|
-
|
|
176
|
-
- disambiguate return generics for addPatternQuery() ([7ffe25d](https://github.com/thi-ng/umbrella/commit/7ffe25d))
|
|
177
|
-
|
|
178
|
-
#### ♻️ Refactoring
|
|
179
|
-
|
|
180
|
-
- TS strictNullChecks ([0c05d6c](https://github.com/thi-ng/umbrella/commit/0c05d6c))
|
|
181
|
-
|
|
182
|
-
### [1.0.24](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@1.0.24) (2019-04-24)
|
|
183
|
-
|
|
184
|
-
#### ♻️ Refactoring
|
|
185
|
-
|
|
186
|
-
- replace DEBUG w/ LOGGER impl, add setLogger() ([77fcc9b](https://github.com/thi-ng/umbrella/commit/77fcc9b))
|
|
187
|
-
|
|
188
|
-
# [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@1.0.0) (2019-01-21)
|
|
189
|
-
|
|
190
|
-
#### 🛑 Breaking changes
|
|
191
|
-
|
|
192
|
-
- update package scripts, outputs, imports in remaining packages ([f912a84](https://github.com/thi-ng/umbrella/commit/f912a84))
|
|
193
|
-
- BREAKING CHANGE: enable multi-outputs (ES6 modules, CJS, UMD)
|
|
194
|
-
- build scripts now first build ES6 modules in package root, then call
|
|
195
|
-
`scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
|
|
196
|
-
- all imports MUST be updated to only refer to package level
|
|
197
|
-
(not individual files anymore). tree shaking in user land will get rid of
|
|
198
|
-
all unused imported symbols
|
|
199
|
-
|
|
200
|
-
#### ♻️ Refactoring
|
|
201
|
-
|
|
202
|
-
- use rstream nextID() util (fix regression) ([a42b2e1](https://github.com/thi-ng/umbrella/commit/a42b2e1))
|
|
203
|
-
|
|
204
|
-
### [0.3.35](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@0.3.35) (2018-08-24)
|
|
205
|
-
|
|
206
|
-
#### ♻️ Refactoring
|
|
207
|
-
|
|
208
|
-
- simplify transducer uses ([eb1714f](https://github.com/thi-ng/umbrella/commit/eb1714f))
|
|
209
|
-
|
|
210
|
-
### [0.3.32](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@0.3.32) (2018-08-03)
|
|
211
|
-
|
|
212
|
-
#### ♻️ Refactoring
|
|
213
|
-
|
|
214
|
-
- remove obsolete `reset` in addJoin() ([361f8b4](https://github.com/thi-ng/umbrella/commit/361f8b4))
|
|
215
|
-
|
|
216
|
-
### [0.3.30](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@0.3.30) (2018-08-01)
|
|
217
|
-
|
|
218
|
-
#### ♻️ Refactoring
|
|
219
|
-
|
|
220
|
-
- cleanup imports ([4db3fa8](https://github.com/thi-ng/umbrella/commit/4db3fa8))
|
|
221
|
-
|
|
222
|
-
### [0.3.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@0.3.3) (2018-05-10)
|
|
223
|
-
|
|
224
|
-
#### ♻️ Refactoring
|
|
225
|
-
|
|
226
|
-
- update deps & imports in all packages due to [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) split ([bc45636](https://github.com/thi-ng/umbrella/commit/bc45636))
|
|
227
|
-
|
|
228
|
-
## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@0.3.0) (2018-04-27)
|
|
229
|
-
|
|
230
|
-
#### 🚀 Features
|
|
231
|
-
|
|
232
|
-
- add obj->triple converter, update readme & example ([6f95bcb](https://github.com/thi-ng/umbrella/commit/6f95bcb))
|
|
233
|
-
|
|
234
|
-
### [0.2.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@0.2.2) (2018-04-26)
|
|
235
|
-
|
|
236
|
-
#### ♻️ Refactoring
|
|
237
|
-
|
|
238
|
-
- simplify case selection in addPatternQuery() ([d36a5ea](https://github.com/thi-ng/umbrella/commit/d36a5ea))
|
|
239
|
-
|
|
240
|
-
### [0.2.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@0.2.1) (2018-04-26)
|
|
241
|
-
|
|
242
|
-
#### ⏱ Performance improvements
|
|
243
|
-
|
|
244
|
-
- optimize pattern queries, fix bindVars() ([75f2af2](https://github.com/thi-ng/umbrella/commit/75f2af2))
|
|
245
|
-
- using only single intersection if 2 null terms in pattern query
|
|
246
|
-
- update bindVars() to create shallow copy (else dedupe fails)
|
|
247
|
-
|
|
248
|
-
## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@0.2.0) (2018-04-26)
|
|
249
|
-
|
|
250
|
-
#### 🚀 Features
|
|
251
|
-
|
|
252
|
-
- add addQueryJoin(), add type aliases, update tests ([c5f36a2](https://github.com/thi-ng/umbrella/commit/c5f36a2))
|
|
253
|
-
- add removeTriple(), simplify wildcard subqueries ([443ff8f](https://github.com/thi-ng/umbrella/commit/443ff8f))
|
|
254
|
-
- add freeID list to reduce store fragmentation
|
|
255
|
-
- remove obsolete allSelections cache
|
|
256
|
-
- fix addQueryJoin() xform to also return empty result sets
|
|
257
|
-
- rename TripleStore methods, use Set-like API ([9b5c58a](https://github.com/thi-ng/umbrella/commit/9b5c58a))
|
|
258
|
-
- rename addTriple() => add()
|
|
259
|
-
- rename addTriples() => into()
|
|
260
|
-
- rename removeTriple() => delete()
|
|
261
|
-
- add get()
|
|
262
|
-
- refactor has()
|
|
263
|
-
- add path query, multi-joins, pattern query reuse ([679c4e0](https://github.com/thi-ng/umbrella/commit/679c4e0))
|
|
264
|
-
- add addPathQuery()
|
|
265
|
-
- add addMultiJoin()
|
|
266
|
-
- rename addQueryJoin() => addJoin()
|
|
267
|
-
- update query ID arg order
|
|
268
|
-
- add type aliases
|
|
269
|
-
- add pattern query cache
|
|
270
|
-
- add patternVars() helper
|
|
271
|
-
- add query spec types, addQueryFromSpec(), dedupe xforms ([d093a5c](https://github.com/thi-ng/umbrella/commit/d093a5c))
|
|
272
|
-
|
|
273
|
-
## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@0.1.0) (2018-04-24)
|
|
274
|
-
|
|
275
|
-
#### 🚀 Features
|
|
276
|
-
|
|
277
|
-
- initial import ([ef3903e](https://github.com/thi-ng/umbrella/commit/ef3903e))
|
|
278
|
-
- update index & sub-query caching/reuse ([66ec92f](https://github.com/thi-ng/umbrella/commit/66ec92f))
|
|
279
|
-
- add IToDot impl for graphviz conversion/viz ([a68eca0](https://github.com/thi-ng/umbrella/commit/a68eca0))
|
|
280
|
-
- add param queries w/ variables, update addPatternQuery ([d9b845e](https://github.com/thi-ng/umbrella/commit/d9b845e))
|
|
281
|
-
- add FactGraph.addParamQuery()
|
|
282
|
-
- add FactGraph.has()
|
|
283
|
-
- add qvarResolver()
|
|
284
|
-
|
|
285
|
-
#### ♻️ Refactoring
|
|
286
|
-
|
|
287
|
-
- simplify query handling, optimize addFact() ([a4aa4cb](https://github.com/thi-ng/umbrella/commit/a4aa4cb))
|
|
288
|
-
- simplify addQuery() ([16fabb8](https://github.com/thi-ng/umbrella/commit/16fabb8))
|
|
289
|
-
- rename types, update readme ([b121c47](https://github.com/thi-ng/umbrella/commit/b121c47))
|
|
290
|
-
- rename Fact => Triple, FactIds => TripleIds
|
|
291
|
-
- rename FactGraph => TripleStore
|
|
292
|
-
- add TripleStore.addTriples()
|
|
293
|
-
- update TripleStore ctor
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 201 standalone projects, maintained as part
|
|
11
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/rstream-query",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.163",
|
|
4
4
|
"description": "@thi.ng/rstream based triple store & reactive query engine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -33,29 +33,27 @@
|
|
|
33
33
|
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
|
|
34
34
|
"clean": "bun ../../tools/src/clean-package.ts",
|
|
35
35
|
"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
|
|
36
|
-
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
|
|
37
36
|
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
38
37
|
"pub": "yarn npm publish --access public",
|
|
39
38
|
"test": "bun test",
|
|
40
39
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
40
|
},
|
|
42
41
|
"dependencies": {
|
|
43
|
-
"@thi.ng/api": "^8.11.
|
|
44
|
-
"@thi.ng/associative": "^7.0.
|
|
45
|
-
"@thi.ng/checks": "^3.6.
|
|
46
|
-
"@thi.ng/equiv": "^2.1.
|
|
47
|
-
"@thi.ng/errors": "^2.5.
|
|
48
|
-
"@thi.ng/logger": "^3.0.
|
|
49
|
-
"@thi.ng/math": "^5.11.
|
|
50
|
-
"@thi.ng/rstream": "^9.2.
|
|
51
|
-
"@thi.ng/rstream-dot": "^3.0.
|
|
52
|
-
"@thi.ng/transducers": "^9.2.
|
|
42
|
+
"@thi.ng/api": "^8.11.19",
|
|
43
|
+
"@thi.ng/associative": "^7.0.23",
|
|
44
|
+
"@thi.ng/checks": "^3.6.22",
|
|
45
|
+
"@thi.ng/equiv": "^2.1.75",
|
|
46
|
+
"@thi.ng/errors": "^2.5.25",
|
|
47
|
+
"@thi.ng/logger": "^3.0.30",
|
|
48
|
+
"@thi.ng/math": "^5.11.19",
|
|
49
|
+
"@thi.ng/rstream": "^9.2.8",
|
|
50
|
+
"@thi.ng/rstream-dot": "^3.0.113",
|
|
51
|
+
"@thi.ng/transducers": "^9.2.17"
|
|
53
52
|
},
|
|
54
53
|
"devDependencies": {
|
|
55
|
-
"@microsoft/api-extractor": "^7.48.1",
|
|
56
54
|
"esbuild": "^0.24.2",
|
|
57
55
|
"typedoc": "^0.27.6",
|
|
58
|
-
"typescript": "^5.7.
|
|
56
|
+
"typescript": "^5.7.3"
|
|
59
57
|
},
|
|
60
58
|
"keywords": [
|
|
61
59
|
"database",
|
|
@@ -113,5 +111,5 @@
|
|
|
113
111
|
"parent": "@thi.ng/rstream",
|
|
114
112
|
"year": 2018
|
|
115
113
|
},
|
|
116
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "fc1d498e8d4b690db873c30cc594352a804e7a65\n"
|
|
117
115
|
}
|