Releases: micro-analytics/micro-analytics-cli
[email protected]
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]
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]
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
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