Skip to content

Latest commit

 

History

History
716 lines (374 loc) · 31.3 KB

CHANGELOG.md

File metadata and controls

716 lines (374 loc) · 31.3 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.16.2 (2022-07-19)

Bug Fixes

  • use undefined as Popup default props (#402) (d08f0c5)

1.16.1 (2022-07-09)

Bug Fixes

  • revert transform runtime and bundle babel helpers (#390) (1e06b87)

1.16.0 (2022-07-09)

Features

  • upgrade tooling and enable transform mixed ES modules (#389) (2786337)

Bug Fixes

1.15.1 (2022-07-07)

Bug Fixes

1.15.0 (2022-03-17)

Features

Bug Fixes

  • add definition files to package.json (#358) (815cfc1)

1.14.4 (2021-11-11)

Bug Fixes

1.14.3 (2021-05-01)

Bug Fixes

1.14.2 (2020-09-20)

Features

  • adding bounds prop to MapGL component (#305) (72adfcd)

1.14.1 (2020-08-03)

Bug Fixes

  • marker: properly remove onClick event listener on unmount (abc28ee)

1.14.0 (2020-08-02)

Features

1.13.2 (2020-07-18)

Bug Fixes

1.13.1 (2020-04-26)

Bug Fixes

  • add support for the maxWidth option of MapboxGL's Popup. (h/t @WesWedding) (#287) (c6101c1)

1.13.0 (2020-02-14)

Features

  • mapgl: add fadeDuration, crossSourceCollisions, and locale props (9fe04e2), closes #279

1.12.4 (2020-01-22)

Bug Fixes

  • layer: add support for dynamic type, source and source-layer props #273 (#274) (f735323)

1.12.3 (2019-11-26)

Bug Fixes

1.12.2 (2019-11-12)

Bug Fixes

  • mapgl: add missing antialias prop (f363d94)

1.12.1 (2019-10-19)

Bug Fixes

  • Always remove the event handlers before the Layer component is ummounted (#259) (h/t warborn) (a9bcffc)

1.12.0 (2019-09-24)

Bug Fixes

  • filter: add validate prop (4ebe646)
  • filter: set filter to undefined on unmount (ca1186e)
  • filter: use Array.isArray to validate filter (ea99412)

Features

1.11.2 (2019-09-17)

Bug Fixes

  • mapgl: temporary fix for preserving layers on style change (d55be91), closes #255

1.11.1 (2019-09-12)

Bug Fixes

  • source: fix source flickering when using tiles prop (636ea4f), closes #254

1.11.0 (2019-09-11)

Bug Fixes

Features

  • trafficcontrol: add possibility to toggle traffic (eb120b8)
  • TrafficControl: Add traffic control button (73e2326)

1.10.0 (2019-08-21)

Features

  • mapgl: add layer-specific events support (54d6f72), closes #244

1.9.1 (2019-08-20)

Bug Fixes

  • source: chech if source exists when Source updated (d74608d)

1.9.0 (2019-08-11)

Features

  • Add support for the className prop of the Popup component (c8c8cf3)

1.8.0 (2019-07-05)

Bug Fixes

  • Layer: support layer id updates (4b92d58)

Features

Tests

  • Layer: add Layer unmount test (5f16e78)
  • MapGL: do not call onViewportChange if originalEvent is not present (ca0ac1c)
  • Source: do not render children until loaded (eeb9167)

1.7.0 (2019-07-03)

Bug Fixes

  • normalizeChildren: keep function children and handle empty children (61bdca9)

Features

1.6.1 (2019-07-01)

Bug Fixes

1.6.0 (2019-04-16)

Bug Fixes

  • Source: normalize Source children (a53a840)

Features

  • LanguageControl: add possibility to set language (8a0eca3)

1.5.0 (2019-04-11)

Features

  • Source: allow add Layers as children components in Source (73e2d45)

1.4.0 (2019-04-08)

Bug Fixes

  • Source: remove dependent layers on componentWillUnmount (3f228af)

Features

  • Source: add dynamic update for vector sources mapbox/mapbox-gl-js#8048 (7bcd8d7)

1.3.0 (2019-03-31)

Features

1.2.0 (2019-03-27)

Bug Fixes

  • check for map style on components unmounting (7634b7b)

Features

1.1.0 (2019-03-27)

Features

  • Geolocate Control: Add missing events (b9fe204) (h/t Tuizi)

1.0.0 (2019-03-14)

Bug Fixes

  • CustomLayer: fix layer id getter (dd278ed), closes #163
  • MapGL: rewrite layers ordering with normalizeChildren #163 (47c7cb8)

1.0.0-beta.0 (2019-03-11)

Features

  • Cluster: move Cluster component to separate package (6b09f97)
  • FeatureState: add FeatureState component (91b9fc8)

BREAKING CHANGES

  • Cluster: Cluster component was moved to separate package @urbica/react-map-gl-cluster

1.0.0-alpha.4 (2019-03-06)

Features

  • MapGL: add viewportChangeMethod and viewportChangeOptions props (85a04b7)
  • Source: drop separate source components (012f030)

BREAKING CHANGES

  • MapGL: default map viewportChangeMethod changed to jumpTo
  • Source: remove GeoJSONSource and VectorSource, use Source with type prop instead

1.0.0-alpha.3 (2019-03-05)

Bug Fixes

1.0.0-alpha.2 (2019-03-05)

1.0.0-alpha.1 (2019-03-05)

Bug Fixes

  • MapGL: fix map container flow type (84896f6)
  • MapGL: fix refs in children render (f038200)

1.0.0-alpha.0 (2019-03-04)

Bug Fixes

  • GeoJSONSource: fix flow typings (43ee25d)
  • GeoJSONSource: fix GeoJSONSource type (e503e2e)

Code Refactoring

  • Cluster: do not wrap user provided component in Marker by default (9dbbdf1)
  • Marker: switch to portal for rendering Marker content (a3611d4)
  • Popup: switch to portal for rendering popup content (3030747)

Features

  • GeoJSONSource: add GeoJSONSource (0c7c1b4)
  • VectorSource: add VectorSource (cf1f028)

BREAKING CHANGES

  • Cluster: rename element prop to component and no longer wrap it in Marker
  • Marker: element prop was removed, use children instead
  • Popup: element prop was removed, use children instead

0.7.0-beta.1 (2019-02-01)

Features

  • MapContext: expose MapContext (f933dcf)

0.7.0-beta.0 (2019-01-31)

Features

  • AttributionControl: add AttributionControl (71418d4)
  • CustomLayer: add CustomLayer support (c26e56c)
  • FullscreenControl: add FullscreenControl (4776dd8)
  • GeolocateControl: add GeolocateControl (8fdda19)
  • ScaleControl: add ScaleControl (b434cac)

0.6.0 (2019-01-17)

Bug Fixes

  • MapGL: handle previous props in _updateMapViewport (643c38d)
  • throw an error if layer or source props is not an Immutable objects (a43b320)

Features

  • Marker: add drag support (10c41f6)

0.6.0-beta.19 (2019-01-15)

Bug Fixes

  • improve flow typings (d81a82b)
  • improve flow typings (ca1a3e8)
  • Layer: make radius prop optional (ab79712)

Chores

Features

  • NavigationControl: add NavigationControl #116 (34ae92f)

BREAKING CHANGES

  • supercluster peer dependency is updated to 5.0.0

0.6.0-beta.18 (2018-10-15)

Bug Fixes

  • switch to class properties (d31a2f9)

Features

0.6.0-beta.17 (2018-09-27)

Bug Fixes

  • Marker: Re-render Marker if position changed (@matis-dk 4fa6126)

0.6.0-beta.16 (2018-09-25)

Bug Fixes

  • fix mapbox-gl flow types import (7b40115)
  • Cluster: remove moveend handler on componentWillUnmount (230bac5)
  • Marker: unmount Marker container on componentWillUnmount (d57852a)

0.6.0-beta.15 (2018-08-14)

Bug Fixes

  • add onPopupClose prop for Popup (#60) (b1735a4)
  • Layer: fix props type definitions (20655d1)
  • change deprecated componentWillReceiveProps to componentDidUpdate (b7bfa80)
  • fix propTypes defaults (e687a16)
  • MapGL: reverse layers paint order to respect layers before prop (107bb38)
  • Popup: rename onPopupClose to onClose (8591e3d)

Code Refactoring

  • remove external dependencies (2a8392c)

BREAKING CHANGES

  • Popup: Popup onPopupClose prop is renamed to onClick
  • supercluster is a peer dependency now

0.6.0-beta.14 (2018-05-31)

0.6.0-beta.13 (2018-05-25)

Features

  • MapGL: add cursorStyle prop (73294d3)
  • MapGL: add mapbox-gl event listener props support (c0b1ec5)

0.6.0-beta.12 (2018-05-22)

Bug Fixes

  • layer filters can be deep nested List now (#49) (665a8e0)

Features

  • Popup: add Popup component (c08f524)

0.6.0-beta.11 (2018-04-20)

Bug Fixes

  • MapGL: fix layer before prop passing (7ab5f4f)

0.6.0-beta.10 (2018-03-07)

Bug Fixes

  • MapGL: preserve children on mapStyle updates (b0381fb)

0.6.0-beta.9 (2018-03-01)

Bug Fixes

  • MapContext: use create-react-context polyfill (557f196)
  • package: update create-react-context to version 0.2.0 (#36) (64328bb)
  • fix react version (51093ee)

0.6.0-beta.9 (2018-03-01)

Bug Fixes

  • MapContext: use create-react-context polyfill (557f196)
  • package: update create-react-context to version 0.2.0 (#36) (64328bb)
  • fix react version (51093ee)

0.6.0-beta.8 (2018-02-15)

Bug Fixes

  • Source: remove dependent layers on source removal and support vector source tiles update (99d3390)

Features

  • switch to next React Context API (6c26667)

0.6.0-beta.7 (2018-02-15)

Bug Fixes

  • Source: remove dependent layers on source removal and support vector source tiles update (99d3390)

Features

  • switch to next React Context API (6c26667)

0.6.0-beta.6 (2018-02-14)

Bug Fixes

  • package: update @turf/helpers to version 6.0.0 (#30) (7c93762)
  • add localIdeographFontFamily, transformRequest and collectResourceTiming props (25d7b0c)

0.6.0-beta.5 (2017-12-21)

Bug Fixes

  • Layer: check for before layer existance (8b5bbbd)

0.6.0-beta.4 (2017-12-19)

0.6.0-beta.3 (2017-12-19)

Bug Fixes

  • Layer: add immutable paint and layout properties support (a3c1e82)

0.6.0-beta.2 (2017-12-19)

Bug Fixes

0.6.0-beta.1 (2017-12-01)

0.6.0-beta.0 (2017-12-01)

Features

  • SSR: do not require mapbox-gl on non-browser environments (2b1ebe1)

0.5.3 (2017-11-23)

Bug Fixes

  • Layer: unsubscribe from events on componentWillUnmount (#7) (6ea478d)

0.5.2 (2017-11-20)

0.5.1 (2017-11-17)

Bug Fixes

  • Cluster: recreate cluster on new props (24509ea)

0.5.0 (2017-11-14)

Features

  • Cluster: add Cluster component (330d6e6)

0.4.2 (2017-11-13)

Bug Fixes

  • MapGL: _updateMapStyle equality check (7b00541)

0.4.1 (2017-11-13)

Bug Fixes

0.4.0 (2017-11-13)

Bug Fixes

  • MapGL: emit onViewportChange only if user interacted with map (73555ee)

Features

  • Marker: add Marker component (a5ed563)

0.3.2 (2017-11-02)

Bug Fixes

  • Map: add scrollZoom prop (e916c87)

0.3.1 (2017-10-20)

Bug Fixes

  • MapGL: add getMap method to access map instance (df79111)

0.3.0 (2017-10-20)

Bug Fixes

Features

  • introduce Source and Layer components as MapGL children (da5d660)
  • Layer: introduce onEnter and onLeave props (684cb05)
  • MapGL: add a lot of Mapbox GL JS Map options as MapGL props (b9a6649)
  • MapGL: add renderWorldCopies prop (a33a944)

0.2.2 (2017-09-18)

Bug Fixes

  • do not handle viewport changes if there is no onViewportChange prop (285c22d)

0.2.1 (2017-09-15)

Bug Fixes

  • handle rotateend pitchend boxzoomend #2 (4f6176d)

0.2.0 (2017-09-12)

Features

0.1.0 (2017-08-10)

Bug Fixes

Features