Releases: Freika/dawarich
0.23.1
Fixed
- Renamed unique index on points to
unique_points_lat_long_timestamp_user_id_index
to fix naming conflict withunique_points_index
.
💙 This release is supported by Steven B., James Manolios, chenrik, aldumil, Arne Schwarck, derpderpington, Chippie, dint, jhalpern, Lex Fradski and Schlufo on Patreon 💙
Full Changelog: 0.23.0...0.23.1
0.23.0
⚠️ IMPORTANT ⚠️
This release includes a data migration to remove duplicated points from the database. It will not remove anything except for duplcates from the points
table, but please make sure to create a backup before updating to this version.
Added
POST /api/v1/points/create
endpoint added.- An index to guarantee uniqueness of points across
latitude
,longitude
,timestamp
anduser_id
values. This is introduced to make sure no duplicates will be created in the database in addition to previously existing validations. GET /api/v1/users/me
endpoint added to get current user.
💙 This release is supported by Steven B., James Manolios, chenrik, aldumil, Arne Schwarck, derpderpington, Chippie, dint, jhalpern, Lex Fradski and Schlufo on Patreon 💙
What's Changed
GET /api/v1/users/me
API endpoint by @Freika in #694- Bump rubocop-rails from 2.28.0 to 2.29.0 by @dependabot in #695
- Bump tailwindcss-rails from 3.2.0 to 3.3.0 by @dependabot in #696
- Bump sidekiq-cron from 2.0.1 to 2.1.0 by @dependabot in #697
Full Changelog: 0.22.4...0.23.0
0.22.4
dawarich-point-dragndrop.mov
Added
- You can now drag-n-drop a point on the map to update its position. Enable the "Points" layer on the map to see the points.
PATCH /api/v1/points/:id
endpoint added to update a point. It only acceptslatitude
andlongitude
params. #51 #503
Changed
- Run seeds even in prod env so Unraid users could have default user.
- Precompile assets in production env using dummy secret key base.
Fixed
- Fixed a bug where route wasn't highlighted when it was hovered or clicked.
What's Changed
Full Changelog: 0.22.3...0.22.4
0.22.3
Changed
- The Map now uses a canvas to draw polylines, points and fog of war. This should improve performance in browser with a lot of points and polylines.
💙 This release is supported by Steven B., James Manolios, chenrik, aldumil, Arne Schwarck, derpderpington, Chippie, dint, jhalpern, Lex Fradski and Schlufo on Patreon 💙
What's Changed
Full Changelog: 0.22.2...0.22.3
0.22.2
✨ The Fancy Routes release ✨
![изображение](https://private-user-images.githubusercontent.com/3738638/402700103-d69797c9-0784-47bc-b8b8-9a9d5de6b3f3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxODIwNTgsIm5iZiI6MTczOTE4MTc1OCwicGF0aCI6Ii8zNzM4NjM4LzQwMjcwMDEwMy1kNjk3OTdjOS0wNzg0LTQ3YmMtYjhiOC05YTlkNWRlNmIzZjMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMTAwMjM4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Yjk0MDAwZWMxOTFkY2FjNTQzODk2Y2VmZWYyODIxMDUyOGJlYWYyNjRkMzI5NzRkYTBkZmY4NzQyOTA3Zjg1NCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.0u4Mwi30v6LO73_2HBpSCsvu7vReXDrKpN7ZQIxJGNg)
![изображение](https://private-user-images.githubusercontent.com/3738638/402700176-3a408dab-4155-47e4-8950-7e4c7828430a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxODIwNTgsIm5iZiI6MTczOTE4MTc1OCwicGF0aCI6Ii8zNzM4NjM4LzQwMjcwMDE3Ni0zYTQwOGRhYi00MTU1LTQ3ZTQtODk1MC03ZTRjNzgyODQzMGEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMTAwMjM4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDRhNjdmYTQyZDNmMjc3NmYyMjliMjU1MGJlNDk5Yjc5N2VkMGJjZDk3Yzg4MTY3N2Q1YzJlNzg3YmJiYjJlYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.ho5J4Ps6GwkKfz5uTbsRp1FDyAivc5S4-964ufEx7aE)
Added
- In the Map Settings (the screw nut in the top left corner of the map), you can now enable/disable the Fancy Routes feature. Simply said, it will color your routes based on the speed of each segment.
- Hovering over a polyline now shows the speed of the segment. Move cursor over a polyline to see the speed of different segments.
- Distance and points number in the custom control to the map.
Changed
- The name of the "Polylines" feature is now "Routes".
💙 This release is supported by Steven B., James Manolios, chenrik, aldumil, Arne Schwarck, derpderpington, Chippie, dint, jhalpern, Lex Fradski and Schlufo on Patreon 💙
What's Changed
- Bump tailwindcss-rails from 3.1.0 to 3.2.0 by @dependabot in #662
- Bump super_diff from 0.14.0 to 0.15.0 by @dependabot in #661
- Feature/fancy polylines by @Freika in #654
Full Changelog: 0.22.1...0.22.2
0.22.1
Removed
- Gems caching volume from the
docker-compose.yml
file. #638
To update existing docker-compose.yml
to new changes, refer to the following:
dawarich_app:
image: freikin/dawarich:latest
...
volumes:
- - dawarich_gem_cache_app:/usr/local/bundle/gems
...
dawarich_sidekiq:
image: freikin/dawarich:latest
...
volumes:
- - dawarich_gem_cache_app:/usr/local/bundle/gems
...
volumes:
dawarich_db_data:
- dawarich_gem_cache_app:
- dawarich_gem_cache_sidekiq:
dawarich_shared:
dawarich_public:
dawarich_watched:
Changed
GET /api/v1/health
endpoint now returns aX-Dawarich-Response: Hey, Im alive and authenticated!
header if user is authenticated.
💙 This release is supported by Steven B., James Manolios, chenrik, aldumil, Arne Schwarck, derpderpington, Chippie, dint, jhalpern, Lex Fradski, EurenikZ and Schlufo on Patreon 💙
What's Changed
Full Changelog: 0.22.0...0.22.1
0.22.0
Please read this release notes carefully before upgrading.
Docker-related files were moved to the docker
directory and some of them were renamed. Before upgrading, study carefully changes in the docker/docker-compose.yml
file and update your docker-compose file accordingly, so it uses the new files and commands. Copying docker/docker-compose.yml
blindly may lead to errors.
No volumes were removed or renamed, so with a proper docker-compose file, you should be able to upgrade without any issues.
To update existing docker-compose.yml
to new changes, refer to the following:
dawarich_app:
image: freikin/dawarich:latest
...
- entrypoint: dev-entrypoint.sh
- command: ['bin/dev']
+ entrypoint: web-entrypoint.sh
+ command: ['bin/rails', 'server', '-p', '3000', '-b', '::']
...
dawarich_sidekiq:
image: freikin/dawarich:latest
...
- entrypoint: dev-entrypoint.sh
- command: ['bin/dev']
+ entrypoint: sidekiq-entrypoint.sh
+ command: ['bundle', 'exec', 'sidekiq']
Although docker-compose.production.yml
was added, it's not being used by default. It's just an example of how to configure Dawarich for production. The default docker-compose.yml
file is still recommended for running the app.
Changed
- All docker-related files were moved to the
docker
directory. - Default memory limit for
dawarich_app
anddawarich_sidekiq
services was increased to 4GB. dawarich_app
anddawarich_sidekiq
services now use separate entrypoint scripts.- Gems (dependency libraries) are now being shipped as part of the Dawarich Docker image.
Fixed
- Visit suggesting job does nothing if user has no tracked points.
BulkStatsCalculationJob
now being called without arguments in the data migration.
Added
- A proper production Dockerfile, docker-compose and env files.
💙 This release is supported by Steven B., James Manolios, chenrik, aldumil, Arne Schwarck, derpderpington, Chippie, dint, jhalpern, Lex Fradski, EurenikZ and Schlufo on Patreon 💙
What's Changed
Full Changelog: 0.21.6...0.22.0
0.21.6
Changed
- Disabled visit suggesting job after import.
- Improved performance of the
User#years_tracked
method.
Fixed
- Inconsistent password for the
dawarich_db
service indocker-compose_mounted_volumes.yml
. #605 - Points are now being rendered with higher z-index than polylines. #577
- Run cache cleaning and preheating jobs only on server start. #594
💙 This release is supported by Steven B., James Manolios, chenrik, aldumil, Arne Schwarck, derpderpington, Chippie, dint, jhalpern, Lex Fradski, EurenikZ and Schlufo on Patreon 💙
What's Changed
Full Changelog: 0.21.5...0.21.6
0.21.5
You may now use Geoapify API for reverse geocoding. To obtain an API key, sign up at https://myprojects.geoapify.com/ and create a new project. Make sure you have read and understood the pricing policy and Terms and Conditions.
Added
- Geoapify API support for reverse geocoding. Provide
GEOAPIFY_API_KEY
env var to use it.
Removed
- Photon ENV vars from the
.env.development
and docker-compose.yml files. APPLICATION_HOST
env var.REVERSE_GEOCODING_ENABLED
env var.
💙 This release is supported by Steven B., James Manolios, chenrik, aldumil, Arne Schwarck, derpderpington, Chippie, dint, jhalpern, Lex Fradski and EurenikZ on Patreon 💙
What's Changed
Full Changelog: 0.21.4...0.21.5
0.21.4
Fixed
- Fixed a bug where Photon API for patreon supporters was not being used for reverse geocoding.
💙 This release is supported by Steven B., James Manolios, chenrik, aldumil, Arne Schwarck, derpderpington, Chippie, dint and jhalpern on Patreon 💙
Full Changelog: 0.21.3...0.21.4