Releases: maplibre/maplibre-native
node-v5.2.0
@maplibre/maplibre-gl-native 5.2.0
What's Changed
- Adjust Typings for Node Platform by @etnav in #871
- Node platform improvements (added setSize and a new render call without render options object) by @tdcosta100 in #891
- Move node ci+release to self hosted Ubuntu arm64 by @acalcutt in #873
- Add windows support by @tdcosta100 in #707
- Add Typings for Node Platform by @KiwiKilian in #766
- Upgrade nan for node 19.x support by @mnutt in #853
- Improve node docs with available platforms by @KiwiKilian in #786
- Avoid implicit casts by @tdcosta100 in #787
- Update node (ubuntu-20.04, arm64) docker build workflow by @acalcutt in #804
- Move module.cmake out of mapbox/cmake-node-module by @acalcutt in #821
- Add mbgl-compiler-options to Node targets by @tdcosta100 in #826
- Avoid implicit casts and make code more portable by @tdcosta100 in #716
- Use
*_t
and*_v
trait helpers from C++17 STL by @louwers in #731 - Avoid implicit casts and portable printf with size_t by @tdcosta100 in #722
Full Changelog: node-v5.1.1...node-v5.2.0
node-v5.2.0-pre.1
@maplibre/maplibre-gl-native 5.2.0-pre.1
What's Changed
- Adjust Typings for Node Platform by @etnav in #871
- Node platform improvements (added setSize and a new render call without render options object) by @tdcosta100 in #891
Full Changelog: node-v5.2.0-pre.0...node-v5.2.0-pre.1
node-v5.2.0-pre.0
@maplibre/maplibre-gl-native 5.2.0-pre.0
What's Changed
- Add windows support by @tdcosta100 in #707
- Add Typings for Node Platform by @KiwiKilian in #766
- Upgrade nan for node 19.x support by @mnutt in #853
- Improve node docs with available platforms by @KiwiKilian in #786
- Avoid implicit casts by @tdcosta100 in #787
- Update node (ubuntu-20.04, arm64) docker build workflow by @acalcutt in #804
- Move module.cmake out of mapbox/cmake-node-module by @acalcutt in #821
- Add mbgl-compiler-options to Node targets by @tdcosta100 in #826
- Avoid implicit casts and make code more portable by @tdcosta100 in #716
- Use
*_t
and*_v
trait helpers from C++17 STL by @louwers in #731 - Avoid implicit casts and portable printf with size_t by @tdcosta100 in #722
Full Changelog: node-v5.1.1...node-v5.2.0-pre.0
android-v10.0.2
🐞 Bug fixes
MapboxFusedLocationEngineImpl
constructor made public to create customLocationEngineProvider
(#850)
android-v10.0.1
🐞 Bug fixes
- Fixed regression with
RasterSource
native code throwing an exception expecting bound after switching toFloatArray
(#830). LocationEngineProxy
was made public so that the migration path suggested in the 10.0.0 changelog for those wanting to use GMS Location Services can actually be implemented (#832).
android-v10.0.0
✨ Features and improvements
-
💥 Breaking: Changed resourcePrefix to
maplibre_
frommapbox_
(#647) and renamed resources accordingly. Note that this is a breaking change since the names of public resources were renamed as well. Replaced Mapbox logo with MapLibre logo.To migrate:
If you use any of the public Android resources, you will get an error that they can not be found. Replace the prefix of each, e.g.R.style.mapbox_LocationComponent
->R.style.maplibre_LocationComponent
. -
💥 Breaking: several deprecated overloads of
LocationComponent.activateLocationComponent
were removed. UseLocationComponentActivationOptions.Builder
instead.To migrate, as an example:
locationComponent.activateLocationComponent(context, style, false, locationEngineRequest, locationComponentOptions)
becomes
val options = LocationComponentActivationOptions.builder(context, style).useDefaultLocationEngine(false).locationEngineRequest(locationEngineRequest).locationComponentOptions(locationComponentOptions).build() locationComponent.activateLocationComponent(options)
-
💥 Breaking: the
LocationEngine
implemented with Google Location Services has been removed to make MapLibre GL Native for Android fully FLOSS (#379).To migrate:
Include the source code of the removedGoogleLocationEngineImpl
in your source tree.Pass an instance of
LocationEngine
based onGoogleLocationEngineImpl
toLocationComponentActivationOptions.Builder.locationEngine
(this was done in a now removedLocationEngineProvider
class):val locationEngine = LocationEngineProxy<Any>(GoogleLocationEngineImpl(context)) val options = LocationComponentActivationOptions.builder(context, style).locationEngine(locationEngine).build() locationComponent.activateLocationComponent(options)
-
💥 Breaking: The static
LocationEngineResult.extractResult
can no longer extract aLocationEngineResult
from a Google Play intent.To migrate, include and use the previous implementation in your source tree.
-
Improve Kotlinification of LatLng (#742)
-
Increment minSdkVersion from 14 to 21, as it covers 99.2%% of the newer devices since 2014 and lessens the backward compatibility burden (#630)
🐞 Bug fixes
- Catches NaN for onMove event (621)
BitmapUtils.mergeBitmap
was deprecated,BitmapUtils.mergeBitmaps
is a new method that does not offset views rendered on top of snapshots (#733)- Fixed a crash when native code was accessing the LatLngBounds class #655
⛵ Dependencies
- Revert "Revert "Gradle update"" - Update Gradle from v3 to v7 (#619)
android-v10.0.0-pre.0
✨ Features and improvements
- Breaking: Changed resourcePrefix to
maplibre_
frommapbox_
647 and renamed resources accordingly. Note that this is a breaking change since the names of public resources were renamed as well. Replaced Mapbox logo with MapLibre logo. - GMS location: Replace new LocationRequest() with LocationRequest.Builder, and LocationRequest.PRIORITY_X with Priority.PRIORITY_X (620)
🐞 Bug fixes
- Increment minSdkVersion from 14 to 21, as it covers 99.2%% of the newer devices since 2014
- and lessens the backward compatibility burden (630)
- Catches NaN for onMove event (621)
⛵ Dependencies
- Revert "Revert "Gradle update"" - Update Gradle from v3 to v7 (#619)
ios-v5.13.0
- Fix missing attribution #236
- Fix logging format strings #266
- Implement map projection functionality #254
- Fix warnings, mainly casting to smaller types #270
- Remove an unused static library (savings of 97 KB from iOS binary)
- Add ClientOptions to be able to pass around client name and version #365
- Remove account from xcconfig #382
- Remove observation of key-path #380
- Fix for "NSExpression function is forbidden" #411
- Xcode 14 compatibility #494 #599
node-v5.1.1
@maplibre/maplibre-gl-native 5.1.1
What's Changed
- Fix memory access violation exception in vector_tile_data.cpp by @tdcosta100 in #632
Full Changelog: node-v5.1.0...node-v5.1.1
node-v5.1.1-pre.0
@maplibre/maplibre-gl-native 5.1.1-pre.0
What's Changed
- Fix memory access violation exception in vector_tile_data.cpp by @tdcosta100 in #632
Full Changelog: node-v5.1.0...node-v5.1.1-pre.0