Skip to content

v0.23.0

Pre-release
Pre-release

Choose a tag to compare

@gabbopalma gabbopalma released this 30 Sep 22:44
· 3 commits to main since this release
46a1925

What's Changed

Caution

USE 0.24.0 VERSION INSTEAD OF THIS ONE!

This consolidated release delivers runtime style switching, hover interactions, heatmap & visibility features, native SDK updates, and broad naming / enum casing harmonization. It also fixes several interaction and stability issues across web and mobile.

If you are upgrading from <= 0.22.x:

  • Review the breaking rename (Maplibre -> MapLibre) and enum / const lowerCamelCase migration.
  • Adapt feature interaction callbacks: onFeatureTapped / onFeatureDrag now receive an Annotation instead of an id argument.
  • Ensure any style access happens after onStyleLoaded due to stricter style readiness checks.

A big thank you to everyone who contributed to this update!

Warning

Breaking changes

  • Rename Maplibre to MapLibre across APIs (#441).
  • Enum fields & const identifiers migrated to lower camel case (#415).
  • onFeatureTapped / onFeatureDrag replaced the raw id parameter with an Annotation annotation instance (update handler signatures).

Added / Features

  • Runtime style switching APIs on controller (#444) and raw style JSON setting on iOS / Web (#603).
  • Hover interaction events (onFeatureHover) (#614).
  • Heatmap layer support (#365).
  • Bounds fitting API to change viewport to given bounds (#133).
  • Layer visibility control (#138).
  • LatLngBounds.contains convenience (#498).

Changed / Updates

  • MapLibre Native: Android 11.13.5 & iOS 6.19.1.
  • Flutter / Gradle plugin & tooling compatibility update (#542).
  • Lint and analysis alignment via very_good_analysis and flutter_lints (#452, #434, #414, #419).
  • Package link updates & style resource relocation (MaplibreStyles moved to main package) (#435, #413).

Fixed

  • iOS code generation (Offset / Translate / expression arrays) (#481).
  • Annotation tap consumption now properly respected (annotationConsumeTapEvents).
  • Prevent calling notifyListeners() after controller disposal (#621).
  • Web: event listener cancellation & hover handling robustness (#623).
  • Offline region download crash in example (#569).
  • Added style loaded safety checks (#563).
  • Aligned example and web pubspec versions (#476).
  • Web: enforce maplibre-gl-js 4.x & remove shadow root stylesheet workaround (#409).

Refactor / Quality

  • Enable and fix additional lint rules (#452).

New Contributors

Contributors: @AlexanderThiele, @mhernz, @TarekTolba1, @srmncnk, @itheamc, @kuhnroyal, @albertmoravec, @gabbopalma
Full Changelog: v0.22.0...v0.23.0