swissarmyknife 0.1.0
swissarmyknife: ^0.1.0 copied to clipboard
Production-grade Dart utilities with extensions, functional types, async control, validation, HTTP helpers, caching, and app infrastructure.
0.1.0 #
- Added release-grade package metadata, platform declarations, and public documentation links for the v0.1.0 package boundary.
- Added a Jaspr documentation site and GitHub Pages deployment workflow.
- Added CI, tag-triggered GitHub release workflow, and local release verifier covering format, analysis, tests, web compilation, dartdoc, pub dry-run, and site build.
- Added
.pubignoreto keep agent files, release tooling, local wiki source, and site source out of the pub.dev archive. - Made
Envuse conditional platform access so the public barrel import can compile for web whileEnv.load()remains a Dart VM file-loading API. - Added sealed
Result,Option, andEitherfunctional types. - Added immutable
PairandTripletuple types. - Added reusable
Pipe,AsyncPipe,Pipeline, andAsyncPipelinehelpers. - Added sync and async memoization helpers with TTL, LRU, custom keys, and in-flight async sharing.
- Added
Debouncer,Throttler, stream debounce/throttle, andretry. - Added
RateLimitertoken-bucket and sliding-window implementations. - Added typed
EventBus,GlobalEventBus,Disposable, andDisposeBag. - Added typed
StateMachinewith guarded transitions, listeners, history, andResulterrors. - Added
CommandandCommandHistoryhelpers with guarded execution, undo/redo stacks, and typed failures. - Added sync and async
Lazyhelpers with cached values, reset, mapping, and in-flight async sharing. - Added
CircuitBreakerwith closed/open/half-open states, cooldowns, thresholds, and typed failures. - Added bounded priority
TaskQueuewith pause/resume, pending cancellation, close semantics, and typed task futures. - Added immutable
TreeNodetraversal helpers and mutableGraphutilities with BFS, DFS, shortest paths, and cycle detection. - Added composable
CodecPipelinehelpers with named stages, converter/codec adapters, common UTF-8/base64/JSON pipelines, andResulterror handling. - Added compiled numeric
ExpressionEvaluatorwith variables, constants, functions, syntax/evaluation failures, andResultfallbacks. - Added
ReactiveStorewith versioned changes, synchronous subscriptions, streams, custom equality, derived selectors, and disposal semantics. - Added chainable
Validator<T>withResult<T, List<String>>outcomes. - Added fluent
Httprequest helpers with headers, JSON bodies, timeouts, retry policy, status validation, and typedHttpErrorfailures. - Added
ApiClientBuilderwith base URI resolution, static/dynamic headers, retry/timeout/status policies, typed JSON endpoints, and API error types. - Added
SafeJson, in-memory LRUCache,Env, benchmark helpers, and date range/recurrence utilities. - Added composable
SchemaValidatorschemas for primitives, objects, lists, enums, nullable/refined/custom rules, path-aware issues, and typed parsing. - Added five-field
CronExpressionandCronSchedulerwith lists, ranges, steps, names, next occurrences, manualrunDue, and timer-backed start/stop. - Added async-aware
MiddlewarePipelinewith immutable composition, short-circuiting, terminal overrides, tap/transform/guard helpers, andResultfailure capture. - Added configurable
Loghelpers with levels, tags, timestamps, colors, and stack traces. - Deferred crypto helpers; no crypto/UUID dependency is required for this slice.
- Exported the new Tier 2 and non-crypto Tier 3 APIs through the main barrel file.