From 46a386cae7279ec55c9d76825045ef91db64764a Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Tue, 7 Dec 2021 11:57:38 +0100 Subject: [PATCH] add #8839 to changelog, minor cleanup of unused imports --- CHANGELOG.md | 5 +++++ modules/actions/connect.js | 1 - modules/actions/merge.js | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76e12239e..efeed7a70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -51,6 +51,7 @@ _Breaking developer changes, which may affect downstream projects or sites that * Tag keys of a multi-selection can now also be changed in the tags editor when the tag values differ in the selected features. ([#8836]) #### :scissors: Operations * Split operation now indicates more clearly when multiple ways will be affected and gives a hint how to restrict the operation to a single line ([#8818]) +* Many operations now better preserve OSM object history ([#8839], thanks [@tpetillon]) #### :camera: Street-Level * Rename OpenStreetCam overlay to KartaView ([#8807]) #### :white_check_mark: Validation @@ -62,6 +63,7 @@ _Breaking developer changes, which may affect downstream projects or sites that * Fix a bug which made it impossible to switch to a custom TMS imagery layer after using a custom WMS source and vice versa ([#8057]) * Fix a bug where the validator might show wrong tagging suggestions for a preset if another preset has a partial match ([#8828], thanks [@bhousel]) * Show correct vintage and other metadata for "Esri World Imagery"'s higher zoom levels +* Fix wrong order of route relation members after a split operation ([#8519], thanks [@tpetillon]) #### :earth_asia: Localization * Deprecate ~`t.html`~ for providing localized texts, which is replaced by the new method `t.append` which directly and safely appends the localized strings to the DOM ([#8817]) #### :hourglass: Performance @@ -73,6 +75,7 @@ _Breaking developer changes, which may affect downstream projects or sites that #### :hammer: Development [#8057]: https://github.com/openstreetmap/iD/issues/8057 +[#8519]: https://github.com/openstreetmap/iD/issues/8519 [#8771]: https://github.com/openstreetmap/iD/issues/8771 [#8781]: https://github.com/openstreetmap/iD/issues/8781 [#8782]: https://github.com/openstreetmap/iD/pull/8782 @@ -88,7 +91,9 @@ _Breaking developer changes, which may affect downstream projects or sites that [#8828]: https://github.com/openstreetmap/iD/pull/8828 [#8831]: https://github.com/openstreetmap/iD/issues/8831 [#8836]: https://github.com/openstreetmap/iD/issues/8836 +[#8839]: https://github.com/openstreetmap/iD/pull/8839 [@k-yle]: https://github.com/k-yle +[@tpetillon]: https://github.com/tpetillon # 2.20.2 ##### 2021-Oct-28 diff --git a/modules/actions/connect.js b/modules/actions/connect.js index 635d70812..594dd805a 100644 --- a/modules/actions/connect.js +++ b/modules/actions/connect.js @@ -1,6 +1,5 @@ import { actionDeleteNode } from './delete_node'; import { actionDeleteWay } from './delete_way'; -import { osmEntity } from '../osm'; import { utilArrayUniq, utilOldestID } from '../util'; diff --git a/modules/actions/merge.js b/modules/actions/merge.js index 70fc6fca3..289ce46af 100644 --- a/modules/actions/merge.js +++ b/modules/actions/merge.js @@ -1,4 +1,3 @@ -import { osmEntity } from '../osm'; import { osmTagSuggestingArea } from '../osm/tags'; import { utilArrayGroupBy, utilArrayUniq, utilCompareIDs } from '../util';