usecase_forge 0.1.0-dev.5
usecase_forge: ^0.1.0-dev.5 copied to clipboard
A pure Dart command-driven UseCase runtime with typed handlers, scheduling policies, cancellation, snapshots, and bounded history.
Changelog #
0.1.0-dev.5 - 2026-08-08 #
- Updated English and Russian installation guidance to the current package version and removed stale pre-publication language.
- Synchronized the Russian README with the complete English feature, lifecycle, diagnostics, testing, project, and licensing guidance.
0.1.0-dev.4 - 2026-08-08 #
- Replaced relative README links with absolute ArkTelos and GitLab URLs so examples, specifications, policies, license, and attribution remain clickable on pub.dev.
0.1.0-dev.3 - 2026-08-08 #
- Added current ArkTelos package documentation, verified publisher, public contact, security-reporting, and project links to the English and Russian documentation.
0.1.0-dev.2 - 2026-08-05 #
- Removed local path dependency instructions from the English and Russian
READMEs now that
usecase_forgeis available from pub.dev.
0.1.0-dev.1 - 2026-08-05 #
- Added an automatic read-only Dart VM diagnostic bridge for the separate
usecase_forge_devtoolspackage without adding Flutter or package dependencies to core. - Added versioned baseline and live-event diagnostics for registrations, queues, active/finalizing executions, accepted snapshots, rejections, cancellation, terminal history, and command/global error routing.
- Added the opt-in
package:usecase_forge/diagnostics.dartsecondary library; application values stay hidden by default and formatter failures are isolated from lifecycle and error handling. - Added an optional typed
onErrorto exact command registration with explicithandledanduseDefaultdecisions. - Preserved effective stack traces in failed terminal history after business handler and command-error-handler failures.
- Added a runnable command-specific recovery example and deterministic error lifecycle coverage.
- Added the public optional
UseCaseClockboundary for deterministic input policies and execution timestamps without exposing runtime internals. - Removed invocation-level instruction overrides from
UseCase.add; policy configuration now belongs to frozen UseCase defaults and exact-type registrations. - Added lazy one-time default resolution and per-registration reuse of resolved immutable instructions.
- Added automatic expiry cleanup for leading-throttle and sliding rate-limit state without changing lifecycle or terminal history contracts.
- Split the runtime into its own pure Dart package.
- Added deterministic tests for input and processing policies, lifecycle boundaries, hooks, value objects, and replay-latest stream behavior.
- Closed the pre-registry lifecycle gap during
close. - Made
closewait for terminal hooks, history, and the terminal snapshot. - Aligned callback Zone handling, nested pause, error handler validation, and
asFuturewith the documented stream contract. - Kept cancellation signals pending after normal completion and routed late publication errors exactly once.
- Restricted
UseCaseExecutionContextconstruction to the Interactor library. - Added eight standalone pure Dart examples with smoke coverage for scheduling, input policies, cancellation, errors, hooks, and bounded history.
0.0.1 #
- Initial command-driven UseCase runtime.