Skip to content

Latest commit

 

History

History
288 lines (136 loc) · 15.5 KB

CHANGELOG.md

File metadata and controls

288 lines (136 loc) · 15.5 KB

Changelog

0.11.2 (2024-05-10)

Bug Fixes

  • map: set other container position to relative (#357) (8e77d70)

0.11.1 (2024-05-10)

Bug Fixes

  • advanced-marker: remove content element in cleanup (#351) (128df87)
  • map: set container position to relative (#356) (7fa2b71)

0.11.0 (2024-05-08)

⚠ BREAKING CHANGES

  • map: Introduction of map instance caching needed a change to the DOM-Structure produced by the map component (added a div-element owned by the Map component to contain the map instance).
  • map: The type passed to the onProjectionChange is changed from MapCameraChangedEvent to MapEvent, so there are no longer camera-props available for this event

Features

  • advanced-marker: add support for clickable option (#341) (ca96e54)
  • map: implement initial version of map-instance caching (#349) (4a6e83a)

Bug Fixes

  • map: change event-type of projectionChanged event to MapEvent (#346) (83f9309)

0.10.0 (2024-05-03)

Features

  • add solution-channel parameter (#334) (f93e43e)
  • advanced-marker: add style prop to add styles to content-element (#337) (e942fb5)
  • infowindow: add className and style props (92854c9)
  • infowindow: add missing options and events (92854c9)
  • infowindow: InfoWindow overhaul (#335) (92854c9)

Bug Fixes

  • infowindow: add missing cleanup for infowindow (92854c9)
  • infowindow: better dependency checks, using useDeepCompareEffect where needed (92854c9)
  • infowindow: removed unneeded dependency in infowindow hooks (92854c9)

0.9.0 (2024-04-18)

Features

  • better handling for missing map configuration (#308) (b318d67)

Bug Fixes

0.8.3 (2024-04-04)

Bug Fixes

  • api-loader didn't call callback on repeat load calls (743878a)
  • map controls crashing when invalid key is provided (#290) (5052dfb)

0.8.2 (2024-03-29)

Bug Fixes

  • memoize context-values to avoid excessive re-renders (#287) (bea68f9), closes #285

0.8.1 (2024-03-26)

Bug Fixes

  • InfoWindow.shouldFocus doesn't work with false as value (#278) (2f4b508)

0.8.0 (2024-03-20)

Features

0.7.1 (2024-02-23)

Bug Fixes

0.7.0 (2024-02-15)

⚠ BREAKING CHANGES

  • removed the useStreetViewPanorama() and useDirectionsService() hooks.

Features

Code Refactoring

0.6.1 (2024-02-08)

Bug Fixes

  • remove deep-link into fast-deep-equal package (#208) (f0be380)

0.6.0 (2024-02-07)

⚠ BREAKING CHANGES

  • The behaviour of the props controlling camera parameters (center, zoom, heading and tilt) changed. Unless you are using controlled props, you have to change the prop names from e.g. center to defaultCenter (the same goes for zoom, heading and tilt).

Code Refactoring

  • improved state-handling implementation (#181) (904b918)

0.5.4 (2024-02-01)

Bug Fixes

  • prevent passing empty parameters to ApiLoader (#193) (0601753)

0.5.3 (2024-02-01)

Bug Fixes

  • add loading=async to maps API url (cb1336f)
  • use parameter v instead of version (0626fb6)

0.5.2 (2024-02-01)

Bug Fixes

  • trigger release for new library function from commit 31f2655 (b5a13e5)

0.5.1 (2024-01-31)

Bug Fixes

  • infowindow double rendering and eslint warnings (#185) (404cc06)

0.5.0 (2024-01-18)

Features

  • handle API-key errors in map-component (#165) (26ccc15)

Bug Fixes

0.4.3 (2024-01-05)

Bug Fixes

  • allow AdvancedMarker to accept space-separated multiple class names (#143) (eab53e2)

0.4.2 (2023-12-22)

Bug Fixes

  • avoid re-render on every importLibrary() call (#135) (32b5894)

0.4.1 (2023-12-01)

Bug Fixes

  • move @types/google.maps to dependencies (#115) (9b788e1), closes #106
  • output an error when useMap is called outside APIProvider (#117) (5c30c3d)

0.4.0 (2023-11-28)

Features

  • Allow <Pin> glyphs to be passed as children (close #98) (#99) (6374453)

0.3.3 (2023-11-13)

Bug Fixes

0.3.2 (2023-11-09)

Bug Fixes

  • use moveCamera and useLayoutEffect for faster map-updates (e493d5f)

0.3.1 (2023-11-09)

Bug Fixes

0.3.0 (2023-11-09)

⚠ BREAKING CHANGES

  • removed MapProps.onLoadMap

Features

  • cleanup map, remove onLoadMap prop (d5e7dfd)
  • implement props for all map-events with custom MapEvent type (820a301)
  • update map viewport when props are changed (0b1d800)

0.2.1 (2023-11-07)

Bug Fixes

0.2.0 (2023-11-07)

Features

Bug Fixes

  • replace prop gmpDraggable with draggable in AdvancedMarker (#53) (1dbf477)
  • update usage of useMapsLibrary in AdvancedMarker (#55) (b01fc8b)

0.1.2 (2023-11-01)

Miscellaneous Chores

  • add registry-url to release action (9fa403b)

0.1.1 (2023-11-01)

Bug Fixes

  • empty commit to trigger release-please (b04a942)

0.1.0 (2023-10-27)

⚠ BREAKING CHANGES

  • loading multiple libraries at once is no longer supported, changed the return type of useMapsLibrary.

Features

  • useMapsLibrary returns API object instead of boolean (#26) (a3aa4c5)