Skip to content

Releases: micro-analytics/micro-analytics-cli

[email protected]

28 Jun 16:39
Compare
Choose a tag to compare

Features

Support for metadata on views

This version introduces support for metadata with POST requests. The old way of GET requests will still work, however, if you want to store more information like browser versions(finally you can prove that your users has stopped using some old browser) it is necessary to do a POST request. Checkout the example in the readme for more info

Bug Fixes

  • Pass filtering options to get in the adapters. Previously the filtering was not sent to the database when not using the ?all=true option in the request and thus it returned the wrong value.

[email protected]

24 Jun 09:58
Compare
Choose a tag to compare

Features

Healthcheck

micro-analytics now has a healthcheck endpoint at /_healthcheck. It will show the health fetched
with the adapter. If the adapter does not support healthcheck it will show "unknown". The endpoint
also has information about version of adapter and micro-analytics-cli and a list of optional features.
See demo.micro-analytics.io/_healthcheck for example response.

Breaking changes

Adapter utils moved to micro-analytics-adapter-utils

Adapter utils are moved to its own package, micro-analytics-adapter-utils, including adapter tests. writing-adapters guide has updated information

[email protected]

24 Jun 10:00
Compare
Choose a tag to compare

Adapter utils are now in its own package 🎉 This package contains tests and reusable filtering functions for adapters. See writing adapter guide for more info.

v2.2.0

25 May 09:34
Compare
Choose a tag to compare

Support for cli options in adapters.

If an adapter supports options and init(options) it will be possible to configure it through cli options.
The adapter options will also show up in the cli help section.

Example usage with flat-file-adapter

micro-analytics --db-name filename.db

v2.1.0

06 May 16:52
Compare
Choose a tag to compare

Using uncompiled sources

This version does only used compiled code if async-await is not supported by node version in use.

Adapter tests

This release adds more adapter tests for regressions we have had in adapters.