Skip to content

Commit 1e0362b

Browse files
Copilothotlong
andcommitted
Fix CI tests and update CHANGELOG descriptions for patch release
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 6b01250 commit 1e0362b

File tree

8 files changed

+109
-100
lines changed

8 files changed

+109
-100
lines changed

packages/client/CHANGELOG.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,6 @@
44

55
### Patch Changes
66

7-
- Initial release of ObjectStack Protocol & Specification packages
8-
9-
- Complete protocol specifications with Zod schemas
10-
- Core runtime and query engine
11-
- Client SDK
12-
- Memory driver implementation
13-
- Hono server plugin
14-
- Comprehensive documentation
15-
- Remove debug logs from registry and protocol modules
16-
7+
- Remove debug logs from registry and protocol modules
178
- Updated dependencies
189
- @objectstack/spec@0.1.2

packages/driver-memory/CHANGELOG.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,6 @@
44

55
### Patch Changes
66

7-
- Initial release of ObjectStack Protocol & Specification packages
8-
9-
- Complete protocol specifications with Zod schemas
10-
- Core runtime and query engine
11-
- Client SDK
12-
- Memory driver implementation
13-
- Hono server plugin
14-
- Comprehensive documentation
15-
- Remove debug logs from registry and protocol modules
16-
7+
- Remove debug logs from registry and protocol modules
178
- Updated dependencies
189
- @objectstack/spec@0.1.2

packages/objectql/CHANGELOG.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,6 @@
44

55
### Patch Changes
66

7-
- Initial release of ObjectStack Protocol & Specification packages
8-
9-
- Complete protocol specifications with Zod schemas
10-
- Core runtime and query engine
11-
- Client SDK
12-
- Memory driver implementation
13-
- Hono server plugin
14-
- Comprehensive documentation
15-
- Remove debug logs from registry and protocol modules
16-
7+
- Remove debug logs from registry and protocol modules
178
- Updated dependencies
189
- @objectstack/spec@0.1.2

packages/plugin-hono-server/CHANGELOG.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,7 @@
44

55
### Patch Changes
66

7-
- Initial release of ObjectStack Protocol & Specification packages
8-
9-
- Complete protocol specifications with Zod schemas
10-
- Core runtime and query engine
11-
- Client SDK
12-
- Memory driver implementation
13-
- Hono server plugin
14-
- Comprehensive documentation
15-
- Remove debug logs from registry and protocol modules
16-
7+
- Remove debug logs from registry and protocol modules
178
- Updated dependencies
189
- @objectstack/spec@0.1.2
1910
- @objectstack/runtime@0.1.1

packages/runtime/CHANGELOG.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,7 @@
44

55
### Patch Changes
66

7-
- Initial release of ObjectStack Protocol & Specification packages
8-
9-
- Complete protocol specifications with Zod schemas
10-
- Core runtime and query engine
11-
- Client SDK
12-
- Memory driver implementation
13-
- Hono server plugin
14-
- Comprehensive documentation
15-
- Remove debug logs from registry and protocol modules
16-
7+
- Remove debug logs from registry and protocol modules
178
- Updated dependencies
189
- @objectstack/spec@0.1.2
1910
- @objectstack/objectql@0.1.1

packages/spec/CHANGELOG.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,7 @@
44

55
### Patch Changes
66

7-
- Initial release of ObjectStack Protocol & Specification packages
8-
9-
- Complete protocol specifications with Zod schemas
10-
- Core runtime and query engine
11-
- Client SDK
12-
- Memory driver implementation
13-
- Hono server plugin
14-
- Comprehensive documentation
15-
- Remove debug logs from registry and protocol modules
7+
- Remove debug logs from registry and protocol modules
168

179
## 0.1.1
1810

packages/spec/src/system/driver.test.ts

Lines changed: 102 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,22 @@ describe('DriverInterfaceSchema', () => {
5959
const driver = {
6060
name: 'postgresql',
6161
version: '1.0.0',
62+
connect: async () => {},
63+
disconnect: async () => {},
64+
checkHealth: async () => true,
65+
execute: async () => ({}),
6266
find: async () => [],
6367
findOne: async () => null,
6468
create: async () => ({}),
6569
update: async () => ({}),
66-
delete: async () => ({}),
70+
delete: async () => true,
71+
count: async () => 0,
6772
bulkCreate: async () => [],
6873
bulkUpdate: async () => [],
69-
bulkDelete: async () => ({}),
74+
bulkDelete: async () => {},
75+
beginTransaction: async () => ({}),
76+
commit: async () => {},
77+
rollback: async () => {},
7078
syncSchema: async () => {},
7179
dropTable: async () => {},
7280
supports: {
@@ -86,14 +94,22 @@ describe('DriverInterfaceSchema', () => {
8694
const baseDriver = {
8795
name: 'test-driver',
8896
version: '1.0.0',
97+
connect: async () => {},
98+
disconnect: async () => {},
99+
checkHealth: async () => true,
100+
execute: async () => ({}),
89101
find: async (object: string, query: any) => [],
90-
findOne: async (object: string, id: any) => null,
102+
findOne: async (object: string, query: any) => null,
91103
create: async (object: string, data: any) => data,
92104
update: async (object: string, id: any, data: any) => data,
93-
delete: async (object: string, id: any) => ({ deleted: true }),
105+
delete: async (object: string, id: any) => true,
106+
count: async () => 0,
94107
bulkCreate: async (object: string, data: any[]) => data,
95108
bulkUpdate: async (object: string, updates: any[]) => updates,
96-
bulkDelete: async (object: string, ids: any[]) => ({ deleted: ids.length }),
109+
bulkDelete: async (object: string, ids: any[]) => {},
110+
beginTransaction: async () => ({}),
111+
commit: async () => {},
112+
rollback: async () => {},
97113
syncSchema: async (object: string, schema: any) => {},
98114
dropTable: async (object: string) => {},
99115
supports: {
@@ -176,14 +192,22 @@ describe('DriverInterfaceSchema', () => {
176192
const baseDriver = {
177193
name: 'test-driver',
178194
version: '1.0.0',
195+
connect: async () => {},
196+
disconnect: async () => {},
197+
checkHealth: async () => true,
198+
execute: async () => ({}),
179199
find: async () => [],
180200
findOne: async () => null,
181201
create: async () => ({}),
182202
update: async () => ({}),
183-
delete: async () => ({}),
203+
delete: async () => true,
204+
count: async () => 0,
184205
bulkCreate: async () => [],
185206
bulkUpdate: async () => [],
186-
bulkDelete: async () => ({}),
207+
bulkDelete: async () => {},
208+
beginTransaction: async () => ({}),
209+
commit: async () => {},
210+
rollback: async () => {},
187211
syncSchema: async () => {},
188212
dropTable: async () => {},
189213
supports: {
@@ -241,14 +265,22 @@ describe('DriverInterfaceSchema', () => {
241265
const baseDriver = {
242266
name: 'test-driver',
243267
version: '1.0.0',
268+
connect: async () => {},
269+
disconnect: async () => {},
270+
checkHealth: async () => true,
271+
execute: async () => ({}),
244272
find: async () => [],
245273
findOne: async () => null,
246274
create: async () => ({}),
247275
update: async () => ({}),
248-
delete: async () => ({}),
276+
delete: async () => true,
277+
count: async () => 0,
249278
bulkCreate: async () => [],
250279
bulkUpdate: async () => [],
251-
bulkDelete: async () => ({}),
280+
bulkDelete: async () => {},
281+
beginTransaction: async () => ({}),
282+
commit: async () => {},
283+
rollback: async () => {},
252284
syncSchema: async () => {},
253285
dropTable: async () => {},
254286
supports: {
@@ -289,14 +321,22 @@ describe('DriverInterfaceSchema', () => {
289321
const driver = {
290322
name: 'simple-driver',
291323
version: '1.0.0',
324+
connect: async () => {},
325+
disconnect: async () => {},
326+
checkHealth: async () => true,
327+
execute: async () => ({}),
292328
find: async () => [],
293329
findOne: async () => null,
294330
create: async () => ({}),
295331
update: async () => ({}),
296-
delete: async () => ({}),
332+
delete: async () => true,
333+
count: async () => 0,
297334
bulkCreate: async () => [],
298335
bulkUpdate: async () => [],
299-
bulkDelete: async () => ({}),
336+
bulkDelete: async () => {},
337+
beginTransaction: async () => ({}),
338+
commit: async () => {},
339+
rollback: async () => {},
300340
syncSchema: async () => {},
301341
dropTable: async () => {},
302342
supports: {
@@ -315,19 +355,24 @@ describe('DriverInterfaceSchema', () => {
315355
const driver = {
316356
name: 'transactional-driver',
317357
version: '1.0.0',
358+
connect: async () => {},
359+
disconnect: async () => {},
360+
checkHealth: async () => true,
361+
execute: async () => ({}),
318362
find: async () => [],
319363
findOne: async () => null,
320364
create: async () => ({}),
321365
update: async () => ({}),
322-
delete: async () => ({}),
366+
delete: async () => true,
367+
count: async () => 0,
323368
bulkCreate: async () => [],
324369
bulkUpdate: async () => [],
325-
bulkDelete: async () => ({}),
326-
syncSchema: async () => {},
327-
dropTable: async () => {},
370+
bulkDelete: async () => {},
328371
beginTransaction: async () => ({ id: 'tx-123' }),
329372
commit: async (tx: any) => {},
330373
rollback: async (tx: any) => {},
374+
syncSchema: async () => {},
375+
dropTable: async () => {},
331376
supports: {
332377
transactions: true,
333378
joins: true,
@@ -346,19 +391,24 @@ describe('DriverInterfaceSchema', () => {
346391
const postgresDriver: DriverInterface = {
347392
name: 'postgresql',
348393
version: '1.0.0',
394+
connect: async () => {},
395+
disconnect: async () => {},
396+
checkHealth: async () => true,
397+
execute: async () => ({}),
349398
find: async (object, query) => [],
350-
findOne: async (object, id) => null,
399+
findOne: async (object, query) => null,
351400
create: async (object, data) => data,
352401
update: async (object, id, data) => data,
353-
delete: async (object, id) => ({}),
402+
delete: async (object, id) => true,
403+
count: async () => 0,
354404
bulkCreate: async (object, data) => data,
355405
bulkUpdate: async (object, updates) => updates,
356-
bulkDelete: async (object, ids) => ({}),
357-
syncSchema: async (object, schema) => {},
358-
dropTable: async (object) => {},
406+
bulkDelete: async (object, ids) => {},
359407
beginTransaction: async () => ({}),
360408
commit: async (tx) => {},
361409
rollback: async (tx) => {},
410+
syncSchema: async (object, schema) => {},
411+
dropTable: async (object) => {},
362412
supports: {
363413
transactions: true,
364414
joins: true,
@@ -375,19 +425,24 @@ describe('DriverInterfaceSchema', () => {
375425
const mongoDriver: DriverInterface = {
376426
name: 'mongodb',
377427
version: '1.0.0',
428+
connect: async () => {},
429+
disconnect: async () => {},
430+
checkHealth: async () => true,
431+
execute: async () => ({}),
378432
find: async (object, query) => [],
379-
findOne: async (object, id) => null,
433+
findOne: async (object, query) => null,
380434
create: async (object, data) => data,
381435
update: async (object, id, data) => data,
382-
delete: async (object, id) => ({}),
436+
delete: async (object, id) => true,
437+
count: async () => 0,
383438
bulkCreate: async (object, data) => data,
384439
bulkUpdate: async (object, updates) => updates,
385-
bulkDelete: async (object, ids) => ({}),
386-
syncSchema: async (object, schema) => {},
387-
dropTable: async (object) => {},
440+
bulkDelete: async (object, ids) => {},
388441
beginTransaction: async () => ({}),
389442
commit: async (tx) => {},
390443
rollback: async (tx) => {},
444+
syncSchema: async (object, schema) => {},
445+
dropTable: async (object) => {},
391446
supports: {
392447
transactions: true,
393448
joins: false, // MongoDB has limited join support
@@ -404,14 +459,22 @@ describe('DriverInterfaceSchema', () => {
404459
const salesforceDriver: DriverInterface = {
405460
name: 'salesforce',
406461
version: '1.0.0',
462+
connect: async () => {},
463+
disconnect: async () => {},
464+
checkHealth: async () => true,
465+
execute: async () => ({}),
407466
find: async (object, query) => [],
408-
findOne: async (object, id) => null,
467+
findOne: async (object, query) => null,
409468
create: async (object, data) => data,
410469
update: async (object, id, data) => data,
411-
delete: async (object, id) => ({}),
470+
delete: async (object, id) => true,
471+
count: async () => 0,
412472
bulkCreate: async (object, data) => data,
413473
bulkUpdate: async (object, updates) => updates,
414-
bulkDelete: async (object, ids) => ({}),
474+
bulkDelete: async (object, ids) => {},
475+
beginTransaction: async () => ({}),
476+
commit: async (tx) => {},
477+
rollback: async (tx) => {},
415478
syncSchema: async (object, schema) => {},
416479
dropTable: async (object) => {},
417480
supports: {
@@ -430,14 +493,22 @@ describe('DriverInterfaceSchema', () => {
430493
const redisDriver: DriverInterface = {
431494
name: 'redis',
432495
version: '1.0.0',
496+
connect: async () => {},
497+
disconnect: async () => {},
498+
checkHealth: async () => true,
499+
execute: async () => ({}),
433500
find: async (object, query) => [],
434-
findOne: async (object, id) => null,
501+
findOne: async (object, query) => null,
435502
create: async (object, data) => data,
436503
update: async (object, id, data) => data,
437-
delete: async (object, id) => ({}),
504+
delete: async (object, id) => true,
505+
count: async () => 0,
438506
bulkCreate: async (object, data) => data,
439507
bulkUpdate: async (object, updates) => updates,
440-
bulkDelete: async (object, ids) => ({}),
508+
bulkDelete: async (object, ids) => {},
509+
beginTransaction: async () => ({}),
510+
commit: async (tx) => {},
511+
rollback: async (tx) => {},
441512
syncSchema: async (object, schema) => {},
442513
dropTable: async (object) => {},
443514
supports: {

packages/types/CHANGELOG.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,6 @@
44

55
### Patch Changes
66

7-
- Initial release of ObjectStack Protocol & Specification packages
8-
9-
- Complete protocol specifications with Zod schemas
10-
- Core runtime and query engine
11-
- Client SDK
12-
- Memory driver implementation
13-
- Hono server plugin
14-
- Comprehensive documentation
15-
- Remove debug logs from registry and protocol modules
16-
7+
- Remove debug logs from registry and protocol modules
178
- Updated dependencies
189
- @objectstack/spec@0.1.2

0 commit comments

Comments
 (0)