Skip to content

Releases: micro-analytics/adapter-redis

v1.0.0

29 Jun 20:19
Compare
Choose a tag to compare

Features

Support for realtime events

Add support for subscribe() which enables the server-sent events based realtime feed. Read more about it in the live-updates section of micro-analytics-cli documentation. It uses redis pub/sub under the hood making it work across different instances.

Bugfixes

Upgraded ioredis to version 3.1.1, which contains a few bug fixes.

v0.4.0

26 Jun 20:58
Compare
Choose a tag to compare

Add support for cli options

$ micro-analytics --adapter redis --help
  Usage: micro-analytics [options] [command]

  Commands:

    help  Display help

  Options:

    -a, --adapter [value]    Database adapter used (defaults to "flat-file-db")
    -d, --db-config [value]  Redis connection string or ioredis compatible JSON object. Environment variable: MAA_REDIS_DB_CONFIG (defaults to "redis://localhost:6379")
    -h, --hash-key [value]   Hash key for the redis hash to store all the data in. Environment variable: MAA_REDIS_DB_CONFIG (defaults to "micro-analytics")
    -H, --help               Output usage information
    -H, --host [value]       Host to listen on (defaults to "0.0.0.0")
    -p, --port <n>           Port to listen on (defaults to 3000)
    -v, --version            Output the version number

v0.1.2

15 Jan 19:38
Compare
Choose a tag to compare

Add readme

v0.1.1

15 Jan 19:38
Compare
Choose a tag to compare

Fix syntax error from trailing commas

v0.1.0

13 Jan 07:06
Compare
Choose a tag to compare

Bug Fixes

Features