jala_core 0.2.0
jala_core: ^0.2.0 copied to clipboard
Pure-Dart core for Jala: network call model, event bus, ring-buffer store, redaction, DevTools-style filter grammar, and exporters (cURL, Dart/Dio snippet, HAR 1.2).
0.2.0 #
- Image body capture:
BodyKind.imageplusCapturedBody.bytes/CapturedBody.captureBytes, gated byJalaConfig.captureImageBodies(default true) andmaxBodyBytes. - Multipart model:
JalaMultipartPartandCapturedBodyMultipartwith the{"@multipart": [...]}JSON convention for structured part metadata. - Progress events:
NetworkProgressEvent(sent/received byte counters) andNetworkCallEntry.progressupdated live by the store. - cURL exporter emits
-Fflags with filename placeholders for multipart bodies (never real file contents); image bodies export as size/mime placeholders.
0.1.1 #
- Add pub.dev topics.
0.1.0 #
- Initial release:
NetworkCallEntry/CapturedBodymodels with a 512 KB per-body cap and safe handling of binary, oversize, and malformed-UTF8 data. JalaEventBus+JalaStorering buffer (default 300 entries) correlating request/response/error/cancel events by call id, evicting oldest completed entries first.JalaRedactor— case-insensitive header redaction (Authorization,Cookie,X-Api-Key, etc. by default) and body pattern redaction, designed to run at capture time so secrets never enter the store.JalaFilterDevTools-style query grammar:method:/m:,status:/s:,host:/d:,path:,type:/t:,larger-than:,slower-than:,is:replay,body:, bare text, and-negation.CurlExporter,DartSnippetExporter, andHarExporter(HAR 1.2, single call or whole session).JalaBindingprocess-wide singleton andJalaReplayRegistryso client integrations (e.g.jala_dio) can wire capture and replay.JalaConfigwithenabled,maxEntries,maxBodyBytes, andredactor.