Releases: umap-project/umap
2.8.0 - 2024-12-18
What's Changed
This release is mainly about being able to deploy uMap on helm/k8s, with a S3-compatible storage. Doing so,
we introduce two new map statuses:
- "draft" (which is now the default, unless you change the UMAP_DEFAULT_SHARE_STATUS setting), which
makes the maps private by default - "deleted", which make that now a delete will be a soft delete (and the command
umap empty_trash
could be run to do the real delete).
Also pursuing the code cleaning (more modules and spliting uMap core code from Leaflet rendering one).
Finally, this is now the javascript who create the datalayer uuid, and then push it to the back. This
is for preparing for the synchronisation between clients.
Breaking change
-
if you use
X-Accel-Redirect
with Nginx, you must make sure that theX-DataLayer-Version
header
is forwarded to the client. This is the line you usually need to add in your Nginx/internal/
config:add_header X-DataLayer-Version $upstream_http_x_datalayer_version;
New features
- add umap helm chart for Kubernetes deployment by @NaPs in #2286
- support storing layer data in S3 like servers by @yohanboniface in #2304
- introduce Map.share_status=DRAFT and DELETED by @yohanboniface in #2357
- highlight importer URL field when it is fulfilled by @yohanboniface in #2323
- swap import and settings buttons in edit toolbar by @yohanboniface in #2329
- make expression persistent in the overpass importer by @yohanboniface in #2339
- add basic autocompletion on inputs expecting a field name by @yohanboniface in #2281
- allow to configure the default label keys per instance by @yohanboniface in #2291
- display an image from Panoramax in OSM template when tag is defined by @yohanboniface in #2338
- add a disabled/active mode to the submit button of import panel by @yohanboniface in #2341
- open importers in a dialog instead of in the form by @yohanboniface in #2327
- display wikipedia link in OSM popup template when possible by @yohanboniface in #2358
- move labelKey field on the top datalayer form by @yohanboniface in #2350
- add elevation gain and loss in extended properties by @yohanboniface in #2343
- add a back button to importers dialog by @yohanboniface in #2364
- load all datalayers in parallel by @yohanboniface in #2370
- parse files in parallel at import when multiple by @yohanboniface in #2372
- allow to edit datalayer name in datalayers list by @yohanboniface in #2349
- experimental popup template for wikipedia by @yohanboniface in #2365
Bug fixes
- honour custom labelKey in default popup template by @yohanboniface in #2271
- honour
rules
andslideshow
when importing a umap file by @yohanboniface in #2270 - use our fork of csv2geojson to be able to parse lat/lon with commas by @yohanboniface in #2263
- allow spaces in iframe query strings in HTML formatting by @yohanboniface in #2292
- do not fail when navigating with popup arrows in cluster mode by @yohanboniface in #2307
- better login page styles and incentive by @davidbgk in #2293
- compute length of all shapes for MultiLineString (not only first) by @yohanboniface in #2310
- avoid map-panning on mobile using two fingers navigation by @fttriquet in #2340
- do not try to restore a newly created layer on reset by @yohanboniface in #2381
- do not unset map dirty status if it has not yet been saved once by @yohanboniface in #2382
- refactor importer feedback by @yohanboniface in #2363
- make sure we set X-DataLayer-Version even when using X-Accel-Redirect by @yohanboniface in #2361
- bring marker to front on highlight by @yohanboniface in #2377
- show private/draft maps in team maps for members by @yohanboniface in #2373
Internal changes
- introduce SaveManager class by @yohanboniface in #2240
- split umap.js in two modules by @yohanboniface in #2257
- make the client create the DataLayer.id by @yohanboniface in #2259
- move editToolBar and captionBar to modules by @yohanboniface in #2272
- update browserslist to be more explicit by @davidbgk in #2277
- explicitely set postgis as db engine by @yohanboniface in #2285
- add logo for social_core.backends.keycloak.KeycloakOAuth2 by @tomamplius in #2258
Changed templates
- umap/css.html:
- added
umap/css/bar.css
- added
umap/css/popup.css
- added
- umap/js.html:
- added
umap/css/bar.js
- added
- umap/templates/registration/login.html
- umap/templates/umap/map_init.html
- changed the way we instanciate
Umap
(instead ofU.Map
)
- changed the way we instanciate
- umap/templates/umap/user_dashboard.html
- changed the way we instanciate
Umap
(instead ofU.Map
)
- changed the way we instanciate
New Contributors
- @NaPs made their first contribution in #2286
- @tomamplius made their first contribution in #2258
- @fttriquet made their first contribution in #2340
2.8.0b0 - 2024-12-17
New features
- add a back button to importers dialog by @yohanboniface in #2364
- load all datalayers in parallel by @yohanboniface in #2370
- parse files in parallel at import when multiple by @yohanboniface in #2372
- allow to edit datalayer name in datalayers list by @yohanboniface in #2349
Bug fixes
- fix save center and zoom by @yohanboniface in #2371
- fix tilelayer switch not saved anymore by @yohanboniface in #2367
- show private/draft maps in team maps for members by @yohanboniface in #2373
- bring marker to front on highlight by @yohanboniface in #2377
- do not autoescape static tag by @yohanboniface in #2376
2.8.0a2 - 2024-12-12
Bug fixes
- make sure we set X-DataLayer-Version even when using X-Accel-Redirect by @yohanboniface in #2361
- refactor importer feedback by @yohanboniface in #2363
2.8.0a1 - 2024-12-11
What's Changed
- chore: make S3 dependencies optional by @yohanboniface in #2359
Full Changelog: 2.8.0a0...2.8.0a1
2.8.0a0 - 2024-12-11
What's Changed
This release is mainly about being able to deploy uMap on helm/k8s, with a S3-compatible storage. Doing so,
we introduce two new map statuses:
- "draft" (which is now the default, unless you change the UMAP_DEFAULT_SHARE_STATUS setting), which
makes the maps private by default - "deleted", which make that now a delete will be a soft delete (and the command
umap empty_trash
could be run to do the real delete).
Also pursuing the code cleaning (more modules and spliting uMap core code from Leaflet rendering one).
New features
- add umap helm chart for Kubernetes deployment by @NaPs in #2286
- support storing layer data in S3 like servers by @yohanboniface in #2304
- introduce Map.share_status=DRAFT and DELETED by @yohanboniface in #2357
- highlight importer URL field when it is fulfilled by @yohanboniface in #2323
- swap import and settings buttons in edit toolbar by @yohanboniface in #2329
- make expression persistent in the overpass importer by @yohanboniface in #2339
- add basic autocompletion on inputs expecting a field name by @yohanboniface in #2281
- allow to configure the default label keys per instance by @yohanboniface in #2291
- display an image from Panoramax in OSM template when tag is defined by @yohanboniface in #2338
- add a disabled/active mode to the submit button of import panel by @yohanboniface in #2341
- open importers in a dialog instead of in the form by @yohanboniface in #2327
- display wikipedia link in OSM popup template when possible by @yohanboniface in #2358
- move labelKey field on the top datalayer form by @yohanboniface in #2350
- add elevation gain and loss in extended properties by @yohanboniface in #2343
Bug fixes
- honour custom labelKey in default popup template by @yohanboniface in #2271
- honour
rules
andslideshow
when importing a umap file by @yohanboniface in #2270 - use our fork of csv2geojson to be able to parse lat/lon with commas by @yohanboniface in #2263
- allow spaces in iframe query strings in HTML formatting by @yohanboniface in #2292
- do not fail when navigating with popup arrows in cluster mode by @yohanboniface in #2307
- better login page styles and incentive by @davidbgk in #2293
- compute length of all shapes for MultiLineString (not only first) by @yohanboniface in #2310
- avoid map-panning on mobile using two fingers navigation by @fttriquet in #2340
Internal changes
- introduce SaveManager class by @yohanboniface in #2240
- split umap.js in two modules by @yohanboniface in #2257
- make the client create the DataLayer.id by @yohanboniface in #2259
- move editToolBar and captionBar to modules by @yohanboniface in #2272
- update browserslist to be more explicit by @davidbgk in #2277
- explicitely set postgis as db engine by @yohanboniface in #2285
- add logo for social_core.backends.keycloak.KeycloakOAuth2 by @tomamplius in #2258
Changed templates
- umap/css.html:
- added
umap/css/bar.css
- added
umap/css/popup.css
- added
- umap/js.html:
- added
umap/css/bar.js
- added
- umap/templates/registration/login.html
- umap/templates/umap/map_init.html
- changed the way we instanciate
Umap
(instead ofU.Map
)
- changed the way we instanciate
- umap/templates/umap/user_dashboard.html
- changed the way we instanciate
Umap
(instead ofU.Map
)
- changed the way we instanciate
2.7.3 - 2024-12-10
2.7.2 - 2024-11-15
Bug fixes
- use our fork of csv2geojson to be able to parse lat/lon with commas
2.7.1 - 2024-10-25
Bug fixes
- use shutil.move instead of Path.rename to move to purgatory by @yohanboniface in #2236
- always unset editedFeature on editPanel close by @yohanboniface in #2237
2.7.0 - 2024-10-24
New features
- delete datalayer's files on delete by @yohanboniface in #2158
- very minimal CSV export of users and maps in admin by @yohanboniface in #2131
- add a setting to prevent users from editing their profile by @davidbgk in #2133
- allow to search by code INSEE in communes importer by @yohanboniface in #2188
- add a profile drop-down menu by @yohanboniface in #2194
- only add visible markers (and tooltips) to DOM by @yohanboniface in #2204
- add a global toolbox in browser by @yohanboniface in #2160
- add importer for French cadastre by @yohanboniface in #2223
- display the number of connected peers in the interface. by @almet in #2177
- allow to run umap with asgi by @yohanboniface in #2209
Bug fixes
- make sure maps of demo instances of uMap are no indexed by @yohanboniface in #2203
- fix contextmenu positionning when map is not full screen by @yohanboniface in #2198
- honour carriage returns in permanent credits by @yohanboniface in #2206
- do not show browser counter when layer is empty or not loaded by @yohanboniface in #2217
- fix dispeared icons from panel titles by @yohanboniface in #2222
- use correct icon for layer download advanced action by @yohanboniface in #2224
- do not try to create legend for non loaded classified layer by @yohanboniface in #2234
- icon alignement in browser, and user icon-xxx class by @yohanboniface in #2132
- editing coordinates manually would not be saved by @yohanboniface in #2147
- remoteData helpEntries were not on the right format by @yohanboniface in #2183
- polygon with interactive=false was still interactive by @yohanboniface in #2151
- allow to draw new proprotional circles and to drag them by @yohanboniface in #2172
- make sure anonymous is owner at create by @yohanboniface in #2189
Internal changes
- deactivate contextmenu and shortcuts in map preview by @yohanboniface in #2199
- use pytest-rerunfailed by @yohanboniface in #2205
- simplify contextmenu items by @yohanboniface in #2216
- Docker:
version
is obsolete. by @Luen in #2220 - get Github release notes from command line by @yohanboniface in #2130
- rework permissions panel by @yohanboniface in #2121
- new tutorial and improvements by @C-Sophie by @davidbgk in #2156 #2167
- use GeoRSStoGeoJSON as ES module by @yohanboniface in #2168
- add clean_tilelayer management command by @yohanboniface in #1670
- send remote operations to peers when they join by @almet in #2082
- spawn the websocket server in the docker image. by @almet in #2175
- use our own contextmenu by @yohanboniface in #2109
- display user maps in admin and add in csv export by @yohanboniface in #2169
- remove zoom in and out from contextmenu by @yohanboniface in #2195
Changed templates
- umap/css.html:
- removed
umap/vendors/contextmenu/leaflet.contextmenu.min.css
- added
umap/css/contextmenu.css
- removed
- umap/js.html:
- removed
umap/vendors/contextmenu/leaflet.contextmenu.min.js
- removed
- umap/templates/umap/map_detail.html:
- changed robot directive
- umap/templates/umap/dashboard_menu.html
- use of
UMAP_ALLOW_EDIT_PROFILE
- use of
New Contributors
Full Changelog: 2.6.3...2.7.0⏎
2.7.0b3 - 2024-10-16
New features
- only add visible markers (and tooltips) to DOM by @yohanboniface in #2204
- add a global toolbox in browser by @yohanboniface in #2160
Bug fixes
- make sure maps of demo instances of uMap are no indexed by @yohanboniface in #2203
- fix contextmenu positionning when map is not full screen by @yohanboniface in #2198
- honour carriage returns in permanent credits by @yohanboniface in #2206
- do not show browser counter when layer is empty or not loaded by @yohanboniface in #2217
Internal changes
- deactivate contextmenu and shortcuts in map preview by @yohanboniface in #2199
- use pytest-rerunfailed by @yohanboniface in #2205
- simplify contextmenu items by @yohanboniface in #2216