Getting ready for 2.0.0
This commit is contained in:
parent
2b196ab614
commit
71febbaf3f
2 changed files with 15 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## 2.0.0 - soon
|
## 2.0.0 - 2024-02-16
|
||||||
|
|
||||||
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).
|
||||||
|
|
||||||
|
@ -8,17 +8,17 @@ The 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 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 back-end, we upgraded to Django 5.x, which drops support for Python 3.8 and Python 3.9.
|
||||||
* the OpenStreetMap OAuth1 client is not supported anymore
|
* the OpenStreetMap OAuth1 client is not supported anymore (now deprecated by OpenStreetMap.org)
|
||||||
* licence switch from WTFPL to AGPLv3: having an OSI valid licence was a request from our partners and sponsors (#1605)
|
* license switched from WTFPL to AGPLv3: having an OSI valid licence was a request from our partners and sponsors (#1605)
|
||||||
|
|
||||||
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 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)
|
* `django-compressor` has been removed, 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)
|
* removed support for settings starting with `LEAFLET_STORAGE_` (deprecated since 1.0.0)
|
||||||
* remove support for deprecated OpenStreetMap OAuth1 backend in favour of OAuth2
|
* removed support for deprecated OpenStreetMap OAuth1 backend in favour of OAuth2 (see below)
|
||||||
* `FROM_EMAIL` setting is replaced by `DEFAULT_FROM_EMAIL`, which is [Django standard](https://docs.djangoproject.com/en/5.0/ref/settings/#default-from-email)
|
* `FROM_EMAIL` setting is replaced by `DEFAULT_FROM_EMAIL`, which is [Django standard](https://docs.djangoproject.com/en/5.0/ref/settings/#default-from-email)
|
||||||
|
|
||||||
#### Migrate to OpenStreetMap OAuth2
|
#### Migrate to OpenStreetMap OAuth2
|
||||||
|
@ -27,6 +27,7 @@ More details below!
|
||||||
* add the key and secret in your settings (or as env vars):
|
* add the key and secret in your settings (or as env vars):
|
||||||
* `SOCIAL_AUTH_OPENSTREETMAP_OAUTH2_KEY=xxxx`
|
* `SOCIAL_AUTH_OPENSTREETMAP_OAUTH2_KEY=xxxx`
|
||||||
* `SOCIAL_AUTH_OPENSTREETMAP_OAUTH2_SECRET=xxxx`
|
* `SOCIAL_AUTH_OPENSTREETMAP_OAUTH2_SECRET=xxxx`
|
||||||
|
* if you changed `AUTHENTICATION_BACKENDS`, you need to now use `"social_core.backends.openstreetmap_oauth2.OpenStreetMapOAuth2"`
|
||||||
* run the migration command, that will migrate all accounts from OAuth1 to Oauth2:
|
* run the migration command, that will migrate all accounts from OAuth1 to Oauth2:
|
||||||
`umap migrate`
|
`umap migrate`
|
||||||
|
|
||||||
|
@ -34,17 +35,15 @@ More details below!
|
||||||
|
|
||||||
* Ability to clone, delete and download all maps from user’s dashboard (#1430)
|
* Ability to clone, delete and download all maps from user’s 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 features counter in the databrowser to the currently displayed features (#1572)
|
||||||
* 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)
|
|
||||||
* 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)
|
* better algorithm (WCAG 21 based) to manage text and picto contrast (#1593)
|
||||||
* show last used pictograms in a separate tab (#1595)
|
* show last used pictograms in a separate tab (#1595)
|
||||||
|
|
||||||
### Bug fixes
|
### Bug fixes
|
||||||
|
|
||||||
* Uuse variable for color in browser if any (#1584)
|
* Use 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)
|
||||||
|
@ -69,6 +68,8 @@ More details below!
|
||||||
* 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`
|
||||||
|
* Use SVG for default icon (circle) (#1562)
|
||||||
|
* Set preconnect link for tilelayer (#1552)
|
||||||
|
|
||||||
### Documentation
|
### Documentation
|
||||||
|
|
||||||
|
@ -81,6 +82,8 @@ More details below!
|
||||||
* `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`
|
||||||
|
* `umap/map_table.html`: total revamp
|
||||||
|
* `umap/user_dashboard.html`: improved table header (search + download all) + inline JS changed
|
||||||
|
|
||||||
## 1.13.2 - 2024-01-25
|
## 1.13.2 - 2024-01-25
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
VERSION = "2.0.0a3"
|
VERSION = "2.0.0"
|
||||||
|
|
Loading…
Reference in a new issue