Skip to content

chore: release - #4153

Open
maplibre-release-plz[bot] wants to merge 1 commit into
mainfrom
release-plz-2026-11-30T02-38-58Z
Open

maplibre-release-plz[bot] wants to merge 1 commit into
mainfrom
release-plz-2026-11-30T02-38-58Z

Conversation

@maplibre-release-plz

Copy link
Copy Markdown
Contributor

🤖 New release

  • martin-tile-utils: 0.9.5 -> 0.9.6 (✓ API compatible changes)
  • cog-tiles: 0.3.2 -> 0.3.3 (✓ API compatible changes)
  • cog-tiles-py: 0.1.6 -> 0.1.7
  • map-tile-toolkit: 0.4.2 -> 0.4.3 (✓ API compatible changes)
  • martin-config-macros: 0.1.6 -> 0.1.7
  • mbtiles: 0.24.1 -> 0.24.2 (✓ API compatible changes)
  • martin-tilegen: 0.3.1 -> 0.3.2
  • martin-core: 0.19.0 -> 0.20.0 (⚠ API breaking changes)
  • martin-ui: 2.0.0-beta.8 -> 2.0.0-beta.9
  • martin: 2.0.0-beta.8 -> 2.0.0-beta.9

⚠ martin-core breaking changes

--- failure constructible_struct_adds_field: struct exhaustively constructible through public API adds field ---

Description:
A pub struct that could be exhaustively constructed with a literal using only public API has a new pub field, breaking existing exhaustive literals.
        ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/constructible_struct_adds_field.ron

Failed in:
  field ContourOptions.elevation_blur in /tmp/.tmpywv0gu/martin/crates/martin-core/src/tiles/contour/isolines.rs:191
  field ContourOptions.smoothing_iterations in /tmp/.tmpywv0gu/martin/crates/martin-core/src/tiles/contour/isolines.rs:193
  field IsolineOptions.elevation_blur in /tmp/.tmpywv0gu/martin/crates/martin-core/src/tiles/contour/isolines.rs:144
  field IsolineOptions.smoothing_iterations in /tmp/.tmpywv0gu/martin/crates/martin-core/src/tiles/contour/isolines.rs:146
  field IsolineOptions.tile_span in /tmp/.tmpywv0gu/martin/crates/martin-core/src/tiles/contour/isolines.rs:148
Changelog

cog-tiles

0.3.3 - 2026-11-30

Other

  • (lint) turn on needless_raw_strings and map_with_unused_argument_over_ranges (#4135)
  • (lint) every lint suppression now include an expect-reason (#4136)

cog-tiles-py

0.1.7 - 2026-11-30

Other

  • update Cargo.lock dependencies
  • (lint) turn on needless_raw_strings and map_with_unused_argument_over_ranges (#4135)
  • (lint) every lint suppression now include an expect-reason (#4136)

map-tile-toolkit

0.4.3 - 2026-11-30

Other

  • (lint) turn on needless_raw_strings and map_with_unused_argument_over_ranges (#4135)

martin-config-macros

0.1.7 - 2026-11-30

Other

  • (lint) every lint suppression now include an expect-reason (#4136)

mbtiles

0.24.2 - 2026-11-30

Other

  • (lint) every lint suppression now include an expect-reason (#4136)

martin-tilegen

0.3.2 - 2026-11-30

Other

  • (lint) turn on needless_raw_strings and map_with_unused_argument_over_ranges (#4135)
  • (lint) every lint suppression now include an expect-reason (#4136)

martin-core

0.20.0 - 2026-11-30

Added

  • (contour) smooth traced lines with an elevation blur and Chaikin passes (#4151)
  • (contour) narrow the default interval past z12 to 20 m and 10 m (#4150)
  • (catalog) report rendering limits and optional endpoints in settings (#4147)

Other

  • (lint) turn on needless_raw_strings and map_with_unused_argument_over_ranges (#4135)
  • (lint) every lint suppression now include an expect-reason (#4136)

martin

2.0.0-beta.9 - 2026-11-29

[!NOTE]
This is the ninth beta of Martin 2.0. It fixes one security vulnerability and has two breaking changes relative to 2.0.0-beta.8, listed below.
If you are coming from 1.x, read the migration guide first.

Security

One vulnerability reported through our security advisories is fixed in this release:

  • Empty tiles could make the tile cache use unbounded memory (GHSA-fqq6-m93g-6cm3, high severity).
    The tile cache counted each tile by its size in bytes, so an empty tile counted as 0 B and never filled the cache.
    Requests for many different empty tiles grew memory until the server ran out of it.
    This needs no authentication, and normal traffic on a source with large empty areas triggers it too.
    You are affected if the tile cache is on, which is the default, and neither cache.idle_timeout nor cache.tile_idle_timeout is set.
    Martin now also counts each entry's key and bookkeeping, 453 B for an empty tile, so the cache stays within cache.tile_size_mb.
    At the same size, a cache of small tiles holds fewer of them than before.
    If you cannot upgrade yet, set cache.tile_idle_timeout: 5m so that empty tiles leave the cache after 5 minutes without a request.
    Done in #4075.

Breaking changes

  • Rendering uses mln-rs, a Rust rewrite of MapLibre Native, instead of maplibre-native-ffi (#3951, #4094, #4128).
    A static image of a style with "projection": {"type": "globe"} is now drawn as a globe, as in MapLibre GL JS. Raster tiles and OGC API - Maps images stay in Web Mercator.
    To keep flat static images, set the style's projection to {"type": "mercator"}.
    With 8 workers on llvmpipe, rendering went from 165 to 226 tiles/s. MARTIN_MLN_BACKEND selects the graphics backend.
    See Static images follow the style's projection and Graphics backend.
  • Docker images are built from Wolfi packages on an empty scratch base. They have no shell or package manager, and run as uid 65532 instead of root (#4090, #4089).
    Health checks that run a shell command, Dockerfiles that RUN commands on top of the image, and writes into bind mounts owned by root no longer work. The image's HEALTHCHECK runs martin health instead.
    Trivy reports 0 OS-package CVEs in each image, where the 1.16.1 image had 287.
    Images are also tagged :2 and :2.0, and :2-full and so on. Prereleases do not move these tags.
    See Docker images have no shell and run as a non-root user.

Added

  • martin health checks a running Martin, also from inside an image without a shell. It requests /health and exits 0 on a 2xx status and 1 otherwise. Set the URL with --url or MARTIN_HEALTH_URL. The default is http://127.0.0.1:3000/health (#4087). See Health Check.
  • The rendering feature builds on macOS and Windows. macOS draws through Metal. Windows draws through the first of Vulkan, Direct3D 12 and OpenGL ES that has a working driver. Releases include -full archives for macOS arm64 and Windows x64 (#4096, #4097, #4128). See Installation.

Fixed

  • When /catalog fails, the web UI shows the error after about 1.5 s, and Try Again reloads the catalog. Before, the retry delay grew as 500^n ms, so the fourth retry waited 35 h (#4118).
  • Web UI thumbnails request only tiles inside the source's zoom range, starting at its minzoom at its center. Before, every thumbnail first requested tile 0/0/0, even from sources whose minzoom is higher (#4115).

Performance

  • martin cp --mode bulk --bbox skips each zoom at which a feature cannot reach a tile inside the box, before simplifying the feature. This helps with large features such as the world ocean polygon, most of which lies outside an extract. On Berlin, Shortbread went from 356 to 107 CPU s (-70%) and OpenMapTiles from 823 to 576 CPU s (-30%), with byte-identical tiles (#4085).
  • Layer expressions compile each matches() pattern once per thread and evaluate x in [literals] without the CEL interpreter. OSM sources look up tag columns in a hash map. On Berlin, measured one at a time, these cut OpenMapTiles CPU time by 20%, 11% and 2.4%. The in change also cut Shortbread by 12% (#4082, #4083, #4084).
  • Cache keys hold 4-byte interned source ids and an 8-byte packed tile coordinate. An empty-tile entry takes 417 B instead of 465 B, and a single-source hit takes about 700 ns instead of 760 ns. A request through a source alias and a request that lists the same sources share one cache entry (#4076, #4077, #4078, #4079).

Unstable

[!WARNING]
None of this is in the release binaries. It needs a nightly build or a build with --features unstable-mlt-v2, and its configuration may still change.

  • The nightly binaries and Docker images include unstable-mlt-v2, so you can try martin cp --format mlt2 without building Martin. With mlt-core 0.24, nested jsonb values take the narrowest integer type per tile, such as U32 instead of I64 (#4073).

Other


This PR was generated with release-plz.

@greptile-apps

greptile-apps Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

This PR does not match any of the 1 configured review trigger rule.

@github-code-quality

Copy link
Copy Markdown

Code coverage overview

Languages: Rust

Rust / code-coverage/llvm-cov

main 158cc8f release-plz-2026-11-... 7af4bc4 +/-
92% 92% 0%
View coverage of the 2 most impacted files.
File main 158cc8f release-plz-2026-11-... 7af4bc4 +/-
crates/martin-c...ostgres/scan.rs 91% 91% 0%
crates/martin-t...src/generate.rs 98% 99% +1%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants