github Freika/dawarich 0.30.0

latest releases: 0.31.0, 0.30.13-rc.1, 0.30.12...
one month ago

⚠️ If you were using 0.29.2 RC, please run the following commands in the console, otherwise read on. ⚠️

# This will delete all tracks 👇
Track.delete_all

# This will remove all tracks relations from points 👇
Point.update_all(track_id: nil)

# This will create tracks for all users 👇
User.find_each do |user|
  Tracks::CreateJob.perform_later(user.id, start_at: nil, end_at: nil, mode: :bulk)
end

Added

  • In the User Settings -> Background Jobs, you can now disable visits suggestions, which is enabled by default. It's a background task that runs every day around midnight. Disabling it might be useful if you don't want to receive visits suggestions or if you're using the Dawarich iOS app, which has its own visits suggestions.
  • Tracks are now being calculated and stored in the database instead of being calculated on the fly in the browser. This will make the map page load faster.

Changed

  • Don't check for new version in production.
  • Area popup styles are now more consistent.
  • Notification about Photon API load is now disabled.
  • All distance values are now stored in the database in meters. Conversion to user's preferred unit is done on the fly.
  • Every night, Dawarich will try to fetch names for places and visits that don't have them. #1281 #902 #583 #212
  • ⚠️ User settings are now being serialized in a more consistent way ⚠. GET /api/v1/users/me now returns the following data structure:
{
  "user": {
    "email": "test@example.com",
    "theme": "light",
    "created_at": "2025-01-01T00:00:00Z",
    "updated_at": "2025-01-01T00:00:00Z",
    "settings": {
      "maps": {
        "url": "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
        "name": "Custom OpenStreetMap",
        "distance_unit": "km"
      },
      "fog_of_war_meters": 51,
      "meters_between_routes": 500,
      "preferred_map_layer": "Light",
      "speed_colored_routes": false,
      "points_rendering_mode": "raw",
      "minutes_between_routes": 30,
      "time_threshold_minutes": 30,
      "merge_threshold_minutes": 15,
      "live_map_enabled": false,
      "route_opacity": 0.3,
      "immich_url": "https://persistence-test-1752264458724.com",
      "photoprism_url": "",
      "visits_suggestions_enabled": true,
      "speed_color_scale": "0:#00ff00|15:#00ffff|30:#ff00ff|50:#ffff00|100:#ff3300",
      "fog_of_war_threshold": 5
    }
  }
}
  • Links in emails will be based on the DOMAIN environment variable instead of SMTP_DOMAIN.

Fixed

  • Swagger documentation is now valid again.
  • Invalid owntracks points are now ignored.
  • An older Owntrack's .rec format is now also supported.
  • Course and course accuracy are now rounded to 8 decimal places to fix the issue with points creation.

💙 This release is supported by Steven B., James Manolios, chenrik, aldumil, derpderpington, Chippie, dint, jhalpern, Lex Fradski, Schlufo, cyberswan.at, craftyklaus, JMyrng, Andre, hogenf, naraxius, Embrace, martin4861, Alex, evetters, GregF, Jon Coffee, Lukas, Robbie G, Kilian, Hans G, Chris, tabaha, Andre, Michael C, Chris, gesus, Jonah B., Dante, daallex, Tanner A., Matthias B., Milien M., Mathias, Travis S., Michael J., Matthew F., Johnathan D., bleibdirtroy, no1etal,Ashwin C., dixet, Bailey J., Alex D., Benjamin M., Daniel A. and BeeHappy on Patreon and KoFi 💙

I also want to say thank you to our Dawarich Cloud users for your trust and support.

What's Changed

Full Changelog: 0.29.1...0.30.0

Don't miss a new dawarich release

NewReleases is sending notifications on new releases.