Releases: lalabuy948/PhoenixAnalytics
0.4.1
- use built-in Ecto UUIDs
- changes to local broadcast
Thanks to @stuartjohnpage !
0.4.0
Important
No 🦆!
Sqlite, Postgres and MySQL support out of the box.
0.3.2 FIx duckdb persistance frequency
Update dependencies and add appender_close call for persistence
0.3.1 - fix for duckbex version
set duckbex exact version 0.3.7
0.3.0
No disk persistence
Important
In case you are hosting your app on fly.io or heroku which doesn't let to persist data on the disk,
you can add in_memory: true into :phoenix_analytics config.
And don't forget to remove duckdb_path from the config, otherwise PA will try to create duckdb on the disk.
config :phoenix_analytics,
app_domain: System.get_env("PHX_HOST") || "example.com",
postgres_conn: System.get_env("POSTGRES_CONN") || "dbname=postgres user=phoenix password=analytics host=localhost",
in_memory: trueExtra changes:
-
Hash IP address to respect EU law for anon data gathering
-
Remove runtime config notice
-
Dependabot patch
0.2.1
0.2.0 - Distributed apps support via Postgres backend
- Added PostgresDB backend support issue 8
- Added example apps/integrations
- Added configurable cache
- Cache will be disabled by default issue 13
Note
In case you would like to enable it back you can optionally add this line to the config
config :phoenix_analytics,
app_domain: "example.com",
duckdb_path: "analytics.duckdb",
cache_ttl: System.get_env("CACHE_TTL") || 120 # seconds # <- this oneImportant
Breaking changes
- System.get_env("DUCK_PATH") renamed to System.get_env("DUCKDB_PATH")
- config :phoenix_analytics, database_path -> config :phoenix_analytics, duckdb_path
- cache disabled by default issue 13
Note
The only thing you need to enable Postgres backend to add one line to config:
config :phoenix_analytics,
app_domain: "example.com",
duckdb_path: "analytics.duckdb",
postgres_conn: "dbname=postgres user=phoenix password=analytics host=localhost" # <- this oneHere is full list of Postgres parameters.
0.1.3
0.1.2
0.1.1
Minor fix
- fix for extracting tablet user agent
