@sylwellsoftware/glue 0.8.1 → 0.9.1

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 ADDED
@@ -0,0 +1,99 @@
1
+ # Glue changelog
2
+
3
+ All notable changes to `@sylwellsoftware/glue` are documented here. The format
4
+ follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and Semantic
5
+ Versioning.
6
+
7
+ ## Unreleased
8
+
9
+ ## 0.9.1 - 2026-09-08
10
+
11
+ ### Fixed
12
+
13
+ - Published npm packages now include this changelog alongside their release
14
+ history.
15
+
16
+ ## 0.9.0 - 2026-09-08
17
+
18
+ ### Added
19
+
20
+ - Added `LiveQuery` `execution` policies for immediate loading, one-way deferred
21
+ activation, and permanently explicit refreshes, plus idempotent
22
+ `LiveQuery.activate()` and endpoint option propagation.
23
+
24
+ ### Changed
25
+
26
+ - Deferred queries now suppress argument subscriptions and polling until
27
+ activation. Existing `autoFetch` behavior remains compatible and is
28
+ mutually exclusive with the named policy.
29
+
30
+ ## 0.8.1 - 2026-09-07
31
+
32
+ ### Changed
33
+
34
+ - Reworked the package guide around current emitter, query, endpoint, command,
35
+ diagnostic, ownership, and complete package-root export contracts.
36
+ - Restored the framework overview's design rationale for keeping application
37
+ relationships direct instead of maintaining a framework-shaped copy of
38
+ application state, including the intent behind the Glue name.
39
+
40
+ ## 0.8.0 - 2026-09-06
41
+
42
+ ### Added
43
+
44
+ - Exported `NonEmptyArray<T>` for public APIs that require one or more values.
45
+
46
+ ### Changed
47
+
48
+ - Enabled strict TypeScript compiler checking.
49
+
50
+ ## 0.7.0 - 2026-09-04
51
+
52
+ - No public Glue API changes; version synchronized with the framework release.
53
+
54
+ ## 0.6.0 - 2026-09-04
55
+
56
+ - No public Glue API changes; version synchronized with the framework release.
57
+
58
+ ## 0.5.0 - 2026-09-03
59
+
60
+ - No public Glue API changes; version synchronized with the framework release.
61
+
62
+ ## 0.4.0 - 2026-09-03
63
+
64
+ ### Added
65
+
66
+ - Immutable `QueryEndpoint`, `RestEndpoint`, and `DerivedEndpoint`
67
+ declarations with shared `LiveResult` contracts and caller-owned instances.
68
+ - Opt-in `LiveQuery` polling with reactive controls, overlap prevention,
69
+ injectable scheduling, and deterministic cleanup.
70
+ - Optional `RestQueryHandler.parseResult` response validation after JSON
71
+ parsing.
72
+
73
+ ### Changed
74
+
75
+ - `LiveQuery` now exposes explicit `abort()` without disposing the query.
76
+ - Application services can declare reusable remote and offline-filtered
77
+ endpoints without a Glue registry, cache, or dependency-injection system.
78
+ - Command-triggered query reconciliation is application-owned; refreshed query
79
+ failures do not alter the settled command state.
80
+
81
+ ## 0.3.0 - 2026-09-03
82
+
83
+ - No public Glue API changes; version synchronized with the framework release.
84
+
85
+ ## 0.2.0 - 2026-09-03
86
+
87
+ - No public Glue API changes; version synchronized with the framework release.
88
+
89
+ ## 0.1.0-alpha.1 - 2026-09-02
90
+
91
+ ### Added
92
+
93
+ - Initial public packaging with strict TypeScript declarations, ESM exports,
94
+ generic caller-supplied scenario adapters, deterministic artifact checks, and
95
+ standalone verification.
96
+
97
+ ### Changed
98
+
99
+ - Glue became the external peer dependency used by Fray.
package/README.md CHANGED
@@ -200,11 +200,40 @@ const handler = new RestQueryHandler({
200
200
  const users = new LiveQuery({handler, args: {search}})
201
201
  ```
202
202
 
203
- Arguments are a named record of emitters. Construction fetches immediately
204
- unless `autoFetch: false`; `refresh()` and `retry()` return the active request
205
- promise. A newer request aborts and supersedes the older request, and stale
206
- results cannot overwrite current state. `abort()` cancels without disposing;
207
- `dispose()` aborts the active request and releases argument subscriptions.
203
+ Arguments are a named record of emitters. By default construction fetches
204
+ immediately and later argument changes refresh. The named `execution` policy
205
+ makes other timing explicit:
206
+
207
+ | Policy | Initial behavior | Later behavior |
208
+ | --- | --- | --- |
209
+ | `immediate` | Fetch immediately. | Arguments and configured polling refresh automatically. |
210
+ | `deferred` | Stay `FetchState.Initial` with no argument subscriptions, request, or poll until `activate()` (or a dormant `refresh()`). | Become an ordinary reactive query after the first activation attempt. |
211
+ | `explicit` | Stay `FetchState.Initial`. | Fetch only through `refresh()`/`retry()`; never react to arguments and reject polling. |
212
+
213
+ ```ts
214
+ const deferredUsers = new LiveQuery({
215
+ handler,
216
+ args: {search},
217
+ execution: 'deferred',
218
+ })
219
+ await deferredUsers.activate('users view mounted')
220
+ ```
221
+
222
+ Deferred activation is one-way, idempotent, and independent of whether the
223
+ first request succeeds. Concurrent activators share the first request, which
224
+ uses the current argument values. Subscribing to the query does not activate
225
+ it. A later `activate()` does not reload; use `refresh()` for an intentional
226
+ reload.
227
+
228
+ `autoFetch: false` remains a compatibility option with its historical narrow
229
+ meaning: it skips only the constructor request while argument and polling
230
+ triggers are already live. It cannot be combined with `execution`; new code
231
+ should choose a named policy.
232
+
233
+ `refresh()` and `retry()` return the active request promise. A newer request
234
+ aborts and supersedes the older request, and stale results cannot overwrite
235
+ current state. `abort()` cancels without disposing; `dispose()` aborts the
236
+ active request and releases argument/polling subscriptions.
208
237
 
209
238
  By default the last successful value remains visible while refreshing and after
210
239
  a refresh error. Set `keepPreviousValue: false` to clear it while loading or in
@@ -247,7 +276,8 @@ application chooses and constructs its service scope. Fray applications may
247
276
  expose those services through Fray's typed runtime `ServiceScope`; non-Fray
248
277
  applications use their own explicit composition. Every `open()` call creates a
249
278
  caller-owned result with independent arguments, request state, polling, and
250
- disposal.
279
+ disposal. Endpoint `query` defaults and per-`open()` options accept the same
280
+ `execution` policy as `LiveQuery`.
251
281
 
252
282
  ```ts
253
283
  import {DerivedEndpoint, RestEndpoint} from '@sylwellsoftware/glue'
@@ -16,9 +16,19 @@ export interface LiveQueryPollingOptions {
16
16
  enabled?: boolean | ReadableEmitter<boolean, unknown>;
17
17
  scheduler?: PollingScheduler;
18
18
  }
19
+ export type LiveQueryExecution = 'immediate' | 'deferred' | 'explicit';
19
20
  export interface LiveQueryOptions<TResult, TArguments extends QueryArgumentEmitters> {
20
21
  handler: QueryHandlerLike<QueryArgumentValues<TArguments>, TResult>;
21
22
  args?: TArguments;
23
+ /**
24
+ * Controls whether this query starts live, becomes live on first activation,
25
+ * or executes only through explicit refresh/retry calls.
26
+ */
27
+ execution?: LiveQueryExecution;
28
+ /**
29
+ * Compatibility option that suppresses only the initial fetch. Prefer
30
+ * execution for new code; the two options are mutually exclusive.
31
+ */
22
32
  autoFetch?: boolean;
23
33
  keepPreviousValue?: boolean;
24
34
  polling?: LiveQueryPollingOptions;
@@ -31,8 +41,11 @@ export declare class LiveQuery<TResult, TArguments extends QueryArgumentEmitters
31
41
  readonly handler: QueryHandlerLike<QueryArgumentValues<TArguments>, TResult>;
32
42
  readonly args: TArguments;
33
43
  readonly keepPreviousValue: boolean;
44
+ private readonly execution;
34
45
  private lastSuccessfulValue;
35
46
  private hasSuccessfulValue;
47
+ private automaticTriggersInitialized;
48
+ private activated;
36
49
  private argumentUnsubscribers;
37
50
  private pollingUnsubscribers;
38
51
  private readonly polling;
@@ -44,10 +57,17 @@ export declare class LiveQuery<TResult, TArguments extends QueryArgumentEmitters
44
57
  _activeRequest: Promise<TResult | undefined> | null;
45
58
  constructor(options: LiveQueryOptions<TResult, TArguments>);
46
59
  get argumentValues(): QueryArgumentValues<TArguments>;
60
+ /**
61
+ * Activates a deferred query exactly once. Concurrent callers share the
62
+ * first request; later calls return the current value without reloading.
63
+ */
64
+ activate(eventOrCause?: EventBubble<unknown> | unknown): Promise<TResult | undefined>;
47
65
  refresh(eventOrCause?: EventBubble<unknown> | unknown): Promise<TResult | undefined>;
66
+ private executeRequest;
48
67
  retry(eventOrCause?: EventBubble<unknown> | unknown): Promise<TResult | undefined>;
49
68
  abort(eventOrCause?: EventBubble<unknown> | unknown): void;
50
69
  dispose(): void;
70
+ private initializeAutomaticTriggers;
51
71
  private initializePolling;
52
72
  private scheduleNextPoll;
53
73
  private cancelScheduledPoll;
@@ -1 +1 @@
1
- {"version":3,"file":"liveQuery.d.ts","sourceRoot":"","sources":["../../src/emitters/liveQuery.ts"],"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C1B,OAAO,CAAC,qBAAqB,CAAwB;IACrD,OAAO,CAAC,oBAAoB,CAAwB;IACpD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAqC;IAC7D,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAkB;IACnD,OAAO,CAAC,aAAa,CAAgB;IACrC,OAAO,CAAC,SAAS,CAAI;IACrB,OAAO,CAAC,eAAe,CAAmC;IAC1D,+EAA+E;IAC/E,cAAc,EAAE,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,GAAG,IAAI,CAAO;gBAE9C,OAAO,EAAE,gBAAgB,CAAC,OAAO,EAAE,UAAU,CAAC;IA+C1D,IAAI,cAAc,IAAI,mBAAmB,CAAC,UAAU,CAAC,CAIpD;IAED;;;OAGG;IACH,QAAQ,CAAC,YAAY,GAAE,WAAW,CAAC,OAAO,CAAC,GAAG,OAA2B,GACzE,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC;IAgB5B,OAAO,CAAC,YAAY,GAAE,WAAW,CAAC,OAAO,CAAC,GAAG,OAAmB,GAAG,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC;IAM/F,OAAO,CAAC,cAAc;IAgEtB,KAAK,CAAC,YAAY,GAAE,WAAW,CAAC,OAAO,CAAC,GAAG,OAAiB,GAAG,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC;IAI3F,KAAK,CAAC,YAAY,GAAE,WAAW,CAAC,OAAO,CAAC,GAAG,OAAyB,GAAG,IAAI;IAgBlE,OAAO,IAAI,IAAI;IAcxB,OAAO,CAAC,2BAA2B;IAWnC,OAAO,CAAC,iBAAiB;IAYzB,OAAO,CAAC,gBAAgB;IAexB,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,gBAAgB;CAM3B"}
package/dist/index.d.ts CHANGED
@@ -8,7 +8,7 @@ export { Emitter } from './emitters/emitter.js';
8
8
  export { AsyncCommand, AsyncCommandConcurrencyError } from './commands/asyncCommand.js';
9
9
  export type { AsyncCommandConcurrency, AsyncCommandContext, AsyncCommandExecutor, AsyncCommandOptions, } from './commands/asyncCommand.js';
10
10
  export { LiveQuery } from './emitters/liveQuery.js';
11
- export type { LiveQueryPollingOptions, LiveQueryOptions, PollingScheduler, QueryArgumentEmitters, QueryArgumentValues, } from './emitters/liveQuery.js';
11
+ export type { LiveQueryExecution, LiveQueryPollingOptions, LiveQueryOptions, PollingScheduler, QueryArgumentEmitters, QueryArgumentValues, } from './emitters/liveQuery.js';
12
12
  export type { LiveResult, RefreshableLiveResult } from './emitters/liveResult.js';
13
13
  export { combineFetchStates, FetchState, FetchStateValues } from './enums/fetchState.js';
14
14
  export type { FetchStateValue } from './enums/fetchState.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,4BAA4B,CAAA;AACtD,YAAY,EAAC,YAAY,EAAC,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAC,QAAQ,EAAC,MAAM,yBAAyB,CAAA;AAChD,YAAY,EAAC,WAAW,EAAE,aAAa,EAAC,MAAM,yBAAyB,CAAA;AAEvE,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,2BAA2B,CAAA;AACrE,YAAY,EACR,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,mBAAmB,EACnB,cAAc,EACd,YAAY,EACZ,aAAa,EACb,UAAU,EACV,eAAe,EACf,cAAc,EACd,gBAAgB,GACnB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAC,OAAO,EAAC,MAAM,uBAAuB,CAAA;AAC7C,OAAO,EAAC,YAAY,EAAE,4BAA4B,EAAC,MAAM,4BAA4B,CAAA;AACrF,YAAY,EACR,uBAAuB,EACvB,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,GACtB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAC,SAAS,EAAC,MAAM,yBAAyB,CAAA;AACjD,YAAY,EACR,uBAAuB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