github maplibre/martin martin-v1.3.0

10 months ago

More flexible log formatting

We migrated our log library to tracing.
This gives us a few internal improvements, but also allows us to introduce a new RUST_LOG_FORMAT environment variable.
The available values are: json, full, compact (default), bare or pretty.

Done in #2494, #2508, #2500 by @CommanderStorm

Glyph ranges beyond 0xFFFF

If you are using fonts which span beyond the 0xFFFF range, this release improves how Martin loads and renders those glyphs so they are handled correctly.

Here is a short explanation of why this might matter to you based on https://en.wikipedia.org/wiki/Unicode_block.

  • U+0000 - U+FFFF is Basic Multilingual Plane, which covers characters for almost all modern languages
  • U+10000 - U+3347F covers minor characters such as historic scripts and emojis
  • U+E0000 - U+E01EF is for tags and variation selectors
  • U+F0000 - U+10FFFF is for private use (i.e. can be assigned arbitrary custom characters without worrying about possible conflict with the future standards)

Done in (#2438) by @yutannihilation

As a related performance optimisation, we also removed FontSources.masks as it was consuming large amounts of memory and some startup time, even when no font sources were set (#2519) by @Auspicus

Simpler native subpath support

We added the route_prefix configuration and --route-prefix cli arguments.
This allows you to configure the subpath martin is serving from without the need for your reverse proxy to strip these subpaths before getting to us.

Done in (#2523)

MLT decoding support

Martin now supports the MapLibre Tiles Specification.
This means that if you want to serve MLT based tiles with this tileserver, you now can.
Read more about what the MapLibre Tile Specification is and why we are "reinventing the wheel on this one" in our blog post.

Done in (#2512)

Added

  • improve martin-cp progress output time estimate by displaying in human time instead of seconds (#2491)
  • (pg) support PostgreSQL materialized views (#2279)
  • (pg) include ID column info for tables (#2485)

Fixed

Other

  • (deps) cargo-shear our dependencies for improved compile times (#2497)
  • (mbtiles) improve a few test cases (#2478, #2480, #2477)

Don't miss a new martin release

NewReleases is sending notifications on new releases.