diff --git a/CHANGELOG.md b/CHANGELOG.md index b99c8a8cfe..045970a8ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,22 +1,34 @@ # Changelog -## [Unreleased] +## [1.11.0] - 2019-10-12 ### New Features +- Add overview dashboard (by DBemis; + [#196](https://github.com/adriankumpf/teslamate/pull/196)) - Make :check_origin option configurable via environment variable `CHECK_ORIGIN` +- Open GitHub release page when clicking the version tag in the navbar +- Display the current software version + +### New MQTT topics + +- `teslamate/cars/$car_id/version`: Current software version ### Enhancements +- Tweak the mobile and desktop views - Add GIST index based on `ll_to_earth` to speed up geo-fence lookups - Improve accuracy of geo-fence lookups for some edge cases +- Log option codes as well if the vehicle identification fails - Delete trips with less than 10m driven - Add/Update efficiency factors ### Bug Fixes -- Exit early if the migrations fail +- Fix an issue where postgres' automatic analyze couldn't succeed +- Fix an issue where the derived efficiency factors could not be calculated +- Exit early if migrations fail - Downgrade Grafana to v6.3.5 ## [1.10.0] - 2019-10-05 @@ -451,7 +463,8 @@ New users need to sign in via the web interface. ## [1.0.0] - 2019-07-25 -[unreleased]: https://github.com/adriankumpf/teslamate/compare/v1.10.0...HEAD +[unreleased]: https://github.com/adriankumpf/teslamate/compare/v1.11.0...HEAD +[1.11.0]: https://github.com/adriankumpf/teslamate/compare/v1.10.0...v1.11.0 [1.10.0]: https://github.com/adriankumpf/teslamate/compare/v1.9.1...v1.10.0 [1.9.1]: https://github.com/adriankumpf/teslamate/compare/v1.9.0...v1.9.1 [1.9.0]: https://github.com/adriankumpf/teslamate/compare/v1.8.0...v1.9.0 diff --git a/README.md b/README.md index 930befe379..32feea1525 100644 --- a/README.md +++ b/README.md @@ -149,25 +149,25 @@ TeslaMate uses environment variables for runtime configuration. ### Environment Variables -| Variable Name | Description | Default Value | -| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------- | -| DATABASE_USER | Username (**required**) | / | -| DATABASE_PASS | User password (**required**) | / | -| DATABASE_NAME | The database to connect to (**required**) | / | -| DATABASE_HOST | Hostname of the database server (**required**) | / | -| DATABASE_PORT | Port of the database server | 5432 | -| DATABASE_POOL_SIZE | Size of the database connection pool | 5 | -| VIRTUAL_HOST | Host part used for generating URLs throughout the app | localhost | -| CHECK_ORIGIN | Configures whether to check the origin header or not _(optional)_. May be `true` (default), `false` or a comma-separated list of hosts that are allowed (e.g. `https://example.com,//another.com:888`). Hosts also support wildcards. It defaults to true and, in such case, it will check against the host value in `VIRTUAL_HOST`. | true | -| PORT | Port where the web interface is exposed | 4000 | -| DISABLE_MQTT | Disables the MQTT feature if `true` | false | -| MQTT_HOST | Hostname of the broker (**required** unless DISABLE_MQTT is `true`) | / | -| MQTT_USERNAME | Username _(optional)_ | / | -| MQTT_PASSWORD | Password _(optional)_ | / | -| MQTT_TLS | Enables TLS if `true` _(optional)_ | false | -| MQTT_TLS_ACCEPT_INVALID_CERTS | Accepts invalid certificates if `true` _(optional)_ | false | -| LOCALE | The default locale for the web interface and addresses. Currently available: `en` (default) and `de` | en | -| TZ | Used to establish the local time zone. See [List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). | / | +| Variable Name | Description | Default Value | +| ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | +| DATABASE_USER | Username (**required**) | / | +| DATABASE_PASS | User password (**required**) | / | +| DATABASE_NAME | The database to connect to (**required**) | / | +| DATABASE_HOST | Hostname of the database server (**required**) | / | +| DATABASE_PORT | Port of the database server | 5432 | +| DATABASE_POOL_SIZE | Size of the database connection pool | 5 | +| VIRTUAL_HOST | Host part used for generating URLs throughout the app | localhost | +| CHECK_ORIGIN | Configures whether to check the origin header or not. May be `true` (default), `false` or a comma-separated list of hosts that are allowed (e.g. `https://example.com,//another.com:888`). Hosts also support wildcards. It defaults to true and, in such case, it will check against the host value in `VIRTUAL_HOST`. | true | +| PORT | Port where the web interface is exposed | 4000 | +| DISABLE_MQTT | Disables the MQTT feature if `true` | false | +| MQTT_HOST | Hostname of the broker (**required** unless DISABLE_MQTT is `true`) | / | +| MQTT_USERNAME | Username _(optional)_ | / | +| MQTT_PASSWORD | Password _(optional)_ | / | +| MQTT_TLS | Enables TLS if `true` _(optional)_ | false | +| MQTT_TLS_ACCEPT_INVALID_CERTS | Accepts invalid certificates if `true` _(optional)_ | false | +| LOCALE | The default locale for the web interface and addresses. Currently available: `en` (default) and `de` | en | +| TZ | Used to establish the local time zone. See [List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). | / | ## Upgrading diff --git a/mix.exs b/mix.exs index 34a331469d..ba89ceaa0d 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule TeslaMate.MixProject do def project do [ app: :teslamate, - version: "1.10.0", + version: "1.11.0", elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), diff --git a/screenshots/web_interface.png b/screenshots/web_interface.png index 74c2402c07..5913610f36 100755 Binary files a/screenshots/web_interface.png and b/screenshots/web_interface.png differ