Micro Analytics Cli Versions Save

Public analytics as a Node.js microservice. No sysadmin experience required! 📈

[email protected]

6 years ago

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]

6 years ago

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.

[email protected]

6 years ago

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

v2.2.0

6 years ago

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

6 years ago

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.