From 5da032973ac4c1151a70ddf771d582b7bfe63513 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Fri, 9 Feb 2024 18:21:11 +0100 Subject: [PATCH] 2.0.0a0 --- docs/changelog.md | 64 +++++++++++++++++++++++++++++++++++++++++++++++ umap/__init__.py | 2 +- 2 files changed, 65 insertions(+), 1 deletion(-) diff --git a/docs/changelog.md b/docs/changelog.md index dd7a6e3c..8ef9833c 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,69 @@ # Changelog +## 2.0.0 - soon + +This release is inauguring a new era in versionning uMap: in the future, we'll take care of better documenting breaking changes, so expect more major releases from now on. More details on [how we version](https://docs.umap-project.org/en/master/release/#when-to-make-a-release). + +The two main changes are: +- on the front-end side, we now use native ESM modules, so this may break on old browsers (see our [ESlint configuration](https://github.com/umap-project/umap/blob/a0634e5f55179fb52f7c00e39236b6339a7714b9/package.json#L68)) +- on the back-end, we upgraded to Django 5.x, which drops support for Python 3.8 and Python 3.9. + +More details below! + +### Breaking changes + +- updrade to Django 5.x, which drops support for python < 3.10 +- remove `django-compressor`, so `umap compress` is not a valid command anymore (compress is now done in the `collectstatic` process itself) (#1544, #1539) +- remove support for settings starting with `LEAFLET_STORAGE_` (deprecated since 1.0.0) + +### New features + +- Ability to clone, delete and download all maps from user’s dashboard (#1430) +- Add experimental "map preview" in `/map/` endpoint (#1573) +- Adapt browser counter to the currently displayed features (#1572) +- Set preconnect link for tilelayer (#1552) +- Create an oEmbed endpoint for maps `/map/oembed/` (#1526) +- Use SVG for default icon (circle) (#1562) +- introduce `UMAP_HOME_FEED` to control which maps are shown on the home page (#1531) + +### Bug fixes + +- Uuse variable for color in browser if any (#1584) +- Non loaded layers should still be visible in legend and data browser (#1581) +- Do not try to reset tooltip of feature not on map (#1576) +- Empty file input when closing the importer panel (#1535) +- Honour datalayersControl=expanded in querystring (#1538) +- Fix icons for mailto and tel (#1547) +- Do not ask more classes than available values in choropleth mode (#1550) +- Build browser once features are on the map, not before (#1551) +- Replace `list.delete` call by the proper `remove` method +- Prevent datalayer to resetting to an old version on save (#1558) +- Messages coming from Django where never displayed in map view (#1588) +- Browser `inBbox` setting was not persistent (#1586) +- Popup was not opening on click on browser when `inBbox` was active (#1586) + +### Internal changes + +- Move XHR management to a module and use fetch (#1555) +- Use https://umap-project.org link in map footer (#1541) +- Add support for JS modules (+module for URLs handling) (#1463) +- Pin versions in pyproject.toml (#1514) +- Set a umap-fragment web component for lists (#1516) +- Load Leaflet as a module +- Replaced `L.U` global by `U` + +### Documentation + +- Define an explicit release stragegy (#1567) + +### Changed templates + +- added `header.html` to add extra code in `` +- added `branding.html` with site logo +- `registration/login.html`, which is not loaded in ajax anymore (and include `branding.html`) +- `umap/content.html` the JS call to load more have changed +- `umap/navigation.html`: it now includes `branding.html` + ## 1.13.2 - 2024-01-25 ### Bug fixes diff --git a/umap/__init__.py b/umap/__init__.py index ad992aed..84474bdb 100644 --- a/umap/__init__.py +++ b/umap/__init__.py @@ -1 +1 @@ -VERSION = "1.14.0a5" +VERSION = "2.0.0a0"