terminusdb 12.0.2
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/Contributing.md +36 -0
- package/LICENSE +201 -0
- package/README.md +175 -0
- package/RELEASE_NOTES.md +462 -0
- package/dist/index.html +22 -0
- package/dist/terminusdb-client.min.js +3 -0
- package/dist/terminusdb-client.min.js.LICENSE.txt +188 -0
- package/dist/terminusdb-client.min.js.map +1 -0
- package/dist/typescript/index.d.ts +14 -0
- package/dist/typescript/lib/accessControl.d.ts +554 -0
- package/dist/typescript/lib/axiosInstance.d.ts +2 -0
- package/dist/typescript/lib/connectionConfig.d.ts +381 -0
- package/dist/typescript/lib/const.d.ts +54 -0
- package/dist/typescript/lib/dispatchRequest.d.ts +17 -0
- package/dist/typescript/lib/errorMessage.d.ts +25 -0
- package/dist/typescript/lib/query/woqlBuilder.d.ts +75 -0
- package/dist/typescript/lib/query/woqlCore.d.ts +341 -0
- package/dist/typescript/lib/query/woqlDoc.d.ts +63 -0
- package/dist/typescript/lib/query/woqlLibrary.d.ts +718 -0
- package/dist/typescript/lib/query/woqlPrinter.d.ts +71 -0
- package/dist/typescript/lib/query/woqlQuery.d.ts +833 -0
- package/dist/typescript/lib/typedef.d.ts +624 -0
- package/dist/typescript/lib/utils.d.ts +199 -0
- package/dist/typescript/lib/valueHash.d.ts +146 -0
- package/dist/typescript/lib/viewer/chartConfig.d.ts +62 -0
- package/dist/typescript/lib/viewer/chooserConfig.d.ts +38 -0
- package/dist/typescript/lib/viewer/documentFrame.d.ts +44 -0
- package/dist/typescript/lib/viewer/frameConfig.d.ts +74 -0
- package/dist/typescript/lib/viewer/frameRule.d.ts +145 -0
- package/dist/typescript/lib/viewer/graphConfig.d.ts +73 -0
- package/dist/typescript/lib/viewer/objectFrame.d.ts +212 -0
- package/dist/typescript/lib/viewer/streamConfig.d.ts +23 -0
- package/dist/typescript/lib/viewer/tableConfig.d.ts +66 -0
- package/dist/typescript/lib/viewer/terminusRule.d.ts +75 -0
- package/dist/typescript/lib/viewer/viewConfig.d.ts +47 -0
- package/dist/typescript/lib/viewer/woqlChart.d.ts +1 -0
- package/dist/typescript/lib/viewer/woqlChooser.d.ts +56 -0
- package/dist/typescript/lib/viewer/woqlGraph.d.ts +26 -0
- package/dist/typescript/lib/viewer/woqlPaging.d.ts +1 -0
- package/dist/typescript/lib/viewer/woqlResult.d.ts +128 -0
- package/dist/typescript/lib/viewer/woqlRule.d.ts +96 -0
- package/dist/typescript/lib/viewer/woqlStream.d.ts +31 -0
- package/dist/typescript/lib/viewer/woqlTable.d.ts +102 -0
- package/dist/typescript/lib/viewer/woqlView.d.ts +49 -0
- package/dist/typescript/lib/woql.d.ts +1267 -0
- package/dist/typescript/lib/woqlClient.d.ts +1216 -0
- package/index.js +28 -0
- package/lib/.eslintrc +1 -0
- package/lib/accessControl.js +988 -0
- package/lib/axiosInstance.js +5 -0
- package/lib/connectionConfig.js +765 -0
- package/lib/const.js +59 -0
- package/lib/dispatchRequest.js +236 -0
- package/lib/errorMessage.js +110 -0
- package/lib/query/woqlBuilder.js +234 -0
- package/lib/query/woqlCore.js +934 -0
- package/lib/query/woqlDoc.js +177 -0
- package/lib/query/woqlLibrary.js +1015 -0
- package/lib/query/woqlPrinter.js +476 -0
- package/lib/query/woqlQuery.js +1865 -0
- package/lib/typedef.js +248 -0
- package/lib/utils.js +817 -0
- package/lib/valueHash.js_old +581 -0
- package/lib/viewer/chartConfig.js +411 -0
- package/lib/viewer/chooserConfig.js +234 -0
- package/lib/viewer/documentFrame.js +206 -0
- package/lib/viewer/frameConfig.js +469 -0
- package/lib/viewer/frameRule.js +519 -0
- package/lib/viewer/graphConfig.js +345 -0
- package/lib/viewer/objectFrame.js +1550 -0
- package/lib/viewer/streamConfig.js +82 -0
- package/lib/viewer/tableConfig.js +310 -0
- package/lib/viewer/terminusRule.js +196 -0
- package/lib/viewer/viewConfig.js +219 -0
- package/lib/viewer/woqlChart.js +17 -0
- package/lib/viewer/woqlChooser.js +171 -0
- package/lib/viewer/woqlGraph.js +295 -0
- package/lib/viewer/woqlPaging.js +148 -0
- package/lib/viewer/woqlResult.js +258 -0
- package/lib/viewer/woqlRule.js +312 -0
- package/lib/viewer/woqlStream.js +27 -0
- package/lib/viewer/woqlTable.js +332 -0
- package/lib/viewer/woqlView.js +107 -0
- package/lib/woql.js +1693 -0
- package/lib/woqlClient.js +2091 -0
- package/package.json +110 -0
package/RELEASE_NOTES.md
ADDED
|
@@ -0,0 +1,462 @@
|
|
|
1
|
+
# TerminusDB Client v12.0.1
|
|
2
|
+
## New 🚀
|
|
3
|
+
* Add WOQL predicates:
|
|
4
|
+
* `set_difference` (operates on a set, takes lists)
|
|
5
|
+
* `set_intersection` (operates on a set, takes lists)
|
|
6
|
+
* `set_union` (operates on a set, takes lists)
|
|
7
|
+
* `set_member` (operates on a set, takes set, prepare with list_to_set)
|
|
8
|
+
* `list_to_set` (converts a list to a set)
|
|
9
|
+
|
|
10
|
+
## Fixes and maintenance
|
|
11
|
+
* bump latest packages with security fixes
|
|
12
|
+
|
|
13
|
+
# TerminusDB Client v12.0.0
|
|
14
|
+
## New 🚀
|
|
15
|
+
* Add WOQL `slice()`, and `idgen_random()` operators
|
|
16
|
+
|
|
17
|
+
## Fixes and maintenance
|
|
18
|
+
* Update with latest security fixes
|
|
19
|
+
* Follow latest release of TerminusDB v12.0.0
|
|
20
|
+
* Make `dot()` operator work correctly again
|
|
21
|
+
* Fix handling of list-nested WOQL document templates (#346)
|
|
22
|
+
* Make VarUnique process correctly
|
|
23
|
+
|
|
24
|
+
# TerminusDB Client v11.1.2
|
|
25
|
+
## Fixes
|
|
26
|
+
* Adjust the release process to include version update task
|
|
27
|
+
* Fix typescript generation and add ci tests to prevent similar errors in the future.
|
|
28
|
+
|
|
29
|
+
# TerminusDB Client v11.1.1
|
|
30
|
+
## Fixes
|
|
31
|
+
* Update dependencies follow-redirects, webpack-dev-middleware, axios, braces, semver, micromatch, cross-spawn, word-wrap, on-headers, compression, form-data
|
|
32
|
+
* Fixes axios upgrade issues, incl. content-type casing error, buffer
|
|
33
|
+
* Fixes inconsistency with removed_quad keyword (DeleteQuad in WOQL)
|
|
34
|
+
* Fluent vs functional style inconsistency with from() fixed
|
|
35
|
+
* Clean up code and improve test suites
|
|
36
|
+
* Documentation fixes and updates
|
|
37
|
+
* Fix variable name mismatches in from() and length() methods
|
|
38
|
+
* Verified xsd:double handled correctly in conjunction with terminusdb server
|
|
39
|
+
|
|
40
|
+
## New 🚀
|
|
41
|
+
* Enable string-based CSV resources (not only from local files)
|
|
42
|
+
* Increased test coverage from 30% to 59%
|
|
43
|
+
* Deprecated Node 18, lowest supported is now Node 20
|
|
44
|
+
* Handling of remotes is now supported in the client
|
|
45
|
+
* New: `vars_unique()` produces unique variables, complement to `vars()`
|
|
46
|
+
* Add evaluate() to fluent style WOQL queries
|
|
47
|
+
|
|
48
|
+
# TerminusDB Client v10.0.33
|
|
49
|
+
## Fixes
|
|
50
|
+
* Update dependencies word-wrap, semver, axios
|
|
51
|
+
* Fix arithmetic variable treatment (#296)
|
|
52
|
+
* Marshall variable args carefully in arithmetic expressions (#297)
|
|
53
|
+
|
|
54
|
+
# TerminusDB Client v10.0.32
|
|
55
|
+
## Fixes 🛠
|
|
56
|
+
* Make AccessControl manageCapability scopeType param optional
|
|
57
|
+
|
|
58
|
+
# TerminusDB Client v10.0.30
|
|
59
|
+
## Fixes 🛠
|
|
60
|
+
* Fix schema endpoint for system database
|
|
61
|
+
|
|
62
|
+
# TerminusDB Client v10.0.30
|
|
63
|
+
## Fixes 🛠
|
|
64
|
+
* Fix DiffObject type definition
|
|
65
|
+
|
|
66
|
+
# TerminusDB Client v10.0.29
|
|
67
|
+
## Fixes 🛠
|
|
68
|
+
* Fix getCommitsLog in WOQLClient
|
|
69
|
+
|
|
70
|
+
## New 🚀
|
|
71
|
+
* add pagination to getVersionDiff
|
|
72
|
+
* add getDocumentHistory in WOQLClient class
|
|
73
|
+
* add baseServer property to ConnectionConfig class
|
|
74
|
+
|
|
75
|
+
# TerminusDB Client v10.0.28
|
|
76
|
+
|
|
77
|
+
## Fixes 🛠
|
|
78
|
+
* Fix woql.distinct using variables
|
|
79
|
+
* Fix woql.select using variables
|
|
80
|
+
|
|
81
|
+
# TerminusDB Client v10.0.27
|
|
82
|
+
|
|
83
|
+
## Fixes 🛠
|
|
84
|
+
* Fix woql.group_by using variables
|
|
85
|
+
* Fix woql.order_by using variables
|
|
86
|
+
* Fix typescript types
|
|
87
|
+
|
|
88
|
+
## New 🚀
|
|
89
|
+
* add patchResource in WOQLClient class
|
|
90
|
+
|
|
91
|
+
# TerminusDB Client v10.0.26
|
|
92
|
+
|
|
93
|
+
## Fixes 🛠
|
|
94
|
+
* Fix woqlPrinter
|
|
95
|
+
* Fix woqlClient updateDatabase
|
|
96
|
+
|
|
97
|
+
## New 🚀
|
|
98
|
+
* add getCommitsLog in WOQLClient class
|
|
99
|
+
# TerminusDB Client v10.0.25
|
|
100
|
+
|
|
101
|
+
## Fixes 🛠
|
|
102
|
+
|
|
103
|
+
* Fix woqlPrinter
|
|
104
|
+
|
|
105
|
+
# TerminusDB Client v10.0.24
|
|
106
|
+
|
|
107
|
+
## Fixes 🛠
|
|
108
|
+
|
|
109
|
+
* Review WOQL typescript definitions
|
|
110
|
+
|
|
111
|
+
# TerminusDB Client v10.0.22
|
|
112
|
+
|
|
113
|
+
## New 🚀
|
|
114
|
+
|
|
115
|
+
* Add Woql.boolean in WOQL class
|
|
116
|
+
* Add Woql.date in WOQL class
|
|
117
|
+
* Add Woql.datetime in WOQL class
|
|
118
|
+
|
|
119
|
+
# TerminusDB Client v10.0.21
|
|
120
|
+
|
|
121
|
+
## New 🚀
|
|
122
|
+
|
|
123
|
+
* Add getOrganizationRemote in AccessControl class
|
|
124
|
+
|
|
125
|
+
## Fixes 🛠
|
|
126
|
+
|
|
127
|
+
* Replace coveralls with coveralls-next
|
|
128
|
+
|
|
129
|
+
# TerminusDB Client v10.0.19
|
|
130
|
+
|
|
131
|
+
## New 🚀
|
|
132
|
+
|
|
133
|
+
* Add getOrganization in AccessControl class
|
|
134
|
+
* Add hasDatabase head api call in WOQL-Client
|
|
135
|
+
* Add Woql.Vars in WOQL class
|
|
136
|
+
|
|
137
|
+
## Fixes 🛠
|
|
138
|
+
|
|
139
|
+
* Remove core-js@2
|
|
140
|
+
* Documentation fixes
|
|
141
|
+
* Fix update_triple in woql
|
|
142
|
+
* Fix types declaration
|
|
143
|
+
|
|
144
|
+
# TerminusDB Client v10.0.12
|
|
145
|
+
|
|
146
|
+
## New 🚀
|
|
147
|
+
|
|
148
|
+
* Add the ability to add additional diff options to the diff endpoint
|
|
149
|
+
|
|
150
|
+
# TerminusDB Client v10.0.11
|
|
151
|
+
|
|
152
|
+
## New 🚀
|
|
153
|
+
|
|
154
|
+
* Generating type definitions for typescript by @Neelterminusdb in https://github.com/terminusdb/terminusdb-client-js/pull/185
|
|
155
|
+
* Added create query parameter for update document by @Neelterminusdb in https://github.com/terminusdb/terminusdb-client-js/pull/189
|
|
156
|
+
|
|
157
|
+
## Fixes 🛠
|
|
158
|
+
|
|
159
|
+
* Fixed woql start by @Neelterminusdb in https://github.com/terminusdb/terminusdb-client-js/pull/184
|
|
160
|
+
* Fixed bug in WOQL.doc not encoding lists by @Neelterminusdb in https://github.com/terminusdb/terminusdb-client-js/pull/191
|
|
161
|
+
* Fixed woql docs by @Neelterminusdb in https://github.com/terminusdb/terminusdb-client-js/pull/194
|
|
162
|
+
|
|
163
|
+
## Deprecated ☠️
|
|
164
|
+
|
|
165
|
+
* Deprecated query document by @Neelterminusdb in https://github.com/terminusdb/terminusdb-client-js/pull/187
|
|
166
|
+
|
|
167
|
+
<br/><br/>
|
|
168
|
+
|
|
169
|
+
# TerminusDB Client v10.0.10
|
|
170
|
+
|
|
171
|
+
## New 🚀
|
|
172
|
+
|
|
173
|
+
* Add support for variables in woql.doc by @Neelterminusdb in https://github.com/terminusdb/terminusdb-client-js/pull/181
|
|
174
|
+
|
|
175
|
+
## Fixes 🛠
|
|
176
|
+
|
|
177
|
+
* Fix the way of sending tokens to the cloud api by @GavinMendelGleason in https://github.com/terminusdb/terminusdb-client-js/pull/182
|
|
178
|
+
* Upgrade async library to prevent prototype pollution
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
# TerminusDB Client v10.0.9
|
|
183
|
+
|
|
184
|
+
## New 🚀
|
|
185
|
+
|
|
186
|
+
* Add diff endpoint by @GavinMendelGleason in https://github.com/terminusdb/terminusdb-client-js/pull/178
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
# TerminusDB Client v10.0.8
|
|
191
|
+
|
|
192
|
+
## New 🚀
|
|
193
|
+
|
|
194
|
+
* Add gzip compression by @rrooij in https://github.com/terminusdb/terminusdb-client-js/pull/167
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
# TerminusDB Client v10.0.7
|
|
199
|
+
|
|
200
|
+
## New 🚀
|
|
201
|
+
|
|
202
|
+
* Add getPrefixes by @Francesca-Bit in https://github.com/terminusdb/terminusdb-client-js/pull/152
|
|
203
|
+
* Added examples for dataVersion docs by @Neelterminusdb in https://github.com/terminusdb/terminusdb-client-js/pull/147
|
|
204
|
+
|
|
205
|
+
## Fixes 🛠
|
|
206
|
+
|
|
207
|
+
* Fixed WOQL.as and WOQL.path docs by @Neelterminusdb in https://github.com/terminusdb/terminusdb-client-js/pull/140
|
|
208
|
+
* Fixed woql.post query having multiple files with woql.and by @Neelterminusdb in https://github.com/terminusdb/terminusdb-client-js/pull/160
|
|
209
|
+
* Fixed cleanObject output for @value = 0 by @Neelterminusdb in https://github.com/terminusdb/terminusdb-client-js/pull/163
|
|
210
|
+
* Update accessControl by @Francesca-Bit in https://github.com/terminusdb/terminusdb-client-js/pull/144
|
|
211
|
+
* Converted string variables to woql variables "Var" in documentation by @Neelterminusdb in https://github.com/terminusdb/terminusdb-client-js/pull/141
|
|
212
|
+
|
|
213
|
+
---
|
|
214
|
+
|
|
215
|
+
# TerminusDB Client v10.0.6
|
|
216
|
+
|
|
217
|
+
## New 🚀
|
|
218
|
+
|
|
219
|
+
* Allow infinite size of body and content by @rrooij in https://github.com/terminusdb/terminusdb-client-js/pull/129
|
|
220
|
+
* Improving installation steps for the js package by @Neelterminusdb in https://github.com/terminusdb/terminusdb-client-js/pull/125
|
|
221
|
+
* Update createDocs.js by @mark-terminusdb in https://github.com/terminusdb/terminusdb-client-js/pull/130
|
|
222
|
+
* Use eol.lf with jsdoc-to-markdown, improve CI workflow by @spl in https://github.com/terminusdb/terminusdb-client-js/pull/133
|
|
223
|
+
|
|
224
|
+
## Fixes 🛠
|
|
225
|
+
|
|
226
|
+
* Fixed WOQL.post function by @Neelterminusdb in https://github.com/terminusdb/terminusdb-client-js/pull/118
|
|
227
|
+
* Fix linting by @Neelterminusdb in https://github.com/terminusdb/terminusdb-client-js/pull/112
|
|
228
|
+
* Fixes update_triple variable name bug by @Neelterminusdb in https://github.com/terminusdb/terminusdb-client-js/pull/131
|
|
229
|
+
|
|
230
|
+
---
|
|
231
|
+
|
|
232
|
+
# TerminusDB Client v10.0.5
|
|
233
|
+
|
|
234
|
+
## New 🚀
|
|
235
|
+
|
|
236
|
+
* Add new [getDatabases](https://terminusdb.github.io/terminusdb-client-js/#/api/woqlClient.js?id=getdatabases) method [#121](/../../pull/121)
|
|
237
|
+
* Add track version id [#116](/../../pull/116)
|
|
238
|
+
|
|
239
|
+
## Fixes 🛠
|
|
240
|
+
|
|
241
|
+
* Fixed tests [#123](/../../pull/123)
|
|
242
|
+
* Modified AccessControl documentations, added api token [#124](/../../pull/124)
|
|
243
|
+
* UPDATED packages [#126](/../../pull/126)
|
|
244
|
+
|
|
245
|
+
## Deprecated ☠️
|
|
246
|
+
|
|
247
|
+
* Deprecated connect function [#114](/../../pull/114)
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
# TerminusDB Client v10.0.4
|
|
252
|
+
|
|
253
|
+
## New 🚀
|
|
254
|
+
|
|
255
|
+
* Added AccessControl class
|
|
256
|
+
* Added diff and patch functions in WOQL.client
|
|
257
|
+
|
|
258
|
+
## Fixes 🛠
|
|
259
|
+
|
|
260
|
+
* Fixed create new branch documentation [#105](/../../issues/105)
|
|
261
|
+
|
|
262
|
+
---
|
|
263
|
+
|
|
264
|
+
# TerminusDB Client v10.0.3
|
|
265
|
+
|
|
266
|
+
## New 🚀
|
|
267
|
+
|
|
268
|
+
* Added support for new API authentication with TerminusX
|
|
269
|
+
|
|
270
|
+
## Fixes 🛠
|
|
271
|
+
|
|
272
|
+
* Fixed optimizeBranch() ([#92](/../../issues/92))
|
|
273
|
+
* Fixed encoding URL in client
|
|
274
|
+
* Added custom User-Agent header
|
|
275
|
+
* Fixed https package not found ([#97](/../../issues/97)) by adding browser setting in package.json
|
|
276
|
+
* Fixed replaceAll is not a function error ([#95](/../../issues/95))
|
|
277
|
+
|
|
278
|
+
---
|
|
279
|
+
|
|
280
|
+
# TerminusDB Client v10.0.2
|
|
281
|
+
|
|
282
|
+
## new 🚀
|
|
283
|
+
|
|
284
|
+
* Added support for multi organizations
|
|
285
|
+
* Add client.getUserOrganizations
|
|
286
|
+
* Add client.userOrganizations (Retrieves a list of databases)
|
|
287
|
+
* Added *read_document, insert_document, update_document, delete_document* functions for modification of documents using WOQL
|
|
288
|
+
* Add dot() in WOQL query
|
|
289
|
+
|
|
290
|
+
## fixes 🛠
|
|
291
|
+
|
|
292
|
+
* fixed order_by in WOQL ([#35](/../../issues/35))
|
|
293
|
+
* fixed auto generation of docs ([#62](/../../issues/35))
|
|
294
|
+
* removed unused dependencies
|
|
295
|
+
|
|
296
|
+
## deprecated ☠️
|
|
297
|
+
|
|
298
|
+
* removed read_object
|
|
299
|
+
|
|
300
|
+
---
|
|
301
|
+
|
|
302
|
+
# TerminusDB Client v10.0.1
|
|
303
|
+
|
|
304
|
+
## new
|
|
305
|
+
|
|
306
|
+
* Add read_object
|
|
307
|
+
* Add utf-8 support
|
|
308
|
+
|
|
309
|
+
## fixes
|
|
310
|
+
|
|
311
|
+
* fixed woql query for commits
|
|
312
|
+
|
|
313
|
+
---
|
|
314
|
+
|
|
315
|
+
# TerminusDB Client v10.0.0
|
|
316
|
+
|
|
317
|
+
## new
|
|
318
|
+
|
|
319
|
+
* Added functionalties to support new document interface
|
|
320
|
+
* Added new functions to support TerminusX
|
|
321
|
+
|
|
322
|
+
---
|
|
323
|
+
|
|
324
|
+
# TerminusDB Client v4.1.0
|
|
325
|
+
|
|
326
|
+
## new
|
|
327
|
+
|
|
328
|
+
+ Enhancements to graph view and document view
|
|
329
|
+
|
|
330
|
+
# TerminusDB Client v4.0.0
|
|
331
|
+
|
|
332
|
+
## new
|
|
333
|
+
|
|
334
|
+
* add update_quad
|
|
335
|
+
* add update_triple
|
|
336
|
+
* add woql word once
|
|
337
|
+
* add context to using
|
|
338
|
+
* add type_of
|
|
339
|
+
* better error reporting
|
|
340
|
+
* add csv uploading
|
|
341
|
+
|
|
342
|
+
## fixes
|
|
343
|
+
|
|
344
|
+
* Fix group_by
|
|
345
|
+
|
|
346
|
+
# TerminusDB Client v3.0.3
|
|
347
|
+
|
|
348
|
+
The liberation release
|
|
349
|
+
|
|
350
|
+
## new
|
|
351
|
+
|
|
352
|
+
* Upgrade dependencies
|
|
353
|
+
* Path predicate directions
|
|
354
|
+
* Add switch for forcing db deletes
|
|
355
|
+
|
|
356
|
+
## fixes
|
|
357
|
+
|
|
358
|
+
* Fix length and predicate pattern compilation
|
|
359
|
+
* Fix bug with non-text nodes
|
|
360
|
+
|
|
361
|
+
# TerminusDB Client v3.0.0
|
|
362
|
+
|
|
363
|
+
The liberation release
|
|
364
|
+
|
|
365
|
+
## new
|
|
366
|
+
|
|
367
|
+
support for including prefixes
|
|
368
|
+
full support for Terminus Server Collaboration API
|
|
369
|
+
|
|
370
|
+
# TerminusDB Client v2.0.9 Release Notes
|
|
371
|
+
|
|
372
|
+
## new
|
|
373
|
+
|
|
374
|
+
Ability to set no commit as starting point for a new branch in client branch api
|
|
375
|
+
|
|
376
|
+
Functions for more convenient navigation of the commit graph
|
|
377
|
+
* lib().commit_history()
|
|
378
|
+
* lib().commit_future()
|
|
379
|
+
* lib().commit_timeline()
|
|
380
|
+
* lib().next_commits()
|
|
381
|
+
* lib().previous_commits()
|
|
382
|
+
* lib().active_commit()
|
|
383
|
+
|
|
384
|
+
## bug-fixes
|
|
385
|
+
|
|
386
|
+
Fixed automatic type detection to recognise terminusdb:/// iris
|
|
387
|
+
|
|
388
|
+
# TerminusDB Client v2.0.8 Release Notes
|
|
389
|
+
|
|
390
|
+
## new
|
|
391
|
+
|
|
392
|
+
Ability to set default branch id in connection configuration init
|
|
393
|
+
WOQL.all()
|
|
394
|
+
WOQL.vars()
|
|
395
|
+
WOQL.nuke()
|
|
396
|
+
|
|
397
|
+
Promoted stable parts of WOQL.schema() and WOQL.lib() to fully fledged WOQLQuery status to enable chaining
|
|
398
|
+
|
|
399
|
+
## bug-fixes
|
|
400
|
+
|
|
401
|
+
Removed extraneous ` from nonNegativeInteger datatype
|
|
402
|
+
Removed export of all internal objects
|
|
403
|
+
|
|
404
|
+
# TerminusDB Client v2.0.7 Release Notes
|
|
405
|
+
|
|
406
|
+
## new
|
|
407
|
+
|
|
408
|
+
New Fetch API Call
|
|
409
|
+
|
|
410
|
+
## bug fixes
|
|
411
|
+
|
|
412
|
+
Fixed bug in WOQL.order_by to make descending work
|
|
413
|
+
|
|
414
|
+
# TerminusDB Client v2.0.6 Release Notes
|
|
415
|
+
|
|
416
|
+
## new
|
|
417
|
+
|
|
418
|
+
Added support for remote database status resolution to connection capabilities
|
|
419
|
+
Added new databases() api support
|
|
420
|
+
Added global assets_overview query
|
|
421
|
+
Added new general time travel function - getCommitAtTime()
|
|
422
|
+
|
|
423
|
+
## bug fixes
|
|
424
|
+
|
|
425
|
+
Fixed bug with idgen
|
|
426
|
+
|
|
427
|
+
# TerminusDB Client v2.0.5 Release Notes
|
|
428
|
+
|
|
429
|
+
## bug fixes
|
|
430
|
+
|
|
431
|
+
+ Fixed PUT
|
|
432
|
+
+ Some other fixes as well
|
|
433
|
+
|
|
434
|
+
# TerminusDB Client v2.0.4 Release Notes
|
|
435
|
+
|
|
436
|
+
## new
|
|
437
|
+
|
|
438
|
+
Added tests for inferred use of ands
|
|
439
|
+
|
|
440
|
+
## bug fixes
|
|
441
|
+
|
|
442
|
+
Fixed remaining bugs in cardinality functions
|
|
443
|
+
Fixed bugs in PUT JSON-LD generation
|
|
444
|
+
Fixed tests for chaining and cardinality functions
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
# TerminusDB Client v2.0.3 Release Notes
|
|
448
|
+
|
|
449
|
+
## New
|
|
450
|
+
* First release of the WOQL standard library - available via WOQL.lib().LIBRARY_FUNCTION()
|
|
451
|
+
* Added working versions of clone, pull, push, fetch to API
|
|
452
|
+
* Added support for basic auth to remote servers
|
|
453
|
+
|
|
454
|
+
## Bug fixes
|
|
455
|
+
|
|
456
|
+
Fixed bugs in cardinality operators in WOQL (max, min, card - all now work properly)
|
|
457
|
+
|
|
458
|
+
Tidied up triplebuilder by eliminating no longer need object.
|
|
459
|
+
|
|
460
|
+
Fixed transmission of prefixes over API
|
|
461
|
+
|
|
462
|
+
|
package/dist/index.html
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>Woql Client</title><link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"><script defer="defer" src="terminusdb-client.min.js"></script></head><body onload="startTerminusdb();"><div id="root" class="container"><div class="alert alert-primary" role="alert">WE ARE TESTING TerminusDB Client ......</div><div class="alert alert-warning" role="alert" id="success-alert"></div><div class="alert alert-warning" role="alert" id="success-alert01"></div><div class="alert alert-success" role="alert" id="success-alert02"></div></div><script>async function startTerminusdb(){
|
|
2
|
+
var dbClient= new TerminusDBClient.WOQLClient("http://127.0.0.1:6363",{user:"admin","key":"root",organization:"admin"});
|
|
3
|
+
const db__01 = `myDB___${Date.now()}`
|
|
4
|
+
try{
|
|
5
|
+
await dbClient.createDatabase(db__01, {label: db__01 , comment: "add db", schema: true})
|
|
6
|
+
const h5 = document.getElementById("success-alert");
|
|
7
|
+
const newContent = document.createTextNode(`THE DATABASE ${db__01} HAS BEEN CREATED `);
|
|
8
|
+
h5.appendChild(newContent)
|
|
9
|
+
|
|
10
|
+
await dbClient.deleteDatabase(db__01)
|
|
11
|
+
|
|
12
|
+
const h6 = document.getElementById("success-alert01");
|
|
13
|
+
const newContent01 = document.createTextNode(`THE DATABASE ${db__01} HAS BEEN DELETED`);
|
|
14
|
+
h6.appendChild(newContent01)
|
|
15
|
+
|
|
16
|
+
const h7 = document.getElementById("success-alert02");
|
|
17
|
+
const newContent02 = document.createTextNode(`CREATE/DELETE TerminusDB DATABASE TEST PASSED......`);
|
|
18
|
+
h7.appendChild(newContent02)
|
|
19
|
+
}catch(err){
|
|
20
|
+
console.log(err)
|
|
21
|
+
}
|
|
22
|
+
}</script></body></html>
|