PackageTrack
Sign in Get early access

usage

A Google Analytics wrapper for command-line, web, and Flutter apps.

4.1.1 5.2M downloads/mo #147 most downloaded on pub.dev dart-lang/usage

What this package is like to depend on

Last release 3 years ago

no release in 18 months

Release timing varies

gaps range from 2 weeks to 2.0 years

Nearly every release is documented

notes for 31 of 33 stable releases

Nothing withdrawn

no release was ever pulled

12 years old

35 releases · first in 2014

0 releases in the last 12 months

see the full history below

Release timeline

35 releases · Dec 2014 to Apr 2023
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 35
  1. 4.1.1 11 Apr 2023
    Release notes
    • Updated the readme to indicate that this package is deprecated (see #185).
    • Require Dart 2.19.
    Open source →
    Release notes
    • Updated the readme to indicate that this package is deprecated (see #185).
    • Require Dart 2.19.
    Open source →
  2. 4.1.0 15 Jun 2022
    Release notes

    prep for publishing 4.1.0 (#178)

    Open source →
    Release notes
    • Analytics hits can now be batched. See details in the documentation of the AnalyticsIO constructor.
    • Allow sendRaw to send Map<String, dynamic> (#161).
    • Address a null_argument_to_non_null_type analysis issue.
    • Change to using 'package:lints' for analysis.
    Open source →
  3. 4.0.2 30 Mar 2021
    Release notes
    • Fix a bug with the analytics ping throttling algorithm.
    Open source →
  4. 4.0.1 22 Mar 2021
    Release notes

    Force close the http-client on IOAnalytics.close() (#155)

    force close the http-client on IOAnalytics.close()

    Open source →
    Release notes
    • Force close the http client from IOAnalytics.close(). This prevents lingering requests from making the application hang.
    Open source →
  5. 4.0.0 05 Feb 2021
    Release notes
    • Publishing a null safe stable release.
    Open source →
  6. 4.0.0-nullsafety 09 Nov 2020 pre-release
    Release notes

    update for null safety (#145)

    update for null safety

    Open source →
    Release notes
    • Updated to support 2.12.0 and null safety.
    Open source →
  7. 3.4.2 01 Jul 2020
    Release notes
    • A number of cleanups to improve the package health score.
    Open source →
  8. 3.4.1 17 Jul 2018
    Release notes
    • increase the support SDK range to '<3.0.0'
    Open source →
  9. 3.4.0 10 Apr 2018
    Release notes
    • bump our minimum SDK constraint to >=2.0.0-dev.30
    • change to using non-deprecated dart:convert constants
    Open source →
  10. 3.3.0 01 Jul 2017
    Release notes
    • added a close() method to the Analytics class
    • change our minimum SDK from 1.24.0-dev to 1.24.0 stable
    Open source →
  11. 3.2.0 23 Jun 2017
    Release notes
    • expose the Analytics.applicationName and Analytics.applicationVersion properties
    • make it easier for clients to extend the AnalyticsIO class
    • allow for custom parameters when sending a screenView
    Open source →
  12. 3.2.0+1 23 Jun 2017

    Nothing published for this version

  13. 3.1.1 20 Jun 2017
    Release notes
    • make Analytics.clientId available immediately
    Open source →
  14. 3.1.0 24 Apr 2017
    Release notes
    • switch the technique we use to determine the locale to the new dart:io Platform.localeName field
    • change our minimum SDK version to 1.24.0
    Open source →
  15. 3.0.1 27 Mar 2017
    Release notes
    • expose the Analytics.clientId field
    Open source →
  16. 3.0.0 06 Feb 2017
    Release notes
    • removed the use of configurable imports
    • removed the Flutter specific entry-point; Flutter apps can now use the regular dart:io entrypoint (AnalyticsIO)
    • moved the uuid library from lib/src/ to lib/uuid/
    • fixed an issue with reporting the user language for the dart:io provider
    • changed to send additional lines for reported exceptions
    Open source →
  17. 3.0.0+1 14 Feb 2017
    Release notes
    • fixed an NPE in the usage_io getPlatformLocale() method
    Open source →
  18. 2.2.2 18 May 2016
    Release notes
    • adjust the Flutter usage client to Flutter API changes
    Open source →
  19. 2.2.1 14 May 2016
    Release notes
    • improve the user agent string for the CLI client
    Open source →
  20. 2.2.0 26 Apr 2016
    Release notes
    • added Analytics.firstRun
    • added Analytics.enabled
    • removed Analytics.optIn
    Open source →
  21. 2.2.0+1 29 Apr 2016
    Release notes
    • bug fix to prevent frequently changing the settings file
    Open source →
  22. 2.1.0 25 Apr 2016
    Release notes
    • added Analytics.getSessionValue()
    • added Analytics.onSend
    • added AnalyticsImpl.sendRaw()
    Open source →
  23. 2.1.0-dev 25 Apr 2016 pre-release

    Nothing published for this version

  24. 2.0.0 30 Mar 2016
    Release notes
    • added a usage implementation for Flutter (uses conditional directives)
    • removed lib/usage_html.dart; use the new Analytics.create() static method
    • removed lib/usage_io.dart; use the new Analytics.create() static method
    • bumped to 2.0.0 for API changes and library refactorings
    Open source →
  25. 1.2.0 20 Jan 2016
    Release notes
    • added an optional analyticsUrl parameter to the usage constructors
    Open source →
  26. 1.1.0 12 Jan 2016
    Release notes
    • fix two strong mode analysis issues (overriding a field declaration with a setter/getter pair)
    Open source →
  27. 1.0.1 20 Oct 2015
    Release notes
    • make strong mode compliant
    • update some dev package dependencies
    Open source →
  28. 1.0.0 10 Feb 2015
    Release notes
    • Rev'd to 1.0.0!
    • No other changes from the 0.0.6 release
    Open source →
  29. 1.0.0+1 17 Feb 2015

    Nothing published for this version

  30. 0.0.6 27 Jan 2015
    Release notes
    • Added a web example
    • Added a utility method to time async events (Analytics.startTimer())
    • Updated the readme to add information about when we send analytics info
    Open source →
  31. 0.0.5 21 Dec 2014
    Release notes
    • Catch errors during pings to Google Analytics, for example in case of a missing internet connection
    • Track additional browser data, such as screen size and language
    • Added tests for usage running in a dart:html context
    • Changed to a custom implementation of UUID; saved ~376k in compiled JS size
    Open source →
  32. 0.0.4 18 Dec 2014
    Release notes
    • Moved sanitizeStacktrace into the main library
    Open source →
  33. 0.0.3 18 Dec 2014
    Release notes
    • Replaced optional positional arguments with named arguments
    • Added code coverage! Thanks to https://github.com/Adracus/dart-coveralls and coveralls.io.
    Open source →
  34. 0.0.2 17 Dec 2014
    Release notes
    • Fixed a bug in analytics.sendTiming()
    Open source →
  35. 0.0.1 16 Dec 2014
    Release notes
    • Initial version, created by Stagehand
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive