@objectstack/client 4.0.4 → 4.1.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/client",
3
- "version": "4.0.4",
3
+ "version": "4.1.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Official Client SDK for ObjectStack Protocol",
6
6
  "main": "dist/index.js",
@@ -13,20 +13,45 @@
13
13
  }
14
14
  },
15
15
  "dependencies": {
16
- "@objectstack/core": "4.0.4",
17
- "@objectstack/spec": "4.0.4"
16
+ "@objectstack/core": "4.1.0",
17
+ "@objectstack/spec": "4.1.0"
18
18
  },
19
19
  "devDependencies": {
20
- "@hono/node-server": "^1.19.14",
21
- "msw": "^2.13.2",
22
- "typescript": "^6.0.2",
23
- "vitest": "^4.1.4",
24
- "@objectstack/driver-memory": "4.0.4",
25
- "@objectstack/hono": "4.0.4",
26
- "@objectstack/objectql": "4.0.4",
27
- "@objectstack/plugin-hono-server": "4.0.4",
28
- "@objectstack/plugin-msw": "4.0.4",
29
- "@objectstack/runtime": "4.0.4"
20
+ "@hono/node-server": "^2.0.3",
21
+ "msw": "^2.14.6",
22
+ "typescript": "^6.0.3",
23
+ "vitest": "^4.1.7",
24
+ "@objectstack/driver-memory": "4.1.0",
25
+ "@objectstack/hono": "4.1.0",
26
+ "@objectstack/objectql": "4.1.0",
27
+ "@objectstack/plugin-hono-server": "4.1.0",
28
+ "@objectstack/plugin-msw": "4.1.0",
29
+ "@objectstack/runtime": "4.1.0"
30
+ },
31
+ "keywords": [
32
+ "objectstack",
33
+ "client",
34
+ "sdk",
35
+ "rest",
36
+ "api"
37
+ ],
38
+ "author": "ObjectStack",
39
+ "repository": {
40
+ "type": "git",
41
+ "url": "https://github.com/objectstack-ai/framework.git",
42
+ "directory": "packages/client"
43
+ },
44
+ "homepage": "https://objectstack.ai/docs",
45
+ "bugs": "https://github.com/objectstack-ai/framework/issues",
46
+ "publishConfig": {
47
+ "access": "public"
48
+ },
49
+ "files": [
50
+ "dist",
51
+ "README.md"
52
+ ],
53
+ "engines": {
54
+ "node": ">=18.0.0"
30
55
  },
31
56
  "scripts": {
32
57
  "build": "tsup --config ../../tsup.config.ts",
@@ -1,22 +0,0 @@
1
-
2
- > @objectstack/client@4.0.4 build /home/runner/work/framework/framework/packages/client
3
- > tsup --config ../../tsup.config.ts
4
-
5
- CLI Building entry: src/index.ts
6
- CLI Using tsconfig: tsconfig.json
7
- CLI tsup v8.5.1
8
- CLI Using tsup config: /home/runner/work/framework/framework/tsup.config.ts
9
- CLI Target: es2020
10
- CLI Cleaning output folder
11
- ESM Build start
12
- CJS Build start
13
- ESM dist/index.mjs 58.57 KB
14
- ESM dist/index.mjs.map 119.43 KB
15
- ESM ⚡️ Build success in 33ms
16
- CJS dist/index.js 59.78 KB
17
- CJS dist/index.js.map 119.48 KB
18
- CJS ⚡️ Build success in 33ms
19
- DTS Build start
20
- DTS ⚡️ Build success in 3330ms
21
- DTS dist/index.d.mts 36.51 KB
22
- DTS dist/index.d.ts 36.51 KB
package/CHANGELOG.md DELETED
@@ -1,645 +0,0 @@
1
- # @objectstack/client
2
-
3
- ## 4.0.4
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies [326b66b]
8
- - @objectstack/spec@4.0.4
9
- - @objectstack/core@4.0.4
10
-
11
- ## 4.0.3
12
-
13
- ### Patch Changes
14
-
15
- - @objectstack/spec@4.0.3
16
- - @objectstack/core@4.0.3
17
-
18
- ## 4.0.2
19
-
20
- ### Patch Changes
21
-
22
- - 5f659e9: fix ai
23
- - Updated dependencies [5f659e9]
24
- - @objectstack/spec@4.0.2
25
- - @objectstack/core@4.0.2
26
-
27
- ## 4.0.0
28
-
29
- ### Minor Changes
30
-
31
- - f08ffc3: Fix discovery API endpoint routing and protocol consistency.
32
-
33
- **Discovery route standardization:**
34
-
35
- - All adapters (Express, Fastify, Hono, NestJS, Next.js, Nuxt, SvelteKit) now mount the discovery endpoint at `{prefix}/discovery` instead of `{prefix}` root.
36
- - `.well-known/objectstack` redirects now point to `{prefix}/discovery`.
37
- - Client `connect()` fallback URL changed from `/api/v1` to `/api/v1/discovery`.
38
- - Runtime dispatcher handles both `/discovery` (standard) and `/` (legacy) for backward compatibility.
39
-
40
- **Schema & route alignment:**
41
-
42
- - Added `storage` (service: `file-storage`) and `feed` (service: `data`) routes to `DEFAULT_DISPATCHER_ROUTES`.
43
- - Added `feed` and `discovery` fields to `ApiRoutesSchema`.
44
- - Unified `GetDiscoveryResponseSchema` with `DiscoverySchema` as single source of truth.
45
- - Client `getRoute('feed')` fallback updated from `/api/v1/data` to `/api/v1/feed`.
46
-
47
- **Type safety:**
48
-
49
- - Extracted `ApiRouteType` from `ApiRoutes` keys for type-safe client route resolution.
50
- - Removed `as any` type casting in client route access.
51
-
52
- - e0b0a78: Deprecate DataEngineQueryOptions in favor of QueryAST-aligned EngineQueryOptions.
53
-
54
- Engine, Protocol, and Client now use standard QueryAST parameter names:
55
-
56
- - `filter` → `where`
57
- - `select` → `fields`
58
- - `sort` → `orderBy`
59
- - `skip` → `offset`
60
- - `populate` → `expand`
61
- - `top` → `limit`
62
-
63
- The old DataEngine\* schemas and types are preserved with `@deprecated` markers for backward compatibility.
64
-
65
- ### Patch Changes
66
-
67
- - Updated dependencies [f08ffc3]
68
- - Updated dependencies [e0b0a78]
69
- - @objectstack/spec@4.0.0
70
- - @objectstack/core@4.0.0
71
-
72
- ## 3.3.1
73
-
74
- ### Patch Changes
75
-
76
- - @objectstack/spec@3.3.1
77
- - @objectstack/core@3.3.1
78
-
79
- ## 3.3.0
80
-
81
- ### Patch Changes
82
-
83
- - @objectstack/spec@3.3.0
84
- - @objectstack/core@3.3.0
85
-
86
- ## 3.2.9
87
-
88
- ### Patch Changes
89
-
90
- - @objectstack/spec@3.2.9
91
- - @objectstack/core@3.2.9
92
-
93
- ## 3.2.8
94
-
95
- ### Patch Changes
96
-
97
- - @objectstack/spec@3.2.8
98
- - @objectstack/core@3.2.8
99
-
100
- ## 3.2.7
101
-
102
- ### Patch Changes
103
-
104
- - @objectstack/spec@3.2.7
105
- - @objectstack/core@3.2.7
106
-
107
- ## 3.2.6
108
-
109
- ### Patch Changes
110
-
111
- - @objectstack/spec@3.2.6
112
- - @objectstack/core@3.2.6
113
-
114
- ## 3.2.5
115
-
116
- ### Patch Changes
117
-
118
- - @objectstack/spec@3.2.5
119
- - @objectstack/core@3.2.5
120
-
121
- ## 3.2.4
122
-
123
- ### Patch Changes
124
-
125
- - @objectstack/spec@3.2.4
126
- - @objectstack/core@3.2.4
127
-
128
- ## 3.2.3
129
-
130
- ### Patch Changes
131
-
132
- - @objectstack/spec@3.2.3
133
- - @objectstack/core@3.2.3
134
-
135
- ## 3.2.2
136
-
137
- ### Patch Changes
138
-
139
- - Updated dependencies [46defbb]
140
- - @objectstack/spec@3.2.2
141
- - @objectstack/core@3.2.2
142
-
143
- ## 3.2.1
144
-
145
- ### Patch Changes
146
-
147
- - Updated dependencies [850b546]
148
- - @objectstack/spec@3.2.1
149
- - @objectstack/core@3.2.1
150
-
151
- ## 3.2.0
152
-
153
- ### Patch Changes
154
-
155
- - Updated dependencies [5901c29]
156
- - @objectstack/spec@3.2.0
157
- - @objectstack/core@3.2.0
158
-
159
- ## 3.1.1
160
-
161
- ### Patch Changes
162
-
163
- - Updated dependencies [953d667]
164
- - @objectstack/spec@3.1.1
165
- - @objectstack/core@3.1.1
166
-
167
- ## 3.1.0
168
-
169
- ### Patch Changes
170
-
171
- - Updated dependencies [0088830]
172
- - @objectstack/spec@3.1.0
173
- - @objectstack/core@3.1.0
174
-
175
- ## 3.0.11
176
-
177
- ### Patch Changes
178
-
179
- - Updated dependencies [92d9d99]
180
- - @objectstack/spec@3.0.11
181
- - @objectstack/core@3.0.11
182
-
183
- ## 3.0.10
184
-
185
- ### Patch Changes
186
-
187
- - Updated dependencies [d1e5d31]
188
- - @objectstack/spec@3.0.10
189
- - @objectstack/core@3.0.10
190
-
191
- ## 3.0.9
192
-
193
- ### Patch Changes
194
-
195
- - Updated dependencies [15e0df6]
196
- - @objectstack/spec@3.0.9
197
- - @objectstack/core@3.0.9
198
-
199
- ## 3.0.8
200
-
201
- ### Patch Changes
202
-
203
- - Updated dependencies [5a968a2]
204
- - @objectstack/spec@3.0.8
205
- - @objectstack/core@3.0.8
206
-
207
- ## 3.0.7
208
-
209
- ### Patch Changes
210
-
211
- - Updated dependencies [0119bd7]
212
- - Updated dependencies [5426bdf]
213
- - @objectstack/spec@3.0.7
214
- - @objectstack/core@3.0.7
215
-
216
- ## 3.0.6
217
-
218
- ### Patch Changes
219
-
220
- - Updated dependencies [5df254c]
221
- - @objectstack/spec@3.0.6
222
- - @objectstack/core@3.0.6
223
-
224
- ## 3.0.5
225
-
226
- ### Patch Changes
227
-
228
- - Updated dependencies [23a4a68]
229
- - @objectstack/spec@3.0.5
230
- - @objectstack/core@3.0.5
231
-
232
- ## 3.0.4
233
-
234
- ### Patch Changes
235
-
236
- - Updated dependencies [d738987]
237
- - @objectstack/spec@3.0.4
238
- - @objectstack/core@3.0.4
239
-
240
- ## 3.0.3
241
-
242
- ### Patch Changes
243
-
244
- - c7267f6: Patch release for maintenance updates and improvements.
245
- - Updated dependencies [c7267f6]
246
- - @objectstack/spec@3.0.3
247
- - @objectstack/core@3.0.3
248
-
249
- ## 3.0.2
250
-
251
- ### Patch Changes
252
-
253
- - Updated dependencies [28985f5]
254
- - @objectstack/spec@3.0.2
255
- - @objectstack/core@3.0.2
256
-
257
- ## 3.0.1
258
-
259
- ### Patch Changes
260
-
261
- - Updated dependencies [389725a]
262
- - @objectstack/spec@3.0.1
263
- - @objectstack/core@3.0.1
264
-
265
- ## 3.0.0
266
-
267
- ### Major Changes
268
-
269
- - Release v3.0.0 — unified version bump for all ObjectStack packages.
270
-
271
- ### Patch Changes
272
-
273
- - Updated dependencies
274
- - @objectstack/spec@3.0.0
275
- - @objectstack/core@3.0.0
276
-
277
- ## 2.0.7
278
-
279
- ### Patch Changes
280
-
281
- - Updated dependencies
282
- - @objectstack/spec@2.0.7
283
- - @objectstack/core@2.0.7
284
-
285
- ## 2.0.6
286
-
287
- ### Patch Changes
288
-
289
- - Patch release for maintenance and stability improvements
290
- - Updated dependencies
291
- - @objectstack/spec@2.0.6
292
- - @objectstack/core@2.0.6
293
-
294
- ## 2.0.5
295
-
296
- ### Patch Changes
297
-
298
- - Updated dependencies
299
- - @objectstack/spec@2.0.5
300
- - @objectstack/core@2.0.5
301
-
302
- ## 2.0.4
303
-
304
- ### Patch Changes
305
-
306
- - Patch release for maintenance and stability improvements
307
- - Updated dependencies
308
- - @objectstack/spec@2.0.4
309
- - @objectstack/core@2.0.4
310
-
311
- ## 2.0.3
312
-
313
- ### Patch Changes
314
-
315
- - Patch release for maintenance and stability improvements
316
- - Updated dependencies
317
- - @objectstack/spec@2.0.3
318
- - @objectstack/core@2.0.3
319
-
320
- ## 2.0.2
321
-
322
- ### Patch Changes
323
-
324
- - Updated dependencies [1db8559]
325
- - @objectstack/spec@2.0.2
326
- - @objectstack/core@2.0.2
327
-
328
- ## 2.0.1
329
-
330
- ### Patch Changes
331
-
332
- - Patch release for maintenance and stability improvements
333
- - Updated dependencies
334
- - @objectstack/spec@2.0.1
335
- - @objectstack/core@2.0.1
336
-
337
- ## 2.0.0
338
-
339
- ### Patch Changes
340
-
341
- - Updated dependencies [38e5dd5]
342
- - Updated dependencies [38e5dd5]
343
- - @objectstack/spec@2.0.0
344
- - @objectstack/core@2.0.0
345
-
346
- ## 1.0.12
347
-
348
- ### Patch Changes
349
-
350
- - chore: add Vercel deployment configs, simplify console runtime configuration
351
- - Updated dependencies
352
- - @objectstack/spec@1.0.12
353
- - @objectstack/core@1.0.12
354
-
355
- ## 1.0.11
356
-
357
- ### Patch Changes
358
-
359
- - @objectstack/spec@1.0.11
360
- - @objectstack/core@1.0.11
361
-
362
- ## 1.0.10
363
-
364
- ### Patch Changes
365
-
366
- - Updated dependencies [10f52e1]
367
- - @objectstack/core@1.0.10
368
- - @objectstack/spec@1.0.10
369
-
370
- ## 1.0.9
371
-
372
- ### Patch Changes
373
-
374
- - @objectstack/spec@1.0.9
375
- - @objectstack/core@1.0.9
376
-
377
- ## 1.0.8
378
-
379
- ### Patch Changes
380
-
381
- - @objectstack/spec@1.0.8
382
- - @objectstack/core@1.0.8
383
-
384
- ## 1.0.7
385
-
386
- ### Patch Changes
387
-
388
- - ebdf787: feat: implement standard service discovery via `/.well-known/objectstack`
389
- - @objectstack/spec@1.0.7
390
- - @objectstack/core@1.0.7
391
-
392
- ## 1.0.6
393
-
394
- ### Patch Changes
395
-
396
- - Updated dependencies [a7f7b9d]
397
- - @objectstack/spec@1.0.6
398
- - @objectstack/core@1.0.6
399
-
400
- ## 1.0.5
401
-
402
- ### Patch Changes
403
-
404
- - b1d24bd: refactor: migrate build system from tsc to tsup for faster builds
405
- - Replaced `tsc` with `tsup` (using esbuild) across all packages
406
- - Added shared `tsup.config.ts` in workspace root
407
- - Added `tsup` as workspace dev dependency
408
- - significantly improved build performance
409
- - Updated dependencies [b1d24bd]
410
- - @objectstack/core@1.0.5
411
- - @objectstack/spec@1.0.5
412
-
413
- ## 1.0.4
414
-
415
- ### Patch Changes
416
-
417
- - @objectstack/spec@1.0.4
418
- - @objectstack/core@1.0.4
419
-
420
- ## 1.0.3
421
-
422
- ### Patch Changes
423
-
424
- - Updated dependencies [fb2eabd]
425
- - @objectstack/core@1.0.3
426
- - @objectstack/spec@1.0.3
427
-
428
- ## 1.0.2
429
-
430
- ### Patch Changes
431
-
432
- - a0a6c85: Infrastructure and development tooling improvements
433
-
434
- - Add changeset configuration for automated version management
435
- - Add comprehensive GitHub Actions workflows (CI, CodeQL, linting, releases)
436
- - Add development configuration files (.cursorrules, .github/prompts)
437
- - Add documentation files (ARCHITECTURE.md, CONTRIBUTING.md, workflows docs)
438
- - Update test script configuration in package.json
439
- - Add @objectstack/cli to devDependencies for better development experience
440
-
441
- - 109fc5b: Unified patch release to align all package versions.
442
- - Updated dependencies [a0a6c85]
443
- - Updated dependencies [109fc5b]
444
- - @objectstack/spec@1.0.2
445
- - @objectstack/core@1.0.2
446
-
447
- ## 1.0.1
448
-
449
- ### Patch Changes
450
-
451
- - @objectstack/spec@1.0.1
452
- - @objectstack/core@1.0.1
453
-
454
- ## 1.0.0
455
-
456
- ### Major Changes
457
-
458
- - Major version release for ObjectStack Protocol v1.0.
459
- - Stabilized Protocol Definitions
460
- - Enhanced Runtime Plugin Support
461
- - Fixed Type Compliance across Monorepo
462
-
463
- ### Patch Changes
464
-
465
- - Updated dependencies
466
- - @objectstack/spec@1.0.0
467
- - @objectstack/core@1.0.0
468
-
469
- ## 0.9.2
470
-
471
- ### Patch Changes
472
-
473
- - Updated dependencies
474
- - @objectstack/spec@0.9.2
475
- - @objectstack/core@0.9.2
476
-
477
- ## 0.9.1
478
-
479
- ### Patch Changes
480
-
481
- - Patch release for maintenance and stability improvements. All packages updated with unified versioning.
482
- - Updated dependencies
483
- - @objectstack/spec@0.9.1
484
- - @objectstack/core@0.9.1
485
-
486
- ## 0.8.2
487
-
488
- ### Patch Changes
489
-
490
- - Updated dependencies [555e6a7]
491
- - @objectstack/spec@0.8.2
492
- - @objectstack/core@0.8.2
493
-
494
- ## 0.8.1
495
-
496
- ### Patch Changes
497
-
498
- - @objectstack/spec@0.8.1
499
- - @objectstack/core@0.8.1
500
-
501
- ## 1.0.0
502
-
503
- ### Minor Changes
504
-
505
- - # Upgrade to Zod v4 and Protocol Improvements
506
-
507
- This release includes a major upgrade to the core validation engine (Zod v4) and aligns all protocol definitions with stricter type safety.
508
-
509
- ### Patch Changes
510
-
511
- - Updated dependencies
512
- - @objectstack/spec@1.0.0
513
- - @objectstack/core@1.0.0
514
-
515
- ## 0.7.2
516
-
517
- ### Patch Changes
518
-
519
- - fb41cc0: Patch release: Updated documentation and JSON schemas
520
- - Updated dependencies [fb41cc0]
521
- - @objectstack/spec@0.7.2
522
- - @objectstack/core@0.7.2
523
-
524
- ## 0.7.1
525
-
526
- ### Patch Changes
527
-
528
- - Patch release for maintenance and stability improvements
529
- - Updated dependencies
530
- - @objectstack/spec@0.7.1
531
- - @objectstack/core@0.7.1
532
-
533
- ## 0.6.1
534
-
535
- ### Patch Changes
536
-
537
- - Patch release for maintenance and stability improvements
538
- - Updated dependencies
539
- - @objectstack/spec@0.6.1
540
-
541
- ## 0.6.0
542
-
543
- ### Minor Changes
544
-
545
- - b2df5f7: Unified version bump to 0.5.0
546
-
547
- - Standardized all package versions to 0.5.0 across the monorepo
548
- - Fixed driver-memory package.json paths for proper module resolution
549
- - Ensured all packages are in sync for the 0.5.0 release
550
-
551
- ### Patch Changes
552
-
553
- - Updated dependencies [b2df5f7]
554
- - @objectstack/spec@0.6.0
555
-
556
- ## 0.4.2
557
-
558
- ### Patch Changes
559
-
560
- - Unify all package versions to 0.4.2
561
- - Updated dependencies
562
- - @objectstack/spec@0.4.2
563
-
564
- ## 0.4.1
565
-
566
- ### Patch Changes
567
-
568
- - Version synchronization and dependency updates
569
-
570
- - Synchronized plugin-msw version to 0.4.1
571
- - Updated runtime peer dependency versions to ^0.4.1
572
- - Fixed internal dependency version mismatches
573
-
574
- - Updated dependencies
575
- - @objectstack/spec@0.4.1
576
-
577
- ## 0.4.0
578
-
579
- ### Minor Changes
580
-
581
- - Release version 0.4.0
582
-
583
- ## 0.3.3
584
-
585
- ### Patch Changes
586
-
587
- - Workflow and configuration improvements
588
-
589
- - Enhanced GitHub workflows for CI, release, and PR automation
590
- - Added comprehensive prompt templates for different protocol areas
591
- - Improved project documentation and automation guides
592
- - Updated changeset configuration
593
- - Added cursor rules for better development experience
594
-
595
- - Updated dependencies
596
- - @objectstack/spec@0.3.3
597
-
598
- ## 0.3.2
599
-
600
- ### Patch Changes
601
-
602
- - Patch release for maintenance and stability improvements
603
- - Updated dependencies
604
- - @objectstack/spec@0.3.2
605
-
606
- ## 0.3.1
607
-
608
- ### Patch Changes
609
-
610
- - @objectstack/spec@0.3.1
611
-
612
- ## 0.3.0
613
-
614
- ### Patch Changes
615
-
616
- - Updated dependencies
617
- - @objectstack/spec@1.0.0
618
-
619
- ## 0.2.0
620
-
621
- ### Minor Changes
622
-
623
- - Initial release of ObjectStack Protocol & Specification packages
624
-
625
- This is the first public release of the ObjectStack ecosystem, providing:
626
-
627
- - Core protocol definitions and TypeScript types
628
- - ObjectQL query language and runtime
629
- - Memory driver for in-memory data storage
630
- - Client library for interacting with ObjectStack
631
- - Hono server plugin for REST API endpoints
632
- - Complete JSON schema generation for all specifications
633
-
634
- ### Patch Changes
635
-
636
- - Updated dependencies
637
- - @objectstack/spec@0.2.0
638
-
639
- ## 0.1.1
640
-
641
- ### Patch Changes
642
-
643
- - Remove debug logs from registry and protocol modules
644
- - Updated dependencies
645
- - @objectstack/spec@0.1.2