rikulo_commons
Collections of common reusable classes and utilities for Dart language.
9.3.0
4.1K downloads/mo
#4135 most downloaded on pub.dev
rikulo/commons
What this package is like to depend on
Last release today
24 Aug 2026
Ships fairly regularly
a new release about every 2 months
Some releases are documented
notes for 74 of 194 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
194 releases · first in 2012
12 releases in the last 12 months
see the full history below
Release timeline
194 releases · Nov 2012 to Aug 2026Releases
latest 60 of 194-
9.3.024 Aug 2026Release notes
Open source →- Removed the deprecated
rikulo_mirrorslibrary (mirrors.dartandClassUtil/ObjectUtil) — it depended ondart:mirrors, which is unsupported on AOT/web. Usepackage:reflectableor code generation instead.
- Removed the deprecated
-
9.2.030 Jun 2026Release notes
Open source →- Added
clearDefers()— clears all pending deferred tasks queued bydefer(), dropping them without running (the opposite offlushDefers()).
- Added
-
9.1.030 Jun 2026Release notes
Open source →- Added
streamedResponseAjax()— the streaming-response counterpart toajax(): the caller reads the response body incrementally (e.g. Server-Sent Events) via thehttp.StreamedResponse.stream, with the same force-close timeout.
- Added
-
9.0.021 May 2026Release notes
Open source →- Breaking:
ajax()and thepostAjax/putAjax/… wrappers returnFuture<http.Response>(wasFuture<List<int>?>);onResponsecallback removed (readstatusCode/bodyBytesfrom the response). - Added
streamedAjax()— streaming counterpart mirroringpackage:http'sStreamedRequest. Caller writes bytes into anEventSink<List<int>>; force-close timeout supported. ajax()/streamedAjax()now built onpackage:http'sIOClient.send— wire-equivalent tohttp.get/http.put, with the added value of a real timeout that force-closes the underlyingHttpClient.- Added
isResponseOK(http.Response)— shortcut forisHttpStatusOK(resp.statusCode).
- Breaking:
-
8.0.120 May 2026Release notes
Open source →ajax()matchespackage:http'sIOClient.send: fixed-length body (setsContent-Length) and headers applied viaset(notadd).
-
8.0.013 May 2026Release notes
Open source →- Breaking:
headAjax()no longer acceptsdataorbody(#12). ajax()and the method wrappers accept an optionaltimeout; on expiry theHttpClientis force-closed andTimeoutExceptionis thrown (#11).HttpUtil.decodeQuery()splits on the first=(was last) (#13).ajax()assertsdataandbodyare mutually exclusive (#13).- Deprecated
parseContentType— useContentType.parse. - Deprecated
rikulo_mirrors(usesdart:mirrors, unsupported on AOT/web). - Deprecated
Browser.ie,Browser.legacyEdge,Browser.opera(retired browsers). - Removed:
StringUtil(deprecated since 7.3). Use the top-levelisChar,isCharCode,skipWhitespaces,camelize,uncamelizeinutil.dartdirectly. - Added
setRawInnerHtml(element, html, {textContent})andcreateRawHtml<T>(html, {textContent}); deprecatedsetUncheckedInnerHtmlandcreateUncheckedHtml. getMimeType(): addedyaml/yml,opus,mpd,zst; fixedjfif→image/jpegandpko→vnd.ms-pkipko; query strip uses first?(RFC 3986).
- Breaking:
-
7.3.115 Apr 2026 -
7.3.009 Feb 2026Release notes
Open source →isWhitespace()added.StringUtildeprecated. String utilites no longer grouped underStringUtil.
-
7.2.022 Jan 2026 -
7.1.015 Jan 2026 -
7.0.208 Oct 2025Nothing published for this version
-
7.0.112 Sep 2025Release notes
Open source →defer()won't exceed the minimal maximal allowed time in a sequence of invocation.
-
7.0.028 May 2025Release notes
Open source →- Migrate to Dart 3.7
NullNodeValidatorandNullNodeValidatorBuilderremoved
-
7.0.0+128 Jul 2025Nothing published for this version
-
7.0.0+229 Jul 2025Nothing published for this version
-
6.2.008 Mar 2025Release notes
Open source →Browser.versioninterpret "version/16.3" as16.3instead of16.03Browser.parseVersionsupports the twoDigits version.
-
6.2.0+108 Mar 2025Nothing published for this version
-
6.1.012 May 2024 -
6.1.0+109 Jan 2025Nothing published for this version
-
6.0.122 Dec 2023 -
6.0.1+122 Dec 2023Nothing published for this version
-
6.0.028 Aug 2023Nothing published for this version
-
5.2.216 May 2023 -
5.2.118 Jul 2022 -
5.2.012 Nov 2021 -
5.2.0+118 Nov 2021Nothing published for this version
-
5.2.0+205 May 2022Nothing published for this version
-
5.1.012 Nov 2021Release notes
Open source →getMimeTypeaddedgetContentTypesupportsheaderBytesand path- Also detect more mime types
-
5.0.619 Oct 2021Release notes
Open source →- The constructors of HttpRequestWrapper, HttpResponseWrapper, HttpHeadersWrapper... accept
nullasorigin.
- The constructors of HttpRequestWrapper, HttpResponseWrapper, HttpHeadersWrapper... accept
-
5.0.503 Oct 2021Release notes
Open source →- Merged changes of 4.6 into 5.0
encodeNSanddecodeNSintroduced. They're null-safety version ofencodeanddecode
-
5.0.5+113 Oct 2021Nothing published for this version
-
5.0.5+213 Oct 2021Nothing published for this version
-
5.0.410 Aug 2021Nothing published for this version
-
5.0.305 Apr 2021Release notes
Open source →InvokeUtil.invokeSafelyadded.MapUtil.parse'sdefaultValueis an empty string.- Rename
LIST_MIRRORand other mirrored types as static members ofMirror
-
5.0.204 Apr 2021 -
5.0.131 Mar 2021 -
5.0.029 Mar 2021Release notes
Open source →- Migrate to Dart 2.12 (null safety)
- Clean up deprecated methods:
Browser.edge,Browser.nameand theonStatusCodeargument of Ajax utilities.
-
4.6.229 Sep 2021Nothing published for this version
-
4.6.2+118 Nov 2021Nothing published for this version
-
4.6.120 Aug 2021Release notes
Open source →defer()replaces the key, so the invocation oftaskwill be the last key.
-
4.6.002 Jul 2021Release notes
Open source →- BREAK CHANGE:
configureDefers()'sexecutorargument's signature is changed. - BREAK CHANGE:
defer'scategoryKeyis renamed tocategory
- BREAK CHANGE:
-
4.6.0+111 Jul 2021Nothing published for this version
-
4.6.0+211 Jul 2021Nothing published for this version
-
4.5.127 May 2021Nothing published for this version
-
4.5.027 May 2021Release notes
Open source →configureDefers()supportsexecutableto slow down if the system is busy.- BREAK CHANGE:
nameis removed fromBrowser - BREAK CHANGE:
onStatusCodeis removed fromajax
-
4.3.324 May 2021Release notes
Open source →readAsJson,readAsStringandHttpUtil.decodePostedParameterssupportmaxLength- BREAK:
HttpUtil.decodePostedParametersanddecodeQueryuse named parameters.
-
4.3.206 Apr 2021 -
4.3.106 Apr 2021Release notes
Open source →InvokeUtil.invokeSafelyadded.StreamUtil.firstadded.PairandTrioadded.
-
4.3.015 Jan 2021Release notes
Open source →Browser.legacyEdgeandBrowser.newEdgeare addded, andBrowser.nameandBrowser.edgeare deprecated.- Also, we also consider
Browser.newEdgeandBrowser.legacyEdgeas a variant of Chrome, soBrowser.chromeis also true in this case.
-
4.2.116 Sep 2020 -
4.2.028 Aug 2020Release notes
Open source →ajax/head/post: TheonResponseargument is supported, and theonStatusCodeargument deprecated.
-
4.1.327 May 2020Release notes
Open source →- The
maxBusysetting was introduced toconfigureDefers. - The following
defer()will wait for the executing one to complete.
- The
-
4.1.227 May 2020Nothing published for this version
-
4.1.115 May 2020 -
4.1.007 May 2020Release notes
Open source →4.1.0
- Fix #6 The method 'HttpHeadersWrapper.set' has fewer named arguments than those of overridden method 'HttpHeaders.set'. [Dart 2.8]
Release notes
Open source →- Fix #6 The method 'HttpHeadersWrapper.set' has fewer named arguments than those of overridden method 'HttpHeaders.set'. [Dart 2.8]
-
4.0.128 Nov 2019 -
4.0.1+107 May 2020Release notes
Open source →4.0.1+1
- Limit Dart SDK version for Dart 2.8 version breaking change.
- Add links to github repo in pubspec.yaml.
Release notes
Open source →- Limit Dart SDK version for Dart 2.8 version breaking change.
- add links to github repo in pubspec.yaml.
-
4.0.022 Nov 2019Release notes
Open source →defer()'staskcallback takes the key as the argument. It helps to reuse the same closure for different keys.
-
3.3.104 Nov 2019 -
3.3.030 Sep 2019