v2.1.2

plausible/analyticsv2.1.2Sep 25, 2024by ruslandoga

AI Summary

A feature release introducing IPv6 support, HTTPS/Let's Encrypt integration, simplified Docker Compose, and various dashboard improvements.

Key Highlights

  • Automatic IPv6 support for outgoing connections
  • Opt-in HTTPS support and Let's Encrypt integration
  • Simplified Docker Compose configuration
  • UI to edit goals and funnels

Breaking Changes

  • Deprecation of ECTO_IPV6 and ECTO_CH_IPV6 env vars
  • Removal of support for importing data from Universal Analytics
  • Soft-deprecation of DATABASE_SOCKET_DIR env var

New Features

  • UI to edit goals and display names
  • Support contains filter for goals
  • UI to edit funnels
  • Details views for browsers, OSs, and screen sizes
  • Search functionality in Details views
  • Automatic custom property selection
  • contains_not filter support
  • Traffic drop notifications
  • ClickHouse system.query_log improvements
  • /debug/clickhouse route
  • TypeScript support and testing framework
  • Automatic HTTPS

Full Release Notes

The highlights of this release are:

- Automatic IPv6 support for all outgoing connections
- Opt-in HTTPS support and Let's Encrypt integration
- Simplified Docker Compose [configuration](https://github.com/plausible/community-edition/tree/v2.1.2)
- Various product improvements: https://plausible.io/changelog — up until today's date :)

#### Upgrade

Update the image used for `plausible`

<sub><kbd>docker-compose.yml</kbd></sub>
```diff
plausible:
- image: ghcr.io/plausible/community-edition:v2.1.1
+ image: ghcr.io/plausible/community-edition:v2.1.2
```

and restart the containers

<sub><kbd>console</kbd></sub>
```console
$ cd hosting
$ docker compose up -d
```

This will boot up the new version of the app.

## Changelog

Following [changes](https://github.com/plausible/analytics/compare/v2.1.1...v2.1.2) have been made since v2.1.1:

### Added
- UI to edit goals along with display names
- Support contains filter for goals
- UI to edit funnels
- Add Details views for browsers, browser versions, os-s, os versions, and screen sizes reports
- Add a search functionality in all Details views
- Icons for browsers plausible/analytics#4239
- Automatic custom property selection in the dashboard Properties report
- Add `contains_not` filter support to dashboard
- Traffic drop notifications plausible/analytics#4300
- Add search and pagination functionality into Google Keywords > Details modal
- ClickHouse system.query_log table log_comment column now contains information about source of queries. Useful for debugging
- New /debug/clickhouse route for super admins which shows information on clickhouse queries executed by user
- Typescript support for `/assets`
- Testing framework for `/assets`
- Automatic HTTPS plausible/analytics#4491
- Make details views on dashboard sortable

### Removed
- Deprecate `ECTO_IPV6` and `ECTO_CH_IPV6` env vars in CE plausible/analytics#4245
- Remove support for importing data from no longer available Universal Analytics
- Soft-deprecate `DATABASE_SOCKET_DIR` plausible/analytics#4202

### Changed
- Support Unix sockets in `DATABASE_URL` plausible/analytics#4202
- Realtime and hourly graphs now show visits lasting their whole duration instead when specific events occur
- Increase hourly request limit for API keys in CE from 600 to 1000000 (practically removing the limit) plausible/analytics#4200
- Make TCP connections try IPv6 first with IPv4 fallback in CE plausible/analytics#4245
- `is` and `is not` filters in dashboard no longer support wildcards. Use contains/does not contain filter instead.
- `bounce_rate` metric now returns 0 instead of null for event:page breakdown when page has never been entry page.
- Make `TOTP_VAULT_KEY` optional plausible/analytics#4317
- Sources like 'google' and 'facebook' are now stored in capitalized forms ('Google', 'Facebook') plausible/analytics#4417
- `DATABASE_CACERTFILE` now forces TLS for PostgreSQL connections, so you don't need to add `?ssl=true` in `DATABASE_URL`
- Change auth session cookies to token-based ones with server-side expiration management.
- Improve Google error messages in CE plausible/analytics#4485
- Better compress static assets in CE plausible/analytics#4476
- Return domain-less cookies in CE plausible/analytics#4482
- Internal stats API routes now return a JSON error over HTML in case of invalid access.

### Fixed

- Fix access to Stats API feature in CE plausible/analytics#4244
- Fix filter suggestions when same filter previously applied
- Fix MX lookup when using relays with Bamboo.Mua plausible/analytics#4350
- Don't include imports when showing time series hourly interval. Previously imported data was shown each midnight
- Fix property filter suggestions 500 error when property hasn't been selected
- Bamboo.Mua: add Date and Message-ID headers if missing plausible/analytics#4474
- Fix migration order across `plausible_db` and `plausible_events_db` databases plausible/analytics#4466