@nymphjs/server 1.0.0-beta.13 → 1.0.0-beta.131

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 CHANGED
@@ -3,6 +3,530 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.0.0-beta.131](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.130...v1.0.0-beta.131) (2026-10-20)
7
+
8
+ **Note:** Version bump only for package @nymphjs/server
9
+
10
+ # [1.0.0-beta.130](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.129...v1.0.0-beta.130) (2026-10-09)
11
+
12
+ **Note:** Version bump only for package @nymphjs/server
13
+
14
+ # [1.0.0-beta.129](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.128...v1.0.0-beta.129) (2026-10-05)
15
+
16
+ ### Features
17
+
18
+ - migrate to built in node sqlite, target es2024 ([d7c78c0](https://forge.sciactive.com/sciactive/nymphjs/commits/d7c78c06072d785b228ff790eb005ab4f84529e9))
19
+
20
+ # [1.0.0-beta.128](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.127...v1.0.0-beta.128) (2026-09-29)
21
+
22
+ **Note:** Version bump only for package @nymphjs/server
23
+
24
+ # [1.0.0-beta.127](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.126...v1.0.0-beta.127) (2026-09-24)
25
+
26
+ **Note:** Version bump only for package @nymphjs/server
27
+
28
+ # [1.0.0-beta.126](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.125...v1.0.0-beta.126) (2026-09-24)
29
+
30
+ **Note:** Version bump only for package @nymphjs/server
31
+
32
+ # [1.0.0-beta.125](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.124...v1.0.0-beta.125) (2026-09-24)
33
+
34
+ ### Bug Fixes
35
+
36
+ - client translation errors, pubsub qref translation, entities can contain classes in db now ([2902fe3](https://forge.sciactive.com/sciactive/nymphjs/commits/2902fe3166b456cd0d8012c10991f9a16a4a99bb))
37
+
38
+ # [1.0.0-beta.124](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.123...v1.0.0-beta.124) (2026-09-24)
39
+
40
+ ### Bug Fixes
41
+
42
+ - client class translation in queries and params ([849355c](https://forge.sciactive.com/sciactive/nymphjs/commits/849355c7ad2dfb594415454c2d491b6868508434))
43
+
44
+ # [1.0.0-beta.123](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.122...v1.0.0-beta.123) (2026-09-23)
45
+
46
+ **Note:** Version bump only for package @nymphjs/server
47
+
48
+ # [1.0.0-beta.122](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.121...v1.0.0-beta.122) (2026-09-22)
49
+
50
+ ### Bug Fixes
51
+
52
+ - issues causing failing tests and update other tests ([f249bb9](https://forge.sciactive.com/sciactive/nymphjs/commits/f249bb97cfd9edb5559c11c2c1e6c1c8a07af7d8))
53
+
54
+ ### Features
55
+
56
+ - save and delete now throw on errors instead of returning false, refresh throws on db errors ([536db88](https://forge.sciactive.com/sciactive/nymphjs/commits/536db8804ac515cd3e1e9c30b104f674e267916a))
57
+
58
+ # [1.0.0-beta.121](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.120...v1.0.0-beta.121) (2026-09-17)
59
+
60
+ **Note:** Version bump only for package @nymphjs/server
61
+
62
+ # [1.0.0-beta.120](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.119...v1.0.0-beta.120) (2026-09-01)
63
+
64
+ **Note:** Version bump only for package @nymphjs/server
65
+
66
+ # [1.0.0-beta.119](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.118...v1.0.0-beta.119) (2026-08-25)
67
+
68
+ **Note:** Version bump only for package @nymphjs/server
69
+
70
+ # [1.0.0-beta.118](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.117...v1.0.0-beta.118) (2026-08-24)
71
+
72
+ ### Features
73
+
74
+ - update packages and migrate to ts7 ([c1b8eb5](https://forge.sciactive.com/sciactive/nymphjs/commits/c1b8eb5f7dd68436759f8d7b94bc9622511e71fd))
75
+
76
+ # [1.0.0-beta.117](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.116...v1.0.0-beta.117) (2026-04-21)
77
+
78
+ ### Bug Fixes
79
+
80
+ - referencesToEntities using guid instead of class name ([5970fd7](https://forge.sciactive.com/sciactive/nymphjs/commits/5970fd7e3cbb8286ea96f7812bb36f05a91ba65c))
81
+
82
+ # [1.0.0-beta.116](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.115...v1.0.0-beta.116) (2026-04-08)
83
+
84
+ **Note:** Version bump only for package @nymphjs/server
85
+
86
+ # [1.0.0-beta.115](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.114...v1.0.0-beta.115) (2026-04-06)
87
+
88
+ **Note:** Version bump only for package @nymphjs/server
89
+
90
+ # [1.0.0-beta.114](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.113...v1.0.0-beta.114) (2026-04-06)
91
+
92
+ **Note:** Version bump only for package @nymphjs/server
93
+
94
+ # [1.0.0-beta.113](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.112...v1.0.0-beta.113) (2026-04-03)
95
+
96
+ **Note:** Version bump only for package @nymphjs/server
97
+
98
+ # [1.0.0-beta.112](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.111...v1.0.0-beta.112) (2026-04-03)
99
+
100
+ **Note:** Version bump only for package @nymphjs/server
101
+
102
+ # [1.0.0-beta.111](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.110...v1.0.0-beta.111) (2026-03-10)
103
+
104
+ **Note:** Version bump only for package @nymphjs/server
105
+
106
+ # [1.0.0-beta.110](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.109...v1.0.0-beta.110) (2026-02-23)
107
+
108
+ **Note:** Version bump only for package @nymphjs/server
109
+
110
+ # [1.0.0-beta.109](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.108...v1.0.0-beta.109) (2026-02-15)
111
+
112
+ **Note:** Version bump only for package @nymphjs/server
113
+
114
+ # [1.0.0-beta.108](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.107...v1.0.0-beta.108) (2026-02-15)
115
+
116
+ **Note:** Version bump only for package @nymphjs/server
117
+
118
+ # [1.0.0-beta.107](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.106...v1.0.0-beta.107) (2026-02-13)
119
+
120
+ ### Features
121
+
122
+ - move HttpError to nymph package to fix circular dependency ([ef8876e](https://github.com/sciactive/nymphjs/commit/ef8876e7dc2ad398038d66d324bf4c65227de681))
123
+ - update packages and fix all new issues ([0e9d17c](https://github.com/sciactive/nymphjs/commit/0e9d17c6e2db12c11bdfb559031719c1b52b5fa1))
124
+
125
+ # [1.0.0-beta.106](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.105...v1.0.0-beta.106) (2025-12-05)
126
+
127
+ **Note:** Version bump only for package @nymphjs/server
128
+
129
+ # [1.0.0-beta.105](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.104...v1.0.0-beta.105) (2025-12-04)
130
+
131
+ **Note:** Version bump only for package @nymphjs/server
132
+
133
+ # [1.0.0-beta.104](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.103...v1.0.0-beta.104) (2025-12-01)
134
+
135
+ **Note:** Version bump only for package @nymphjs/server
136
+
137
+ # [1.0.0-beta.103](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.102...v1.0.0-beta.103) (2025-11-30)
138
+
139
+ **Note:** Version bump only for package @nymphjs/server
140
+
141
+ # [1.0.0-beta.102](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.101...v1.0.0-beta.102) (2025-11-29)
142
+
143
+ **Note:** Version bump only for package @nymphjs/server
144
+
145
+ # [1.0.0-beta.101](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.100...v1.0.0-beta.101) (2025-11-29)
146
+
147
+ **Note:** Version bump only for package @nymphjs/server
148
+
149
+ # [1.0.0-beta.100](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.99...v1.0.0-beta.100) (2025-11-29)
150
+
151
+ **Note:** Version bump only for package @nymphjs/server
152
+
153
+ # [1.0.0-beta.99](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.98...v1.0.0-beta.99) (2025-11-26)
154
+
155
+ **Note:** Version bump only for package @nymphjs/server
156
+
157
+ # [1.0.0-beta.98](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.97...v1.0.0-beta.98) (2025-10-24)
158
+
159
+ **Note:** Version bump only for package @nymphjs/server
160
+
161
+ # [1.0.0-beta.97](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.96...v1.0.0-beta.97) (2025-10-04)
162
+
163
+ **Note:** Version bump only for package @nymphjs/server
164
+
165
+ # [1.0.0-beta.96](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.95...v1.0.0-beta.96) (2025-09-01)
166
+
167
+ **Note:** Version bump only for package @nymphjs/server
168
+
169
+ # [1.0.0-beta.95](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.94...v1.0.0-beta.95) (2025-08-30)
170
+
171
+ **Note:** Version bump only for package @nymphjs/server
172
+
173
+ # [1.0.0-beta.94](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.93...v1.0.0-beta.94) (2025-08-25)
174
+
175
+ ### Features
176
+
177
+ - add returnNullOnNotFound client option, and some tilmeld domain checks ([20c0207](https://github.com/sciactive/nymphjs/commit/20c0207ef537a948f84f830f1db88d207e1c386b))
178
+
179
+ # [1.0.0-beta.93](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.92...v1.0.0-beta.93) (2025-08-16)
180
+
181
+ **Note:** Version bump only for package @nymphjs/server
182
+
183
+ # [1.0.0-beta.92](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.91...v1.0.0-beta.92) (2025-04-06)
184
+
185
+ ### Bug Fixes
186
+
187
+ - wait for an event loop after each iteration of server iterator to allow data to flush ([c0822ad](https://github.com/sciactive/nymphjs/commit/c0822ad3b7ebe56eb85915f4d950a9f656c5862a))
188
+
189
+ ### Features
190
+
191
+ - add 'object' return type which returns plain entity data objects ([26a4cd3](https://github.com/sciactive/nymphjs/commit/26a4cd3226145408dc34bff52b1eafe3b046313b))
192
+
193
+ # [1.0.0-beta.91](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.90...v1.0.0-beta.91) (2025-03-07)
194
+
195
+ **Note:** Version bump only for package @nymphjs/server
196
+
197
+ # [1.0.0-beta.90](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.89...v1.0.0-beta.90) (2025-02-09)
198
+
199
+ **Note:** Version bump only for package @nymphjs/server
200
+
201
+ # [1.0.0-beta.89](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.88...v1.0.0-beta.89) (2025-02-09)
202
+
203
+ **Note:** Version bump only for package @nymphjs/server
204
+
205
+ # [1.0.0-beta.88](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.87...v1.0.0-beta.88) (2025-01-30)
206
+
207
+ **Note:** Version bump only for package @nymphjs/server
208
+
209
+ # [1.0.0-beta.87](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.86...v1.0.0-beta.87) (2025-01-20)
210
+
211
+ ### Features
212
+
213
+ - deprecate node client and allow multiple client instances to each log in own users ([17b42f4](https://github.com/sciactive/nymphjs/commit/17b42f449f2355a3ce896b8e86a47edd660e9277))
214
+
215
+ # [1.0.0-beta.86](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.85...v1.0.0-beta.86) (2024-12-28)
216
+
217
+ ### Bug Fixes
218
+
219
+ - entity search functions handling of null values ([6ac0335](https://github.com/sciactive/nymphjs/commit/6ac0335ecb792979ecfb621395a55b68a607429f))
220
+
221
+ # [1.0.0-beta.85](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.84...v1.0.0-beta.85) (2024-12-27)
222
+
223
+ **Note:** Version bump only for package @nymphjs/server
224
+
225
+ # [1.0.0-beta.84](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.83...v1.0.0-beta.84) (2024-12-21)
226
+
227
+ **Note:** Version bump only for package @nymphjs/server
228
+
229
+ # [1.0.0-beta.83](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.82...v1.0.0-beta.83) (2024-12-20)
230
+
231
+ **Note:** Version bump only for package @nymphjs/server
232
+
233
+ # [1.0.0-beta.82](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.81...v1.0.0-beta.82) (2024-12-15)
234
+
235
+ ### Features
236
+
237
+ - migrate to es modules, upgrade all packages, migrate to Svelte 5 ([3f2b9e5](https://github.com/sciactive/nymphjs/commit/3f2b9e517b39934eddce66601d7fc747fbf3f9e6))
238
+
239
+ # [1.0.0-beta.81](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.80...v1.0.0-beta.81) (2024-09-28)
240
+
241
+ **Note:** Version bump only for package @nymphjs/server
242
+
243
+ # [1.0.0-beta.80](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.79...v1.0.0-beta.80) (2024-09-28)
244
+
245
+ **Note:** Version bump only for package @nymphjs/server
246
+
247
+ # [1.0.0-beta.79](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.78...v1.0.0-beta.79) (2024-09-28)
248
+
249
+ **Note:** Version bump only for package @nymphjs/server
250
+
251
+ # [1.0.0-beta.78](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.77...v1.0.0-beta.78) (2024-09-27)
252
+
253
+ **Note:** Version bump only for package @nymphjs/server
254
+
255
+ # [1.0.0-beta.77](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.76...v1.0.0-beta.77) (2024-09-26)
256
+
257
+ **Note:** Version bump only for package @nymphjs/server
258
+
259
+ # [1.0.0-beta.76](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.75...v1.0.0-beta.76) (2024-09-25)
260
+
261
+ **Note:** Version bump only for package @nymphjs/server
262
+
263
+ # [1.0.0-beta.75](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.74...v1.0.0-beta.75) (2024-09-24)
264
+
265
+ **Note:** Version bump only for package @nymphjs/server
266
+
267
+ # [1.0.0-beta.74](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.73...v1.0.0-beta.74) (2024-09-21)
268
+
269
+ **Note:** Version bump only for package @nymphjs/server
270
+
271
+ # [1.0.0-beta.73](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.72...v1.0.0-beta.73) (2024-09-20)
272
+
273
+ **Note:** Version bump only for package @nymphjs/server
274
+
275
+ # [1.0.0-beta.72](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.71...v1.0.0-beta.72) (2024-09-20)
276
+
277
+ **Note:** Version bump only for package @nymphjs/server
278
+
279
+ # [1.0.0-beta.71](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.70...v1.0.0-beta.71) (2024-09-20)
280
+
281
+ **Note:** Version bump only for package @nymphjs/server
282
+
283
+ # [1.0.0-beta.70](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.69...v1.0.0-beta.70) (2024-09-20)
284
+
285
+ **Note:** Version bump only for package @nymphjs/server
286
+
287
+ # [1.0.0-beta.69](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.68...v1.0.0-beta.69) (2024-09-19)
288
+
289
+ **Note:** Version bump only for package @nymphjs/server
290
+
291
+ # [1.0.0-beta.68](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.67...v1.0.0-beta.68) (2024-09-19)
292
+
293
+ **Note:** Version bump only for package @nymphjs/server
294
+
295
+ # [1.0.0-beta.67](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.66...v1.0.0-beta.67) (2024-09-03)
296
+
297
+ **Note:** Version bump only for package @nymphjs/server
298
+
299
+ # [1.0.0-beta.66](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.65...v1.0.0-beta.66) (2024-08-06)
300
+
301
+ **Note:** Version bump only for package @nymphjs/server
302
+
303
+ # [1.0.0-beta.65](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.64...v1.0.0-beta.65) (2024-08-05)
304
+
305
+ **Note:** Version bump only for package @nymphjs/server
306
+
307
+ # [1.0.0-beta.64](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.63...v1.0.0-beta.64) (2024-08-04)
308
+
309
+ **Note:** Version bump only for package @nymphjs/server
310
+
311
+ # [1.0.0-beta.63](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.62...v1.0.0-beta.63) (2024-06-18)
312
+
313
+ ### Bug Fixes
314
+
315
+ - undo ts compilation to module change ([84be6d4](https://github.com/sciactive/nymphjs/commit/84be6d434be29f8afd53907d15be2eb77d1736ce))
316
+
317
+ ### Features
318
+
319
+ - export data iterator ([b86aa19](https://github.com/sciactive/nymphjs/commit/b86aa19fc77d744b5a683046dfb697fc4746df5c))
320
+
321
+ # [1.0.0-beta.62](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.61...v1.0.0-beta.62) (2024-06-15)
322
+
323
+ **Note:** Version bump only for package @nymphjs/server
324
+
325
+ # [1.0.0-beta.61](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.60...v1.0.0-beta.61) (2024-06-14)
326
+
327
+ **Note:** Version bump only for package @nymphjs/server
328
+
329
+ # [1.0.0-beta.60](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.59...v1.0.0-beta.60) (2024-06-14)
330
+
331
+ **Note:** Version bump only for package @nymphjs/server
332
+
333
+ # [1.0.0-beta.59](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.58...v1.0.0-beta.59) (2024-06-14)
334
+
335
+ ### Features
336
+
337
+ - add uniqueness constraint feature, refactor some types ([8133d32](https://github.com/sciactive/nymphjs/commit/8133d32b2c04907182dca2e9171b8217ed1b57e4))
338
+
339
+ # [1.0.0-beta.58](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.57...v1.0.0-beta.58) (2024-06-12)
340
+
341
+ **Note:** Version bump only for package @nymphjs/server
342
+
343
+ # [1.0.0-beta.57](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.56...v1.0.0-beta.57) (2024-06-12)
344
+
345
+ **Note:** Version bump only for package @nymphjs/server
346
+
347
+ # [1.0.0-beta.56](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.55...v1.0.0-beta.56) (2024-06-11)
348
+
349
+ ### Features
350
+
351
+ - allow connections where tokens are not renewed ([39071a5](https://github.com/sciactive/nymphjs/commit/39071a545644075190bd8213be25e0a0c46d2b5d))
352
+
353
+ # [1.0.0-beta.55](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.54...v1.0.0-beta.55) (2024-05-26)
354
+
355
+ **Note:** Version bump only for package @nymphjs/server
356
+
357
+ # [1.0.0-beta.54](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.53...v1.0.0-beta.54) (2024-05-26)
358
+
359
+ **Note:** Version bump only for package @nymphjs/server
360
+
361
+ # [1.0.0-beta.53](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.52...v1.0.0-beta.53) (2024-05-26)
362
+
363
+ **Note:** Version bump only for package @nymphjs/server
364
+
365
+ # [1.0.0-beta.52](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.51...v1.0.0-beta.52) (2024-05-25)
366
+
367
+ **Note:** Version bump only for package @nymphjs/server
368
+
369
+ # [1.0.0-beta.51](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.50...v1.0.0-beta.51) (2024-04-12)
370
+
371
+ **Note:** Version bump only for package @nymphjs/server
372
+
373
+ # [1.0.0-beta.50](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.49...v1.0.0-beta.50) (2024-04-08)
374
+
375
+ **Note:** Version bump only for package @nymphjs/server
376
+
377
+ # [1.0.0-beta.49](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.48...v1.0.0-beta.49) (2024-03-04)
378
+
379
+ **Note:** Version bump only for package @nymphjs/server
380
+
381
+ # [1.0.0-beta.48](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.47...v1.0.0-beta.48) (2023-11-10)
382
+
383
+ **Note:** Version bump only for package @nymphjs/server
384
+
385
+ # [1.0.0-beta.47](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.46...v1.0.0-beta.47) (2023-11-10)
386
+
387
+ **Note:** Version bump only for package @nymphjs/server
388
+
389
+ # [1.0.0-beta.46](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.45...v1.0.0-beta.46) (2023-08-29)
390
+
391
+ **Note:** Version bump only for package @nymphjs/server
392
+
393
+ # [1.0.0-beta.45](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.44...v1.0.0-beta.45) (2023-07-17)
394
+
395
+ **Note:** Version bump only for package @nymphjs/server
396
+
397
+ # [1.0.0-beta.44](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.43...v1.0.0-beta.44) (2023-07-13)
398
+
399
+ **Note:** Version bump only for package @nymphjs/server
400
+
401
+ # [1.0.0-beta.43](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.42...v1.0.0-beta.43) (2023-07-12)
402
+
403
+ **Note:** Version bump only for package @nymphjs/server
404
+
405
+ # [1.0.0-beta.42](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.41...v1.0.0-beta.42) (2023-07-12)
406
+
407
+ **Note:** Version bump only for package @nymphjs/server
408
+
409
+ # [1.0.0-beta.41](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.40...v1.0.0-beta.41) (2023-07-12)
410
+
411
+ ### Features
412
+
413
+ - remove synchronous database queries ([b579fb2](https://github.com/sciactive/nymphjs/commit/b579fb2eacd96cdd1b386a62c5c00cdbb2438f6e))
414
+ - rewrite server side async api to match client side api ([9c537a8](https://github.com/sciactive/nymphjs/commit/9c537a8be49e9b989af0822a4c2236e8c2d20f87))
415
+
416
+ # [1.0.0-beta.40](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.39...v1.0.0-beta.40) (2023-07-10)
417
+
418
+ **Note:** Version bump only for package @nymphjs/server
419
+
420
+ # [1.0.0-beta.39](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.38...v1.0.0-beta.39) (2023-07-09)
421
+
422
+ **Note:** Version bump only for package @nymphjs/server
423
+
424
+ # [1.0.0-beta.38](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.37...v1.0.0-beta.38) (2023-07-09)
425
+
426
+ **Note:** Version bump only for package @nymphjs/server
427
+
428
+ # [1.0.0-beta.37](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.36...v1.0.0-beta.37) (2023-07-09)
429
+
430
+ **Note:** Version bump only for package @nymphjs/server
431
+
432
+ # [1.0.0-beta.36](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.35...v1.0.0-beta.36) (2023-07-09)
433
+
434
+ **Note:** Version bump only for package @nymphjs/server
435
+
436
+ # [1.0.0-beta.35](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.34...v1.0.0-beta.35) (2023-06-14)
437
+
438
+ ### Features
439
+
440
+ - add iteratable server call support using event streams ([fa7c1ec](https://github.com/sciactive/nymphjs/commit/fa7c1ec869e1fb52db20c8245e98a681f73dbf83))
441
+
442
+ # [1.0.0-beta.34](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.33...v1.0.0-beta.34) (2023-05-13)
443
+
444
+ **Note:** Version bump only for package @nymphjs/server
445
+
446
+ # [1.0.0-beta.33](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.32...v1.0.0-beta.33) (2023-05-13)
447
+
448
+ **Note:** Version bump only for package @nymphjs/server
449
+
450
+ # [1.0.0-beta.32](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.31...v1.0.0-beta.32) (2023-05-13)
451
+
452
+ **Note:** Version bump only for package @nymphjs/server
453
+
454
+ # [1.0.0-beta.31](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.30...v1.0.0-beta.31) (2023-05-12)
455
+
456
+ **Note:** Version bump only for package @nymphjs/server
457
+
458
+ # [1.0.0-beta.30](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.29...v1.0.0-beta.30) (2023-05-12)
459
+
460
+ **Note:** Version bump only for package @nymphjs/server
461
+
462
+ # [1.0.0-beta.29](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.28...v1.0.0-beta.29) (2023-05-08)
463
+
464
+ **Note:** Version bump only for package @nymphjs/server
465
+
466
+ # [1.0.0-beta.28](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.27...v1.0.0-beta.28) (2023-05-05)
467
+
468
+ **Note:** Version bump only for package @nymphjs/server
469
+
470
+ # [1.0.0-beta.27](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.26...v1.0.0-beta.27) (2023-05-04)
471
+
472
+ **Note:** Version bump only for package @nymphjs/server
473
+
474
+ # [1.0.0-beta.26](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.25...v1.0.0-beta.26) (2023-05-04)
475
+
476
+ **Note:** Version bump only for package @nymphjs/server
477
+
478
+ # [1.0.0-beta.25](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.24...v1.0.0-beta.25) (2023-05-04)
479
+
480
+ ### Features
481
+
482
+ - add flags to disable rest and pubsub support on an entity class ([52106a3](https://github.com/sciactive/nymphjs/commit/52106a3d44065bcfec40d361344bf1eba59a5136)), closes [#1](https://github.com/sciactive/nymphjs/issues/1)
483
+
484
+ # [1.0.0-beta.24](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.23...v1.0.0-beta.24) (2023-05-02)
485
+
486
+ **Note:** Version bump only for package @nymphjs/server
487
+
488
+ # [1.0.0-beta.23](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.22...v1.0.0-beta.23) (2023-05-02)
489
+
490
+ **Note:** Version bump only for package @nymphjs/server
491
+
492
+ # [1.0.0-beta.22](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.21...v1.0.0-beta.22) (2023-05-01)
493
+
494
+ **Note:** Version bump only for package @nymphjs/server
495
+
496
+ # [1.0.0-beta.21](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.20...v1.0.0-beta.21) (2023-05-01)
497
+
498
+ **Note:** Version bump only for package @nymphjs/server
499
+
500
+ # [1.0.0-beta.20](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.19...v1.0.0-beta.20) (2023-04-30)
501
+
502
+ **Note:** Version bump only for package @nymphjs/server
503
+
504
+ # [1.0.0-beta.19](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.18...v1.0.0-beta.19) (2023-04-29)
505
+
506
+ **Note:** Version bump only for package @nymphjs/server
507
+
508
+ # [1.0.0-beta.18](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.17...v1.0.0-beta.18) (2023-04-27)
509
+
510
+ **Note:** Version bump only for package @nymphjs/server
511
+
512
+ # [1.0.0-beta.17](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.16...v1.0.0-beta.17) (2023-04-24)
513
+
514
+ **Note:** Version bump only for package @nymphjs/server
515
+
516
+ # [1.0.0-beta.16](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.15...v1.0.0-beta.16) (2023-03-31)
517
+
518
+ ### Features
519
+
520
+ - add ability to tell tilmeld to log in a specific user during authentication ([922e145](https://github.com/sciactive/nymphjs/commit/922e1452adae44bed2aa9655be16e19796acb39b))
521
+
522
+ # [1.0.0-beta.15](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.14...v1.0.0-beta.15) (2023-03-23)
523
+
524
+ **Note:** Version bump only for package @nymphjs/server
525
+
526
+ # [1.0.0-beta.14](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.13...v1.0.0-beta.14) (2023-03-17)
527
+
528
+ **Note:** Version bump only for package @nymphjs/server
529
+
6
530
  # [1.0.0-beta.13](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.12...v1.0.0-beta.13) (2023-03-16)
7
531
 
8
532
  **Note:** Version bump only for package @nymphjs/server
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Nymph REST Server
2
2
 
3
- Powerful object data storage and querying.
3
+ Application Data and Access Framework for Node.js and the browser.
4
+
5
+ https://nymph.io/
4
6
 
5
7
  The REST server lets you configure an endpoint for the Nymph client to query and push data to. The server provides this endpoint as an Express middleware, which can be used in a new or existing Express (or compatible) server.
6
8
 
@@ -28,7 +30,7 @@ const nymph = new Nymph(
28
30
  {},
29
31
  new SQLite3Driver({
30
32
  filename: ':memory:',
31
- })
33
+ }),
32
34
  );
33
35
  const MyEntity = nymph.addEntityClass(MyEntityClass);
34
36
 
@@ -46,7 +48,7 @@ app.listen(80);
46
48
 
47
49
  You will need to import any entities you use on the server, so they are available to Nymph.
48
50
 
49
- Now you can configure your client using your server's address (and the optional path, if set).
51
+ Now you can configure your **client**, using your server's address (and the optional path, if set).
50
52
 
51
53
  ```ts
52
54
  import { Nymph } from '@nymphjs/client';
@@ -61,9 +63,81 @@ const nymph = new Nymph({
61
63
  const MyEntity = nymph.addEntityClass(MyEntityClass);
62
64
  ```
63
65
 
66
+ The REST server will authenticate for you using the Tilmeld auth cookie and XSRF token, but if you need to, you can authenticate in some other way (like OAuth2), and place the user in `response.locals.user`.
67
+
68
+ ```ts
69
+ import express from 'express';
70
+ import { Nymph } from '@nymphjs/nymph';
71
+ import SQLite3Driver from '@nymphjs/driver-sqlite3';
72
+ import { Tilmeld } from '@nymphjs/tilmeld';
73
+ import createServer from '@nymphjs/server';
74
+ import setup from '@nymphjs/tilmeld-setup';
75
+
76
+ // Import all the entities you will be using on the server.
77
+ import MyEntityClass from './entities/MyEntity';
78
+
79
+ // Consfigure Tilmeld.
80
+ const tilmeld = new Tilmeld({
81
+ appName: 'My Awesome App',
82
+ appUrl: 'https://mydomain.tld',
83
+ setupPath: '/user',
84
+ });
85
+
86
+ // Configure Nymph.
87
+ const nymph = new Nymph(
88
+ {},
89
+ new SQLite3Driver({
90
+ filename: ':memory:',
91
+ }),
92
+ tilmeld,
93
+ );
94
+ const MyEntity = nymph.addEntityClass(MyEntityClass);
95
+
96
+ // Create your Express app.
97
+ const app = express();
98
+
99
+ // Authenticate the user manually.
100
+ app.use('/rest', async (request, response, next) => {
101
+ const { User } = tilmeld;
102
+
103
+ try {
104
+ // Somehow authenticate the user...
105
+ const user = await User.factoryUsername(username);
106
+
107
+ if (user.guid != null && user.enabled) {
108
+ response.locals.user = user;
109
+ }
110
+
111
+ next();
112
+ } catch (e: any) {
113
+ response.status(500);
114
+ response.send('Internal server error.');
115
+ }
116
+ });
117
+
118
+ // Create and use the REST server (with an optional path).
119
+ app.use('/rest', createServer(nymph));
120
+
121
+ // Create Tilmeld setup app.
122
+ app.user(
123
+ '/user',
124
+ setup(
125
+ {
126
+ restUrl: 'https://mydomain.tld/rest',
127
+ },
128
+ nymph,
129
+ ),
130
+ );
131
+
132
+ // Do anything else you need to do...
133
+
134
+ // Start your server.
135
+ app.listen(80);
136
+ ```
137
+
64
138
  # License
65
139
 
66
- Copyright 2021 SciActive Inc
140
+ Copyright 2021-2026 SciActive Inc
67
141
 
68
142
  Licensed under the Apache License, Version 2.0 (the "License");
69
143
  you may not use this file except in compliance with the License.