changelog

This commit is contained in:
Yohan Boniface 2024-02-13 17:51:14 +01:00
parent c86e01ffd0
commit 246c0eef18

View file

@ -5,64 +5,66 @@
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). 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: 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. * 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! More details below!
### Breaking changes ### Breaking changes
- updrade to Django 5.x, which drops support for python < 3.10 * 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 `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) * remove support for settings starting with `LEAFLET_STORAGE_` (deprecated since 1.0.0)
### New features ### New features
- Ability to clone, delete and download all maps from users dashboard (#1430) * Ability to clone, delete and download all maps from users dashboard (#1430)
- Add experimental "map preview" in `/map/` endpoint (#1573) * Add experimental "map preview" in `/map/` endpoint (#1573)
- Adapt browser counter to the currently displayed features (#1572) * Adapt browser counter to the currently displayed features (#1572)
- Set preconnect link for tilelayer (#1552) * Set preconnect link for tilelayer (#1552)
- Create an oEmbed endpoint for maps `/map/oembed/` (#1526) * Create an oEmbed endpoint for maps `/map/oembed/` (#1526)
- Use SVG for default icon (circle) (#1562) * Use SVG for default icon (circle) (#1562)
- introduce `UMAP_HOME_FEED` to control which maps are shown on the home page (#1531) * introduce `UMAP_HOME_FEED` to control which maps are shown on the home page (#1531)
* better algorithm (WCAG 21 based) to manage text and picto contrast (#1593)
### Bug fixes ### Bug fixes
- Uuse variable for color in browser if any (#1584) * Uuse variable for color in browser if any (#1584)
- Non loaded layers should still be visible in legend and data browser (#1581) * 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) * Do not try to reset tooltip of feature not on map (#1576)
- Empty file input when closing the importer panel (#1535) * Empty file input when closing the importer panel (#1535)
- Honour datalayersControl=expanded in querystring (#1538) * Honour datalayersControl=expanded in querystring (#1538)
- Fix icons for mailto and tel (#1547) * Fix icons for mailto and tel (#1547)
- Do not ask more classes than available values in choropleth mode (#1550) * Do not ask more classes than available values in choropleth mode (#1550)
- Build browser once features are on the map, not before (#1551) * Build browser once features are on the map, not before (#1551)
- Replace `list.delete` call by the proper `remove` method * Replace `list.delete` call by the proper `remove` method
- Prevent datalayer to resetting to an old version on save (#1558) * Prevent datalayer to resetting to an old version on save (#1558)
- Messages coming from Django where never displayed in map view (#1588) * Messages coming from Django where never displayed in map view (#1588)
- Browser `inBbox` setting was not persistent (#1586) * Browser `inBbox` setting was not persistent (#1586)
- Popup was not opening on click on browser when `inBbox` was active (#1586) * Popup was not opening on click on browser when `inBbox` was active (#1586)
### Internal changes ### Internal changes
- Move XHR management to a module and use fetch (#1555) * Move XHR management to a module and use fetch (#1555)
- Use https://umap-project.org link in map footer (#1541) * Use https://umap-project.org link in map footer (#1541)
- Add support for JS modules (+module for URLs handling) (#1463) * Add support for JS modules (+module for URLs handling) (#1463)
- Pin versions in pyproject.toml (#1514) * Pin versions in pyproject.toml (#1514)
- Set a umap-fragment web component for lists (#1516) * Set a umap-fragment web component for lists (#1516)
- Load Leaflet as a module * Load Leaflet as a module
- Replaced `L.U` global by `U` * Replaced `L.U` global by `U`
### Documentation ### Documentation
- Define an explicit release stragegy (#1567) * Define an explicit release stragegy (#1567)
### Changed templates ### Changed templates
- added `header.html` to add extra code in `<head>` * added `header.html` to add extra code in `<head>`
- added `branding.html` with site logo * added `branding.html` with site logo
- `registration/login.html`, which is not loaded in ajax anymore (and include `branding.html`) * `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/content.html` the JS call to load more have changed
- `umap/navigation.html`: it now includes `branding.html` * `umap/navigation.html`: it now includes `branding.html`
## 1.13.2 - 2024-01-25 ## 1.13.2 - 2024-01-25