@objectstack/client 4.0.3 → 4.0.5

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