Skip to content

Releases: GeotrekCE/Geotrek-admin

Geotrek-admin 2.117.0

28 Jul 12:54
Compare
Choose a tag to compare

⚠️ Breaking change

The mobile API now references the city's internal ID instead of its code for the Trek list and detail endpoints, since codes are not used in all countries.

What's Changed

💫 Improvements

🐛 Bug fixes

📝 Documentation

  • Update hidden form fields list and postgres version recommandations by @bruhnild in #4846

🏗️ Maintenance

Full Changelog: 2.116.1...2.117.0

Geotrek-admin 2.116.1

15 Jul 08:22
Compare
Choose a tag to compare

⚠️ Deprecation notice

The use of Facebook references in portals has been deprecated.

What's Changed

💫 Improvements

🐛 Bug fixes

📝 Documentation

♻️ Refactoring

🏗️ Maintenance

Full Changelog: 2.116.0...2.116.1

Geotrek-admin 2.116.0

03 Jul 09:26
Compare
Choose a tag to compare

⚠️ Warning

Due to changes in the v2 and mobile APIs:

  • We recommend clearing caches after the update.

  • If your Geotrek-admin is connected to:

    • A Geotrek-rando: you should update it to version 3.25.2 or above.
    • A Geotrek-widget: you should update it to version 0.28.0 or above.
      Note: Geotrek-widgets are automatically updated to the latest version, unless you specified a tag.
    • Any third-party application: make sure it is compatible with the updated API.
Additional information

The id field has been added to the City model and is now the primary key, replacing the use of the code field.

This change was driven by the need for internationalization: in some countries, cities do not have unique codes, making the code field insufficient as an identifier.

Impact

The v2 and mobile APIs no longer return the city code as the resource identifier, but instead return its ID (an auto-incremented integer).

The Rando and Widget products must be updated, especially in cases where the city code is used (e.g., weather widget, filtering, etc.).

Changes to the API

The affected endpoints are:

  • GET /city/

    • mobile API: returns ("id", "code", "name")
    • v2 API: returns ("id", "code", "geometry", "name", "published")
  • GET /city/{code}/ → becomes GET /city/{id}/

  • The following cities filters now use the ID instead of the code:

    • GET /trek/
    • GET /tour/
    • GET /touristiccontent/
    • GET /touristicevent/
    • GET /outdoor_site/
    • GET /outdoor_course/

The returned cities fields now contain cities IDs.

The code field remains present in API responses but should no longer be used as a unique identifier.

Summary

  • Services that use the cities field in the v2 API should now use cities_codes.
  • Services that use the departure_city field in the v2 API should now use departure_city_code.

💥 Breaking change

The v2 and mobile APIs now reference the city's internal ID instead of its code, since codes are not used in all countries.

What's Changed

✨ New features

💫 Improvements

🐛 Bug fixes

📝 Documentation

👷 CI

  • Bump ishworkh/container-image-artifact-download from 2.0.0 to 2.1.0 by @dependabot in #4778

🏗️ Maintenance

Read more

Geotrek-admin 2.115.1

21 May 14:41
Compare
Choose a tag to compare

⚠️ Breaking change

The assigned_user attribute in reports has been renamed to current_user.
Please ensure assigned_user is not mentioned in your custom settings file (custom.py) or update it to current_user.

What's Changed

💫 Improvements

🐛 Bug fixes

  • Make eid for OpenStreetMap object as type+id by @PartyNell in #4678
  • 🐛 [BUG] Use server name instead of allowed hosts to create a report's full url (#4588) by @justinefricou in #4655
  • Ensure linear topologies don't fragment when modified despite marker shift (refs #4657) by @juggler31 in #4671

📝 Documentation

  • [📝 Documentation] Add missing parameters from base.py by @bruhnild in #4690

🏗️ Maintenance

Full Changelog: 2.115.0...2.115.1

Geotrek-admin 2.115.0

29 Apr 14:02
ea686a3
Compare
Choose a tag to compare

⚠️ Warning

This release changes the InformationDesk photo attribute from FileField to ImageField. All photos defined that are nor images nor SVGs are deleted from the photo attribute but backed up as attachments that can be managed via the admin interface.

What's Changed

💫 Improvements

🐛 Bug fixes

📝 Documentation

  • Update doc and changelog by @bruhnild in #4578
  • Update instructions to regenerate UML diagrams for data model by @bruhnild in #4594
  • Update infos about map settings and tourism/outdoor intersection margin by @bruhnild in #4654
  • Add missing parameters from base.py by @bruhnild in #4676

♻️ Refactoring

✅ Tests

👷 CI

🏗️ Maintenance

Other Changes

Full Changelog: 2.114.0...2.115.0

Geotrek-admin 2.114.0

13 Mar 16:05
Compare
Choose a tag to compare

⚠️ Warning

This version drops support of Ubuntu 18.04 (Bionic) and pre-deprecates support of Ubuntu 20.04 (Focal) for debian packages (update are maintained for the moment, not fresh install).

In addition, Ubuntu 24.04 is officially supported.

Please update or migrate your server to Ubuntu 24.04.

What's Changed

💫 Improvements

🐛 Bug fixes

📝 Documentation

🏗️ Maintenance

Other Changes

New Contributors

Full Changelog: 2.113.1...2.114.0

Geotrek-admin 2.113.1

17 Feb 14:48
Compare
Choose a tag to compare

⚠️ Warnings

  • It is the last release for Ubuntu Bionic 18.04. Next release will add support to Ubuntu 24.04. 20.04 will continue to be supported for a while.

What's Changed

💫 Improvements

🐛 Bug fixes

📝 Documentation

  • Add pgrouting binaries for bionic and documentation by @submarcos in #4472
  • [DOC] Update documentation theme and content. Re-organize sections. by @babastienne in #4484
  • [DOC] Add new info about adding languages by @bruhnild in #4486

🏗️ Maintenance

Other Changes

  • Allow to customize develoment postgres docker image in .env file by @submarcos in #4483
  • Add clean and flush make command to init data in development mode by @submarcos in #4485

Full Changelog: 2.113.0...2.113.1

Geotrek-admin 2.113.0

30 Jan 15:19
Compare
Choose a tag to compare

💥 Breaking changes

This version uses pgRouting. You need to install this extension in your database before upgrading to this version. See :
https://geotrek.readthedocs.io/en/latest/installation-and-configuration/upgrade.html#from-geotrek-admin-2-113-0

⚠️ Warnings

  • The database migration to this version might take several minutes due to the generation of pgRouting's network topology.

  • When adding a via-point to a linear object's topology, it is now required to drop the new marker onto a path before the updated route is displayed, as the preview is no longer available when dragging the marker. This is due to the route computation now being performed on the backend. For more information, see #4286

  • After adding new paths, pre-existing topologies can follow routes that are no longer the shortest. When editing topology-based linear objects through the interface, their route will no longer be automatically recomputed to the shortest option, which was unwanted behavior. This means you might now encounter topologies that take a detour despite not using a via-point marker. Be careful when editing such a route, as moving or adding neighboring markers will remove the detour. Note: this does not address the topology ordering issue when adding new paths. For more information, see #4286

What's Changed

💫 Improvements

⚡ Performances

🏗️ Maintenance

Full Changelog: 2.112.0...2.113.0

Geotrek-admin 2.112.0

14 Jan 14:14
Compare
Choose a tag to compare

What's Changed

💫 Improvements

🐛 Bug fixes

  • 🐛 [BUG] Prevent objects from being returned several times in APIv2 by filtering on ManyToMany (refs #4448) by @Chatewgne in #4449
  • 🐛 [BUG] Fix missing languages for 'published' field on Touristic Content in APIv2 (#4439) by @Chatewgne in #4440

⚡ Performances

  • ⚡ [PERF] Delay loading filter form in List Views by @Chatewgne in #4432

📝 Documentation

✅ Tests

🏗️ Maintenance

Full Changelog: 2.111.0...2.112.0

Geotrek-admin 2.111.0

05 Dec 13:28
Compare
Choose a tag to compare

What's Changed

✨ New features

💫 Improvements

🐛 Bug fixes

📝 Documentation

👷 CI

🏗️ Maintenance

Full Changelog: 2.110.0...2.111.0