qora_devtools_shared 0.2.0
qora_devtools_shared: ^0.2.0 copied to clipboard
Typed events, commands, models, and codecs — the protocol contract shared between qora_devtools_extension, qora_devtools_overlay, and the DevTools UI.
Changelog #
All notable changes to this project will be documented in this file.
[Unreleased] #
0.2.0 - 2026-03-12 #
Added #
QueryEvent.fetchDurationMs— nullableintfield onQueryEvent.fetchedevents carrying the wall-clock duration (milliseconds) between fetch-started and fetch-completed;nullwhen timing data is unavailable (e.g. legacy trackers or events replayed from the ring buffer without a recorded start time).
0.1.0 - 2026-02-28 #
Added #
-
TimelineEventTypeenum withdisplayNamegetter and 8 variants (optimisticUpdate, mutationStarted/Success/Error, fetchStarted/Error, queryCreated, cacheCleared) -
TimelineEvent— immutable record withtype,key?,mutationId?,timestampfields; used byOverlayTrackerring buffer -
Initial implementation of the shared DevTools protocol package.
-
Added typed events:
QoraEventbase contract withGenericQoraEventfallback.QueryEventwith lifecycle variants and lazy-payload metadata.MutationEventwith started/settled lifecycle helpers.
-
Added command contracts:
QoraCommandbase interface.RefetchCommand,InvalidateCommand.RollbackOptimisticCommand,GetCacheSnapshotCommand,GetPayloadChunkCommand.
-
Added protocol codecs:
EventCodecfor robust event decoding/encoding.CommandCodecwith support for both short and fully-qualified extension methods.
-
Added snapshot DTOs:
QuerySnapshot,MutationSnapshot,CacheSnapshot.
-
Added centralized protocol constants:
- VM extension methods (
ext.qora.*) and extension event names.
- VM extension methods (
-
Updated package barrel exports for commands, codecs, events, models, and protocol constants.
-
Added unit tests covering:
- Event decoding,
- Command decoding,
- Snapshot serialization roundtrip.