Releases: maplibre/maplibre-native
ios-v6.2.0
- Add support for multi sprites. More information on this feature can be found in the Style Spec Documentation.
- Fix for C++ header in public Objective-C header (#2156).
android-v11.0.0-pre0
💥 Breaking: MapLibre Native for Android started requiring OpenGL ES 3.0 support in this version.
✨ Features and improvements
-
Add support for the
slice
expression (#1113) -
Add support for the
index-of
expression (#1113) -
Change to a more natural fling animation and allow setting
flingThreshold
andflingAnimationBaseTime
inUiSettings
(#963) -
💥 Breaking: Change package of all classes from
com.mapbox.mapboxsdk
toorg.maplibre.android
(#1201). This means you will need to fix your imports.To migrate:
In your imports in each of your project files, replacecom.mapbox.mapboxsdk.
withorg.maplibre.android.*
. -
💥 Breaking: Rename several classes to no longer contain the word "Mapbox". You will need to migrate by renaming references.
To migrate:
Each affected occurrence will be marked as an error during compilation. Replace each occurrence of "Mapbox" with "MapLibre" and let your IDE do the import.These are the most important classes that have been renamed:
Mapbox
→MapLibre
MapboxMap
→MapLibreMap
MapboxConstants
→MapLibreConstants
MapboxMapOptions
→MapLibreMapOptions
- but also others, less frequently used ones, like
MapboxGLSurfaceView
→MapLibreGLSurfaceView
.
🐞 Bug fixes
- Fix "... has unresolved theme attributes" error in BitMapUtils (#1274).
ios-v6.1.1
- Tighten camera equality requirements (#2139).
ios-v6.1.0
- Addition of an MLNCustomStyleLayer that allows running custom Metal shaders and code. Example included in the PR. (#2041)
- Various performance optimizations.
- Avoid redundant bindings/states based on Metal profiler feedback. (#2006)
- Eliminate the remaining examples of tweakers being re-created on each update, which reduced reuse of uniform buffers. (#2050)
- Eliminate an extra vector allocation for many attributes (#2049)
- Don't save an extra copy of properties-as-uniforms set with symbol data, or re-build it when updating properties on existing drawables. (#2054)
- Combine multiple segments into a drawable when
sortFeaturesByKey
is not used (#2060) - UBO by index instead of map (#1980)
- Use
enableDepth
option (#2073) - Minor optimizations (#2091)
node-v5.3.1
node-v5.3.1-pre.0
ios-v6.0.0
-
This is the first release that uses Metal for rendering. This is a graphics API from Apple that replaces OpenGL ES on Apple platforms.
Note that the snapshotter has not been implemented yet for the Metal renderer. Hold off updating if your application requires this functionality.- While we had a long period of pre-releases and testing leading up to this release, and no crashes have been reported, it is possible that you come across inconsistencies or problems in production apps. Please report them on GitHub.
-
💥 Breaking: Changed the prefix of files, classes, methods, variables and everything from
MGL
toMLN
. (#919).To migrate:
Change all yourMGL
prefixes toMLN
. If you are usingNSKeyedArchiver
or similar mechanishm to save the state, the app may crash after this change when trying to unarchive the state using old names of the classes. You need to clean the saved state of the app and save it using new classes. -
The Swift package needs to be imported with
import MapLibre
instead ofimport Mapbox
.
node-v5.3.0
- [Note] This is a OpenGL-2 release. It does not include metal support.
- [Breaking] Removes node 14 binary build and adds node 20 binary build. We are now building binaries for node 16,18,20 @acalcutt #1941
- [Breaking] Linux binary is now built on Ubuntu 22.04 instead of Ubuntu 20.04. it could require a OS update to use this update on linux. @acalcutt #1941
- Make Node Map object options "request" property optional by @tdcosta100 in #904
- Compile Node targets without -std=c++11 option by @tdcosta100 in #926
node-v5.3.0-pre.0
- [Note] This is a OpenGL-2 release. It does not include metal support.
- [Breaking] Removes node 14 binary build and adds node 20 binary build. We are now building binaries for node 16,18,20 @acalcutt #1941
- [Breaking] Linux binary is now built on Ubuntu 22.04 instead of Ubuntu 20.04. it could require a OS update to use this update on linux. @acalcutt #1941
- Make Node Map object options "request" property optional by @tdcosta100 in #904
- Compile Node targets without -std=c++11 option by @tdcosta100 in #926
ios-v5.14.0-pre3
Release ios-v5.14.0-pre3