Skip to content

0.3.0

Latest
Compare
Choose a tag to compare
@lalabuy948 lalabuy948 released this 13 Jan 14:48

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: true

Extra changes:

  • Hash IP address to respect EU law for anon data gathering

  • Remove runtime config notice

  • Dependabot patch