Skip to content

Releases: biodiv-platform/naksha-components-react

v4.1.0

14 Mar 08:39
4ee7eef

Choose a tag to compare

  • move to react-map-gl@7.x from 6.x that brings many DX Improvements
  • moves entire monorepo to turborepo as monorepo manager and tsup as package builder making Improving DX

Breaking Changes / Migration Guide

Most functionality is kept same as is if you are just utilizing the component but few props are changed to keep things simple and to align with mapbox-gl package props

  • renamed prop gmapApiAccessToken to gmapAccessToken
  • renamed prop defaultViewPort to defaultViewState
  • renamed prop mapboxApiAccessToken to mapboxAccessToken
  • @ibp/naksha-mapbox-draw
    • renamed defaultFeatures to features
    • removed isPolygon prop
  • @ibp/naksha-mapbox-list
    • viewPort to defaultViewState
  • @ibp/naksha-mapbox-list is deprecated now use component directory directly since it's tightly bound to UI framework so it seemed better to not publish as npm module
  • since react-map-gl@7.x doesn't automatically import css files from mapbox-gl now you have to manually import them
    @import "mapbox-gl/dist/mapbox-gl.css";
    @import "@mapbox/mapbox-gl-draw/dist/mapbox-gl-draw.css";
    

Full Changelog: v4.0.5...v4.1.0

v4.0.1

14 Mar 08:38
5ef9026

Choose a tag to compare

Full Changelog: v3.13.1...v4.0.1

v3.9.4

03 Mar 18:33
42a07dd

Choose a tag to compare

v3.9.4

v3.8.7

15 Feb 07:12
ae808b0

Choose a tag to compare

  • Force UTF-8 for layer uploads

v3.8.5

01 Feb 17:23
3c8e06c

Choose a tag to compare

Changelog

  • fix: 🐛 viewport update glitch

v3.3.5

28 Oct 17:12

Choose a tag to compare

:recycle: removed default export

v3.3.4

23 Oct 17:11

Choose a tag to compare

:bug: error handling

v3.3.3

22 Sep 18:52

Choose a tag to compare

:bug: [sentry] getMap

v3.3.2

22 Sep 17:10

Choose a tag to compare

:bug: updated hook to new syntax

v3.3.1

22 Sep 17:04

Choose a tag to compare

:recycle: Updated infobar UI