Skip to content

Releases: Freika/dawarich

0.23.1

21 Jan 12:34
Compare
Choose a tag to compare

Fixed

  • Renamed unique index on points to unique_points_lat_long_timestamp_user_id_index to fix naming conflict with unique_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

21 Jan 10:31
8bf69e1
Compare
Choose a tag to compare

⚠️ 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 and user_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

Full Changelog: 0.22.4...0.23.0

0.22.4

20 Jan 10:54
Compare
Choose a tag to compare
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 accepts latitude and longitude 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

14 Jan 22:37
b75b867
Compare
Choose a tag to compare

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

  • Improve map performance with canvas rendering by @Freika in #667

Full Changelog: 0.22.2...0.22.3

0.22.2

13 Jan 21:14
e7c3714
Compare
Choose a tag to compare

✨ The Fancy Routes release ✨

изображение изображение

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

Full Changelog: 0.22.1...0.22.2

0.22.1

09 Jan 20:20
c23c8d5
Compare
Choose a tag to compare

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 a X-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

  • Remove unused volumes from docker-compose.yml by @Freika in #643

Full Changelog: 0.22.0...0.22.1

0.22.0

09 Jan 14:39
ae60a38
Compare
Choose a tag to compare
0.22.0 Pre-release
Pre-release

⚠️ This release introduces a breaking change. ⚠️

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 and dawarich_sidekiq services was increased to 4GB.
  • dawarich_app and dawarich_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

  • Add production environment configuration by @Freika in #437

Full Changelog: 0.21.6...0.22.0

0.21.6

07 Jan 14:20
2aa168c
Compare
Choose a tag to compare

Changed

  • Disabled visit suggesting job after import.
  • Improved performance of the User#years_tracked method.

Fixed

  • Inconsistent password for the dawarich_db service in docker-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

07 Jan 13:14
4eab6a4
Compare
Choose a tag to compare

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

  • Implement support for Geoapify as reverse geocoding service by @Freika in #628

Full Changelog: 0.21.4...0.21.5

0.21.4

05 Jan 20:44
Compare
Choose a tag to compare

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