Files
editor/CHANGELOG.md
Harel M 1730e9cb1c Codemirror 5 to 6 upgrade (#1386)
## Launch Checklist

- Resolves #891

This PR upgrades code mirror from version 5 to version 6.
It should not change any functionality dramatically.
The filter and other expressions have line numbers now as I was not able
to remove those without introducing a lot of code, which I preferred not
to.

Before:

<img width="571" height="933" alt="image"
src="https://github.com/user-attachments/assets/02f047ee-0857-4eb1-9431-2620099ea025"
/>


After:
<img width="571" height="933" alt="image"
src="https://github.com/user-attachments/assets/7cf60155-7cd9-4c06-915e-dec2ae8247fc"
/>



 - [x] Briefly describe the changes in this PR.
 - [x] Link to related issues.
- [x] Include before/after visuals or gifs if this PR includes visual
changes.
 - [x] Write tests for all new functionality.
 - [x] Add an entry to `CHANGELOG.md` under the `## main` section.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-17 19:51:26 +02:00

2.7 KiB

main

Features and improvements

  • Added translation to "Links" in debug modal
  • Add support for hillshade's color arrays and relief-color elevation expression
  • Change layers icons to make them a bit more distinct
  • Remove @mdi packages in favor of react-icons
  • Add ability to control the projection of the map - either globe or mercator
  • Add markdown support for doc related to the style-spec fields
  • Added global state modal to allow editing the global state
  • Added color highlight for problematic properties
  • Upgraded codemirror from version 5 to version 6
  • ...Add new stuff here...

🐞 Bug fixes

  • Fixed an issue when clicking on a popup and then clicking on the map again
  • Fix modal close button possition
  • Fixed an issue with the generation of tranlations
  • Fix missing spec info when clicking next to a property
  • Fix Firefox open file that stopped working due to react upgrade
  • Fix issue with missing bottom error panel
  • ...Add new stuff here...

3.0.0

Features and improvements

  • Fix radio/delete filter buttons styling regression
  • Add german translation
  • Use same version number for web and desktop versions
  • Add scheme type options for vector/raster tile
  • Add tileSize field for raster and raster-dem tile sources
  • Update Protomaps Light gallery style to v4
  • Add support to edit local files on the file system if supported by the browser
  • Upgrade to MapLibre LG JS v5
  • Upgrade Vite 6 and Cypress 14 (#970)
  • Upgrade OpenLayers from v6 to v10
  • When loading a style into localStorage that causes a QuotaExceededError, purge localStorage and retry
  • Remove react-autobind dependency
  • Remove usage of legacy childContextTypes API
  • Refactor Field components to use arrow function syntax
  • Replace react-autocomplete with Downshift in the autocomplete component
  • Add LocationIQ as supported map provider with access token field and gallery style
  • Use maputnik go binary for the docker image to allow file watching
  • Revmove support for debug and localport url parameters
  • Replace react-sortable-hoc with dnd-kit to avoid react console warnings and also use a maintained library

🐞 Bug fixes

  • Fix incorrect handing of network error response (#944)
  • Show an error when adding a layer with a duplicate ID
  • Replace deprecated ReactDOM.render usage with createRoot and drop the DOMNodeRemoved cleanup hack

2.1.1

Features and improvements

  • Add GitHub workflows for releasing new versions
  • Update desktop build to pull from this repo (#922)

2.0.0

  • Update MapLibre to version 4 (#872)
  • Start continuous deployment of maputnik website

1.7.0