Releases: Cratis/cli
Releases · Cratis/cli
Release v1.3.1
Summary
Renames the Chronicle CLI command path from event-store-subscriptions to subscriptions for consistency and shorter invocation. Updates command registration, completion routing, examples, integration usage, and Chronicle docs to the new path.
Added
- None.
Changed
- Renamed the Chronicle branch command from
event-store-subscriptionstosubscriptionsin CLI registration and command discovery. - Updated dynamic completion keying for subscription removal to match the new command path.
- Updated command examples/help text to use
cratis chronicle subscriptions .... - Updated Chronicle documentation index/table/TOC labels and command invocations to
subscriptions.
# before
cratis chronicle event-store-subscriptions list --event-store system
# after
cratis chronicle subscriptions list --event-store systemFixed
- Updated integration scenario for add/list/remove subscription flow to invoke
chronicle subscriptionsinstead of the old path.
Removed
- Removed remaining runtime references to
event-store-subscriptionscommand invocation paths (except documentation file nameevent-store-subscriptions.md).
Security
- None.
Deprecated
event-store-subscriptionscommand path is superseded bysubscriptions.
Release v1.3.0
Summary
Adds CLI support for Chronicle event store subscriptions by wiring IEventStoreSubscriptions into command surface area and completion. Includes end-to-end integration coverage and Chronicle documentation for the new command group.
Added
- New
chronicle event-store-subscriptionsbranch withlist,add, andremovecommands wired toIServices.EventStoreSubscriptions(#0000) - Command settings for subscription identifier, source event store, and event type input parsing (#0000)
- Integration spec:
for_EventStoreSubscriptions/when_adding_and_removing_event_store_subscription(#0000) - New Chronicle docs page:
Documentation/chronicle/event-store-subscriptions.mdcoveringlist,add, andremoveusage (#0000)
Changed
- Dynamic completion now supports
event-store-subscriptionsidentifiers via_completecontext resolution (#0000) - Chronicle branch registration text now includes event store subscriptions in the top-level command map (#0000)
- Chronicle documentation navigation updated to include Event Store Subscriptions in
Documentation/chronicle/toc.ymlandDocumentation/chronicle/index.md(#0000)
await services.EventStoreSubscriptions.Add(new AddEventStoreSubscriptions
{
TargetEventStore = settings.ResolveEventStore(),
Subscriptions =
[
new EventStoreSubscriptionDefinition
{
Identifier = settings.SubscriptionId,
SourceEventStore = settings.SourceEventStore,
EventTypes = settings.EventTypes
.Split(',', StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries)
.Select(id => new EventType { Id = id })
.ToList()
}
]
});Fixed
- CLI gap where EventStoreSubscriptions contract methods (
GetSubscriptions,Add,Remove) were available in contracts but not exposed through Chronicle commands (#0000)
Removed
- None (#0000)
Security
- None (#0000)
Deprecated
- None (#0000)
Release v1.2.7
No release notes
Release v1.2.6
No release notes
Release v1.2.5
No release notes
Release v1.2.4
No release notes
Release v1.2.3
No release notes
Release v1.2.2
No release notes
Release v1.2.1
No release notes
Release v1.2.0
Added
- PowerShell tab completion —
cratis completions print powershellgenerates a completion script, and the shell installer registers it automatically. read-models listnow includes a Queryable column (Yes/No) showing which read models can be queried via get or instances; JSON output includes a queryable boolean field.diagnosenow checks the NuGet feed for newer Chronicle server versions and surfaces them as a ▲ warning in all output modes (table, plain, JSON, watch).observers shownow appends a warning when the observer state is Disconnected, explaining that no client is currently subscribed.cratis initgains a--refresh-llm-contextflag to update only the LLM context snapshot without reconfiguring AI tool integrations.cratis initnow generates an AI skill file alongside the context snapshot for use as command reference in AI assistants.
Changed
read-models instancesandread-models getJSON output now emits proper nested objects instead of escaped strings.__initializedis removed,__lastHandledEventSequenceNumberis renamed toLastHandledEvent, and unset concept values{}are unwrapped tonull.- Unset namespace in context display now shows Default instead of (not set).
Fixed
read-models instancesno longer surfaces a rawNullReferenceExceptionfor client-owned read models. It now returns a clear message explaining that client-owned models store state in the client application and cannot be retrieved through the Chronicle server.read-models getno longer shows a misleadingNotSupportedExceptionfor client-owned Projection-type read models. The error message now correctly attributes the failure to the model being client-owned.