cookie_jar
A cookie manager for http requests in Dart, help you to deal with the cookie policies and persistence.
4.0.9
160K downloads/mo
#935 most downloaded on pub.dev
flutterchina/cookie_jar
What this package is like to depend on
Last release 5 months ago
27 Feb 2026
Ships unpredictably
gaps range from 2 weeks to 2.6 years
Some releases are documented
notes for 13 of 22 stable releases
1 version withdrawn
withdrawn after publishing
8 years old
28 releases · first in 2018
1 release in the last 12 months
see the full history below
Release timeline
28 releases · Apr 2018 to Feb 2026Releases
latest 28-
4.0.927 Feb 2026 -
4.0.822 Jul 2023Release notes
Open source →- Simply replace
\to/rather than usingUriwhen parsing a storage base directory.
- Simply replace
-
4.0.718 Jul 2023Release notes
Open source →- Allow to configure whether to delete host cookies when load failed.
- Fix directory parsing for the file storage.
- Add
WebCookieJarto convenient Web usages instead of throwing exceptions.
-
4.0.618 Jul 2023 withdrawnNothing published for this version
-
4.0.516 Jun 2023 -
4.0.416 Jun 2023 -
4.0.301 Jun 2023 -
4.0.230 Apr 2023Release notes
Open source →- Use
universal_ioto handle imports. This also bumps the minimum required SDK version to2.15.0.
- Use
-
4.0.124 Mar 2023 -
4.0.1-beta24 Feb 2023 pre-releaseNothing published for this version
-
4.0.022 Mar 2023Release notes
Open source →- Preserve all cookies that with same name but in different paths when request (as Chrome acts).
For example, in request header:
Cookie: a=1; a=2; a=3. Note: Cookies with same name will be sorted by path (longer path first) when return (List<Cookie>thatloadForRequestreturned). - Fix path and domain match error (#30)
- Fix #31: Use the "directory" of request-uri as default path if there is no 'Path' component in Set-Cookie line (in 3.x, used root '/', it is not standard).
- Preserve all cookies that with same name but in different paths when request (as Chrome acts).
For example, in request header:
-
3.0.101 Apr 2021 -
3.0.1-prev131 Mar 2021 pre-releaseNothing published for this version
-
3.0.028 Mar 2021Release notes
Open source →- Change all APIs to async
- Add
delete、deleteAllAPIs in CookieJar class. - Support custom cookie persistent storage。
-
3.0.0-beta201 Mar 2021 pre-releaseNothing published for this version
-
3.0.0-beta128 Feb 2021 pre-releaseNothing published for this version
-
2.0.022 Feb 2021Nothing published for this version
-
2.0.0-nullsafety22 Feb 2021 pre-releaseNothing published for this version
-
1.0.102 Jul 2019 -
1.0.018 Feb 2019Nothing published for this version
-
0.0.817 Feb 2019Nothing published for this version
-
0.0.719 Nov 2018Nothing published for this version
-
0.0.620 Aug 2018Nothing published for this version
-
0.0.520 Aug 2018Nothing published for this version
-
0.0.423 May 2018Nothing published for this version
-
0.0.327 Apr 2018Nothing published for this version
-
0.0.226 Apr 2018Nothing published for this version
-
0.0.126 Apr 2018