Releases: rnmapbox/maps
Releases · rnmapbox/maps
v10.0.0-beta.26
What's Changed
- Fix: iOS v10 add/remove components from map by @mysport12 in #2136
- chore(actions): Upgrade to macos-12 by @mfazekas in #2131
- iOS v10: Bring Camera parity closer to v8 by @mysport12 in #2133
- chore(e2e): detox test handle location permission, click map to show … by @mfazekas in #2138
Full Changelog: v10.0.0-beta.25...v10.0.0-beta.26
v10.0.0-beta.25
Breaking Changes
The setup was changed - see install instructions for more details. In a nuthsell:
- On both android/ios to select mapbox implementation use
RNMapboxMapsImpl/$RNMapboxMapsImplvariable which can be one of (maplibre,mapbox(aka v10),mapbox-gl) - Default implementation is
maplibreas it requires not further setup. WARNING using mapbox styles frommaplibrehas different pricing than mapbox native sdk-s. - On Podfile
$RNMBGL.(pre|post)_installwas changed$RNMapboxMaps.(pre|post)_install - Package name was changed from
@react-native-mapbox-gl/mapsto@rnmapbox/maps. If you just testing with the v10 version you can use something like babel-plugin-transform-rename-import to keep using the old imports for a while. Mapbox.setAccessTokennow requiresMapbox.setWellKnownTileServeron maplibre.
What's Changed
• Mapbox V10 support (#1750)
New Contributors
- @lklepner made their first contribution in #1769
- @Artotim made their first contribution in #1777
- @jbreuer95 made their first contribution in #1780
- @demondayza made their first contribution in #1811
- @KiwiKilian made their first contribution in #1834
- @rastapasta made their first contribution in #1843
- @naveensrinivasan made their first contribution in #1865
- @felixgourdeau made their first contribution in #1889
- @VolkerLieber made their first contribution in #1911
- @1mike12 made their first contribution in #1919
- @warp made their first contribution in #1994
- @jpr0930 made their first contribution in #1997
- @Andarius made their first contribution in #2011
- @mysport12 made their first contribution in #2058
- @jakmak24 made their first contribution in #2060
- @wen-kai made their first contribution in #2074
- @rayansys made their first contribution in #2085
Full Changelog: 8.6.0-beta.0...v10.0.0-beta.25
8.6.0-beta.0
Changes:
- fix: add TypeScript type for MapViews's preferredFramesPerSecond prop (#1717)
- fix(example): update
/exampleproject (iOS only) to work with ARM-based Macs (#1703)
Note:
Repository was moved from github.com/react-native-mapbox-gl to github.com/rnmapbox
8.5.0
- build: update install guide and
/exampleproject for android dependencies (#1640) - build(turf): update to version 6.5.0 (#1638)
- fix(Camera) fix
zoomTomethod and expand Fit example (#1631) - ci: two scripts for linting with and without fix (#1630)
- feat(Camera) add an optional
allowUpdatesboolean prop (#1619) - refactor(example): remove unused modules and scripts (#1618)
- fix(react-native): update api to get rid of EventEmitter warnings (#1615)
- fix(Camera) persist zoom when changing from
boundstocenterCoordinate, fix zero padding not causing map to update, create unified example showcasing bounds/centerCoordinate/zoom/padding (#1614) - Update MapLibre to 5.12.1 on iOS (#1596)
- Update ShapeSource methods to make it usable with any cluster ( Use cluster itself instead of cluster_id as first argument for getClusterExpansionZoom/getClusterLeaves/getClusterChildren methods. Version < 9 methods still supports passing cluster_id as a first argument but a deprecation warning will be shown. ) (#1499)
8.4.0
- fix(iOS): pin mapLibre back to
5.12.0(#1589) - chore: improve GH workflows (#1588)
- build(deps): bump @expo/config-plugins from 3.1.0 to 4.0.3 (#1585)
- chore(pre-commit): run lint on TS files, change PR template (#1584)
- feat(example): update vertical alignment example (#1579)
- fix incorrect anchor calculation for PointAnnotation on iOS (#1576)
- style(eslint): align root and example with the same configuration (#1575)
- fix(mapLibre): support version
5.12.0upwards (#1571) - build: upgrade to RN
0.66(#1570) - build(android): add telemetry dependency to default build setup (#1550)
- feat(camera): Enable
paddingas a root-level prop on the camera, withbounds.padding*as fallbacks (#1538) - fix: revert pinned mapLibre version to
5.11.0(8a2b00e67ba6398f3f6e6f52e98b0f0cea437e4d)
8.3.0
- Fix TypeScript type for Callout's textStyle prop (#1450)
- Build(ios): pin maplibre version to 5.12.0 (#1454)
- Update geoUtils helpers types to correspond with
turf/helpers(#1455) - Fix crash with missing okhttp dependency (#1452)
- Move from react-native-testing-library => @testing-library/react-native (#1453)
- Feat(camera): maxBounds/(min|max)ZoomLevel can be updated dynamically (#1462)
- Refactor(example): clean up folder structure (#1464)
- Fix lineGradient showing wrong colors (#1471)
- Support tintColor on Android (#1465)
- Feat(android): dynamically update tintColor & add example (#1469
- Docs: make background in example pngs transparent (#1483
- Examples: align install steps with yarn, ignore created env files (#1484
- Style: run yarn lint (#1486
- Fix(plugin): Exclude arm64 architectures for simulator builds (#1490
- Feat(android): dynamically update tintColor & add example (#1469)
- Docs: make background in example pngs transparent (#1483)
- Examples: align install steps with yarn, ignore created env files (#1484)
- Style: run yarn lint (#1486)
- Test: add unit tests for component light (#1489)
- Feat: add Adds getClusterChildren method to ShapeSource (#1495)
8.2.1
fix issue when publishing to npm with prepare script react-native-mapbox-gl/maps@eab816d
8.2.0
- getClusterLeaves method for ShapeSource (#1411)
- Add logoPosition props to MapView to position the mapbox logo (#1396)
- Add compatibility with React 17/ npm7 (#1387)
- Add Expo config plugin (#1388)
- Android: Bump okhttp to 4.9.0 (#1390)
- Support dynamically changing local JSON in styleURL (#1399)
- Add missing types to SymbolLayerStyle & ImagesProps (#1360)
- Fix error while updating coordinates of RCTMGLImageSource (#1310)
8.2.0-beta2
8.2.0-beta1
Breaking changes:
- Use
pre_installhook to support nonuse_frameworks!usage #1262. Please add the following to yourPodfile:andpre_install do |installer| $RNMBGL.pre_install(installer) ... end
post_install do |installer| $RNMBGL.post_install(installer) ... end