NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev, #5787 most downloaded on pub.dev
A collection of general-purpose libraries for Dart projects
Latest stable
0.1.3
Last release 10 days ago
12 Nov 2026
Release timing varies
gaps range from 8 days to 2 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 months old
66 releases · first in 2026
Drag across the ruler to compare, or tap a release to open it.
Fix deprecated_member_use fatal lint in monolib-flutter by @TarasMazepa in #343
Full Changelog: monolib-openrouter-v0.1.1...monolib-dart-v0.1.3
Your coding agent can read these notes before it upgrades. Set up the MCP server →
One column per month.
JsonMappedConverter to extract target fields or objects from decoded JSON using FluentJson and support stream pipeline fusing.iterateStreamOrIterable to return a nullable Future<void>?, allowing synchronous collections to complete without allocating a Future or yielding to the event loop.csvEncodeAsync to write synchronous rows without awaiting or allocating Futures, while batching writes with BufferedStringSink and flushing before awaiting asynchronous rows, cells, or stream events.jsonlEncodeAsync by batching writes with BufferedStringSink and flushing before awaiting asynchronous items or stream events.BufferedStringSink to buffer writes in memory and flush in chunks or before asynchronous pauses.iterateStreamOrIterable to accept FutureOr<void> handlers and an optional onStreamItemDone callback.feat(fluent_json): unbox num as double and prepare release 0.1.2 by @TarasMazepa in #320
Full Changelog: monolib-dart-v0.1.1...monolib-dart-v0.1.2
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.1.1...monolib-dart-v0.1.2
num values to double automatically when unboxing double or double? in FluentJson.feat: Add ToJsonAsToString mixin by @TarasMazepa in #316
Full Changelog: monolib-dart-v0.1.0...monolib-dart-v0.1.1
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.1.0...monolib-dart-v0.1.1
Full Changelog: monolib-dart-v0.1.2...monolib-openrouter-v0.1.1
Add isNullOrEmpty and isNotNullNorEmpty extensions by @TarasMazepa in #314
Full Changelog: monolib-flutter-v0.1.0...monolib-openrouter-v0.1.0
OnIterableOfNum by @TarasMazepa in #162encodeBatchAsync by @TarasMazepa in #207FileEnsureOpenExtension by @TarasMazepa in #208Note truncated.
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-flutter-v0.1.0...monolib-dart-v0.1.0
Example: blocks.PillarEntry, ScopeEnforcingPillarAccessor, ScopeTrackingPillarAccessor, OnEmptyIterable, OnEmptyIterator, JsonStringEscapingSink) from top-level barrel files.Batcher, SingleValueCachingStream, CsvMappedDecoder, CsvMappedBatchDecoder, JsonlCodec, and Jsonl*Decoder classes.chooseLowestScope, PillarFactoryWithScopeTracking) out of public PillarScope and Pillar APIs into internal package helpers.AsyncJsonWritable from interface class to abstract class.PillarChangeNotifierInternal.refactor: apply Strategy pattern to ExceptionStrategy in CompositeEventSink by @TarasMazepa in #131
Full Changelog: monolib-dart-v0.0.61...monolib-dart-v0.0.62
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.61...monolib-dart-v0.0.62
FileEnsureOpenExtension with openWriteEnsureParent to easily open a file for writing while ensuring its parent directories exist.feat: add FutureEventSinkExtension by @TarasMazepa in #134
Full Changelog: monolib-dart-v0.0.60...monolib-dart-v0.0.61
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.60...monolib-dart-v0.0.61
FutureEventSinkExtension allowing a Future<EventSink<T>> to be used synchronously as an EventSink<T> by buffering events until it resolves.feat: Add CompositeEventSink by @TarasMazepa in #130
Full Changelog: monolib-dart-v0.0.59...monolib-dart-v0.0.60
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.59...monolib-dart-v0.0.60
feat: add mappedLastOrNull to Stream extensions by @TarasMazepa in #129
Full Changelog: monolib-dart-v0.0.58...monolib-dart-v0.0.59
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.58...monolib-dart-v0.0.59
mappedLastOrNull to Stream extensions (now OnStream) to map stream values and return the last non-null mapped result.perf: optimize getSink caching in csvEncodeAsync by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/128
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.57...monolib-dart-v0.0.58
Full Changelog: monolib-dart-v0.0.57...monolib-dart-v0.0.58
getSink() caching in csvEncodeAsync, jsonlEncodeAsync, and jsonEncodeAsync by using late final for zero-byte stream protection without repetitive closure evaluation overhead.jsonEncodeAsync to use the withLazyStringSink utility, unifying sink lifecycle management with CSV and JSONL encoders.feat: Add JsonStringEscapingSink for streaming JSON string payloads by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/127
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.56...monolib-dart-v0.0.57
Full Changelog: monolib-dart-v0.0.56...monolib-dart-v0.0.57
feat: Add dense 2D data structures to monolib_dart by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/126
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.55...monolib-dart-v0.0.56
Full Changelog: monolib-dart-v0.0.55...monolib-dart-v0.0.56
DenseTable<T>, Float64Table, and Int32Table for high-performance, dense 2D data structures backed by single flat lists.feat(monolib-dart): add onError callback to tryAdd and tryAddError by @TarasMazepa in #125
onError callback to tryAdd and tryAddError by @TarasMazepa in #125Full Changelog: monolib-dart-v0.0.54...monolib-dart-v0.0.55
onError callback to tryAdd and tryAddError by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/125Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.54...monolib-dart-v0.0.55
onError callbacks to tryAdd and tryAddError stream extensions to allow reporting of swallowed exceptions.feat: add onDone callback to CsvMappedDecoder and JsonlMappedDecoder by @TarasMazepa in #124
Full Changelog: monolib-dart-v0.0.53...monolib-dart-v0.0.54
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.53...monolib-dart-v0.0.54
feat: Add onDone callback to Csv and Jsonl mapped batch decoders by @TarasMazepa in #123
Full Changelog: monolib-dart-v0.0.52...monolib-dart-v0.0.53
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.52...monolib-dart-v0.0.53
onDone callback to CsvMappedBatchDecoder and JsonlMappedBatchDecoder.refactor: tryAdd and tryAddError as Sink extensions by @TarasMazepa in #122
Full Changelog: monolib-dart-v0.0.51...monolib-dart-v0.0.52
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.51...monolib-dart-v0.0.52
tryAdd and tryAddError extensions to apply to Sink and EventSink instead of just StreamController, enabling broader usage across all sink types while maintaining StreamController-specific fast paths.chore: update AGENTS.md by @TarasMazepa in #120
Full Changelog: monolib-dart-v0.0.50...monolib-dart-v0.0.51
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.50...monolib-dart-v0.0.51
tryAddError to StreamController extensions.ignoreError boolean to tryAdd and tryAddError which will catch and suppress exceptions when adding to a stream.feat: make joinWith empty list behavior configurable by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/119
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.49...monolib-dart-v0.0.50
Full Changelog: monolib-dart-v0.0.49...monolib-dart-v0.0.50
joinWith method in OnList extension to accept an ifEmpty callback parameter.feat: Adds OnListOfString joinWith method and prepares 0.0.49 release by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/118
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.48...monolib-dart-v0.0.49
Full Changelog: monolib-dart-v0.0.48...monolib-dart-v0.0.49
Fix concurrent write crashes in jsonl batch writer by adding write queue by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/117
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.47...monolib-dart-v0.0.48
Full Changelog: monolib-dart-v0.0.47...monolib-dart-v0.0.48
Batcher by guaranteeing that internal onBatch executions run sequentially, preventing overlapping IOSink flush/write errors.refactor: extract encode batch async and lazy string sink by @TarasMazepa in #116
Full Changelog: monolib-dart-v0.0.46...monolib-dart-v0.0.47
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.46...monolib-dart-v0.0.47
withLazyStringSink and encodeBatchAsync utilities.release: 0.0.46 with onBatch callback by @TarasMazepa in #115
Full Changelog: monolib-dart-v0.0.45...monolib-dart-v0.0.46
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.45...monolib-dart-v0.0.46
onBatch callback to CsvMappedBatchDecoder and JsonlMappedBatchDecoder.feat: add csvEncodeBatchAsync and jsonlEncodeBatchAsync by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/114
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.44...monolib-dart-v0.0.45
csvEncodeBatchAsync and jsonlEncodeBatchAsync to encode streams of batches.build(ci): run format checks before pub get by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/112
flattenToList extension for Stream<List<T>> by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/111Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.43...monolib-dart-v0.0.44
flattenToList({bool cancelOnError = true, bool sync = false}) extension method to Stream<List<T>> to efficiently gather and flatten all emitted lists into a single Future<List<T>>.refactor!: align async encoders and codec API parity by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/110
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.42...monolib-dart-v0.0.43
csvEncodeAsync now uses named arguments ({required Object items, StringSink? sink, StringSink Function()? sinkProvider}) to match jsonlEncodeAsync.CsvCodec with JsonlCodec by introducing a const constructor and migrating encoder and decoder fields to getters.feat: propagate jsonCodec in JSONL mapped decoders by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/109
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.41...monolib-dart-v0.0.42
jsonCodec through JsonlMappedDecoder and JsonlMappedBatchDecoder, allowing custom JSON decoders to be injected.refactor: unify decoders and encoders with common utils by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/107
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.40...monolib-dart-v0.0.41
always_use_package_imports lint rule and applied it project-wide.CsvDecoder and JsonlDecoder by delegating structural parsing to their respective chunked decoders.BatchingSinkMixin to remove batching boilerplate from mapped batch decoders.iterateStreamOrIterable to consolidate stream/iterable iteration in async encoders.refactor: DRY cleanup for JSONL decoders line sanitization by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/106
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.39...monolib-dart-v0.0.40
JsonlBaseChunkSink.refactor: DRY cleanup for encoders and consolidate IOSink utilities by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/105
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.38...monolib-dart-v0.0.39
csvEncodeAsyncForIOSink, jsonlEncodeAsyncForIOSink, and jsonEncodeAsyncForIOSink utilities.csv_cell_writer.dart to DRY up encoders.refactor: extract base sink classes for chunked decoders by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/104
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.37...monolib-dart-v0.0.38
CsvBaseChunkSink and JsonlBaseChunkSink.refactor: DRY cleanup of chunked decoders by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/103
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.36...monolib-dart-v0.0.37
convert implementation from chunked decoders into a common ChunkedOnlyConverter base class.refactor: rewrite CsvRowDecoder to use Converter architecture by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/101
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.35...monolib-dart-v0.0.36
CsvRowDecoder to CsvChunkedDecoder and JsonlMapper to JsonlChunkedDecoder to complete the decoder API matrix unification.JsonlChunkedDecoder to handle its own chunk boundary line splitting, maximizing performance.refactor: merge internal sink into jsonl_mapper.dart by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/98
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.34...monolib-dart-v0.0.35
CsvMappedBatchDecoder and JsonlMappedBatchDecoder for high-throughput batch-emitting stream optimizations.MappedCsvRowDecoder to CsvMappedDecoder and JsonlSplitMapper to JsonlMappedDecoder to unify naming conventions.Adds JsonlSplitMapper to fuse line splitting with JSON mapping by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/97
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.33...monolib-dart-v0.0.34
JsonlSplitMapper converter that fuses line-splitting directly into JSON mapping, eliminating intermediate stream event overhead.Refactors MappedCsvRowDecoder and CsvRowDecoder to use synchronous StreamController by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/96
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.32...monolib-dart-v0.0.33
MappedCsvRowDecoder and CsvRowDecoder to use synchronous StreamController instead of Stream.multi to preserve standard stream contracts and lifecycle hooks.Removes some functions, formats whole library by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/94
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.31...monolib-dart-v0.0.32
jsonlEncodeAsync outputs a trailing newline even if item serialization throws an error.OnFunctionWithOneArgument (withAnArgument).asArgumentIn and quotingString from OnObject.Streamline tracking in batcher by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/91
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.30...monolib-dart-v0.0.31
mapLists and whereElements to OnStreamOfLists extension on Stream<List<T>>.OnIterableOfNullableBoolFunctions extension with combinedEvery and combinedAny.OnNullableString extension with emptyToNull into on_nullable_string.dart.Batcher documentation and streamlines internal batch tracking.mapCatching from OnIterable.compareChainReverse from OnBool.discardedByFloor from OnDouble.OnIterableOfListOfString (skipFirstIfIsCsvHeaderRow).OnListOfString (isTrimmedDeepEqualsTo).OnString (removeEndingNewLine, ensureEndsWithADot, removeEnclosingQuotationMarks).NullIOSink.OnFunctionReturningList (asSkippingMappedToEmptyExpander).feat: add JsonlBatchWriter for batched JSONL writing by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/90
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.29...monolib-dart-v0.0.30
JsonlBatchWriter component to efficiently write high-frequency data to a JSONL file in batches.feat: add Stream.lastOrNull extension by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/88
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.28...monolib-dart-v0.0.29
AsyncJsonWritable interface for providing inversion-of-control when encoding objects asynchronously in jsonEncodeAsync.StreamingJsonString which allows streaming strings directly into the output sink without holding them in memory.monolib-dart 0.0.28 by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/86
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.27...monolib-dart-v0.0.28
jsonEncodeAsyncForIOSinkProvider and jsonlEncodeAsyncForIOSinkProvider.jsonlEncodeAsync to use a late variable for sink initialization.fluent_json.dart, monolib_dart.dart, and stream.dart.Refactor json and jsonl async encoders to use named arguments and lazy sinks by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/85
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.26...monolib-dart-v0.0.27
jsonEncodeAsync, jsonlEncodeAsync) to use named arguments (items, sink, sinkProvider).sinkProvider for async encoders. Sinks are now memoized and only spun up upon the first write operation, saving resources for empty streams/iterables.close()) for sinks spawned by sinkProvider, while respecting caller ownership for directly provided sinks.jsonEncodeAsyncForIOSinkProvider and jsonlEncodeAsyncForIOSinkProvider to support lazy IOSink resolution.Add JsonlMapper and fuse utf8 decoding with line splitting by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/84
Full Changelog: https://github.com/TarasMazepa/monolib/compare/monolib-dart-v0.0.25...monolib-dart-v0.0.26
JsonlMapper and JsonlMapperSinkInternal for mapping JSON from chunked JSONL strings.utf8DecodeAndLineSplit extension on Stream<List<int>>.feat: create monolib-dart project by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/2
jsonEncodeAsync streaming JSON encoder by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/19OnString.parseAsFluentJson extension by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/44toExtendedRadixString to OnInt in monolib-dart by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/46withIOSink on IOSink to return Future<T> by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/62readLine() extension method to Stream<List<int>> by @TarasMazepa in https://github.com/TarasMazepa/monolib/pull/69Full Changelog: https://github.com/TarasMazepa/monolib/commits/monolib-dart-v0.0.25
MappedCsvRowDecoder for streaming asynchronous chunked CSV parsing with mapping and filtering support.Adds LazyJson class to defer JSON evaluation.
LazyJson class to defer JSON evaluation.Adds StreamWhereTypeExtension with whereType () method to Stream.
StreamWhereTypeExtension with whereType<R>() method to Stream.MapNotNullStreamExtension with mapNotNull<R>() method to Stream.Adds CsvRowDecoder for streaming asynchronous chunked CSV parsing.
CsvRowDecoder for streaming asynchronous chunked CSV parsing.Adds Iso8601WithTimeZone extension on DateTime with toIso8601StringWithTz method.
Iso8601WithTimeZone extension on DateTime with toIso8601StringWithTz method.Adds Flag and related models (FlagFindResult, FlagFindType, OptionalFlagResult) for parsing CLI arguments to cli.dart.
Flag and related models (FlagFindResult, FlagFindType, OptionalFlagResult) for parsing CLI arguments to cli.dart.Adds Zalgo encoding and decoding functions
CsvDecoder - ensuring that no empty lists would be output at the end of the csv list of lists
Enhances Batcher with proper asynchronous disposal (waits for all in-flight batches) and allows nullable limits (maxBatchSize / maxDuration). Adds thr
Batcher with proper asynchronous disposal (waits for all in-flight batches) and allows nullable limits (maxBatchSize / maxDuration). Adds throwOnAddAfterDispose configuration flag.OnStreamOfListOfInt extension on Stream<List<int>> with readLine() and utf8DecodeAndLineSplit().Adds jsonEncodeAsyncForIOSink, jsonlEncodeAsyncForIOSink, and csvEncodeAsyncForIOSink
jsonEncodeAsyncForIOSink, jsonlEncodeAsyncForIOSink, and csvEncodeAsyncForIOSinkAdds csvEncodeAsync asynchronous CSV stream encoder
csvEncodeAsync asynchronous CSV stream encoderOnFutureFunction extension with asyncCallWithRetryOnFailure and asyncRetryOnFailure global function- Adds withIOSink to IOSink
withIOSink to IOSinkAdds withIOSink to IOSink Function()
withIOSink to IOSink Function()- Actually adds jsonlEncodeAsync
- Adds jsonlEncodeAsync
Adds toExtendedRadixString extension method to int
toExtendedRadixString extension method to intmin() and max() extension methodsAdds OnString.parseAsFluentJson extension
OnString.parseAsFluentJson extensionOnDouble, OnFunctionWithNoArguments, OnFunctionWithOneArgument, OnIterableOfNum, OnListOfLists, and OnString extensions.TableCellAlignLeft and TableCellAlignRight for table formatting.Fixes ConcurrentModificationError in PillarChangeNotifier during notification.
Adds OnIterableOfStreamControllers
JsonlCodecOnIterableOfStreamControllersOnFunctionReturningListOnListOfStreamControllersOnStreamControllerOnStreamOfListsSingleValueCachingStreamStreamWithClose