Skip to content

martin=0.18.0 release #1962

@CommanderStorm

Description

@CommanderStorm

this issue is for discussing what needs to be done for a release.

Note

This is not the v1.0 release-talk. For this, we have #1805

Tip

as always, the :master-tag is avaliable if somebody needs changes urgently

Outstanding issues/PRs

Changelog

url to see what is not included: bc80906...HEAD

> [!IMPORTANT]
> A discussion is underway on **what features or changes are needed before we consider a 1.0 release**. If you have thoughts, suggestions, or feature requests, [please join the conversation](https://github.com/maplibre/martin/discussions/1805) and help guide the future of Martin.

## What's Changed

### Adding a frontend

During this Release cycle we spend lots of our effort on building a frontend into Martin.

It comes with the following features:
- [x] see basic metrics
- [x] inspect tiles
- [x] view styles with mapunik as an add-on
- [x] view sprites
- [x] view fonts 

The following features have been cut:
- [ ] a better integration with mapuntik where styles can be actually edited back to disk without needing to click the download button
- [ ] fonts being previewable
- [ ] an interactive demo how sdf sprites work

> [!NOTE]
> The frontend is like all other features not final and we are by day not web developers.
> If you have ideas what could be improved, we would love issues or slack comments.

Done by @CommanderStorm in https://github.com/maplibre/martin/pull/1909 https://github.com/maplibre/martin/pull/1932 https://github.com/maplibre/martin/pull/1942 https://github.com/maplibre/martin/pull/1955 https://github.com/maplibre/martin/pull/1954 https://github.com/maplibre/martin/pull/1956 https://github.com/maplibre/martin/pull/1953 https://github.com/maplibre/martin/pull/1908
https://github.com/maplibre/martin/pull/1983 https://github.com/maplibre/martin/pull/1980 https://github.com/maplibre/martin/pull/1981 https://github.com/maplibre/martin/pull/1978 https://github.com/maplibre/martin/pull/1964 https://github.com/maplibre/martin/pull/1963 https://github.com/maplibre/martin/pull/1976 https://github.com/maplibre/martin/pull/1957
https://github.com/maplibre/martin/pull/1997
https://github.com/maplibre/martin/pull/2000
https://github.com/maplibre/martin/pull/1999
https://github.com/maplibre/martin/pull/2001
https://github.com/maplibre/martin/pull/2002
https://github.com/maplibre/martin/pull/2003

### Metrics

We have added an metrics endpoint.
Due to issues with content encoding, the metrics are at `/_/metrics`.

We currently publish the following metrics:

- `martin_http_requests_duration_seconds` HTTP request duration in seconds for all requests => **Response time histogram**
- `martin_http_requests_total` Total number of HTTP requests => **Request count**

Done by @lefuturiste in https://github.com/maplibre/martin/pull/793

> [!NOTE]
> If you have a need/want for more metrics, we would encourage you to open an issue.

## Bugfixes

* fix(pg): When there are column comments, it will prompt for duplicate table by @huanglii in https://github.com/maplibre/martin/pull/1891
* fix(pg): handle SRID `4326` bbox tiles spanning over the antimeridian by @todtb in https://github.com/maplibre/martin/pull/1910
  
  Improves tile query bounding box calculation in table_to_query by applying buffer margins correctly for SRID `3857` (already supported) and `4326` (new) .
  For SRID `4326`, this uses `ST_Expand` with degree-based margins to fix antimeridian edge cases.
* fix(ui): clarify the message of the index file actually is an URL by @CommanderStorm in https://github.com/maplibre/martin/pull/1929
* fix(martin-cp): improve the invalid bbox error message by @CommanderStorm in https://github.com/maplibre/martin/pull/1995

## Documentation

* postgres with certificates recipy by @CommanderStorm in https://github.com/maplibre/martin/pull/1922
* add a preprocessor for alerts by @CommanderStorm in https://github.com/maplibre/martin/pull/1923 https://github.com/maplibre/martin/pull/1927 https://github.com/maplibre/martin/pull/1952
* add more onboarding docs by @CommanderStorm in https://github.com/maplibre/martin/pull/1921
* document `postgres.auto_publish.functions.from_schemas` by @CommanderStorm in https://github.com/maplibre/martin/pull/1965
* document `--help` by @CommanderStorm in https://github.com/maplibre/martin/pull/1992

## Maintenance

* Refactor COG by @sharkAndshark in https://github.com/maplibre/martin/pull/1862
* fix: cond features compilation by @nyurik in https://github.com/maplibre/martin/pull/1905
* chore: sort justfile by @nyurik in https://github.com/maplibre/martin/pull/1960 https://github.com/maplibre/martin/pull/1865 https://github.com/maplibre/martin/pull/1900 https://github.com/maplibre/martin/pull/1867
* chore: prevent/autofix tabs in text by @nyurik in https://github.com/maplibre/martin/pull/1871
* chore: delete unused `martin/release.toml` by @CommanderStorm in https://github.com/maplibre/martin/pull/1880
* chore: fix todo by migrating `OnceLock` to `LazyLock` by @CommanderStorm in https://github.com/maplibre/martin/pull/1948
* chore: only include the readme in doc.rs builds by @CommanderStorm in https://github.com/maplibre/martin/pull/1886
* fix: clippy::ignore-without-reason by @CommanderStorm in https://github.com/maplibre/martin/pull/1903 https://github.com/maplibre/martin/pull/1904
* tests: migrate to insta binary snapshots by @CommanderStorm in https://github.com/maplibre/martin/pull/1616
- We have re-done parts of our CI to make it faster and better maintainable
    * don't accidentally automerge due to skipped checks by @CommanderStorm in https://github.com/maplibre/martin/pull/1946
    * add more metadata to the docker build by @CommanderStorm in https://github.com/maplibre/martin/pull/1877
    * try annotating both at index and manifest level by @CommanderStorm in https://github.com/maplibre/martin/pull/1879
    * add attestation and sbom generation to the docker images by @CommanderStorm in https://github.com/maplibre/martin/pull/1878
    * don't cache `cargo build` if we don't have enough cache by @CommanderStorm in https://github.com/maplibre/martin/pull/1935 https://github.com/maplibre/martin/pull/1970
    * make sure that `rustup update stable` is called at the start of CI steps by @CommanderStorm in https://github.com/maplibre/martin/pull/1934
    * merged docker load step by @CommanderStorm in https://github.com/maplibre/martin/pull/1881
    * minor CI formatting by @nyurik in https://github.com/maplibre/martin/pull/1941
    * reduce CI-Time by splitting cross to its own step of the CI build by @CommanderStorm in https://github.com/maplibre/martin/pull/1902
    * Replace cross with zigbuild by @CommanderStorm in https://github.com/maplibre/martin/pull/1906
    * fix `file` output having shifted by @CommanderStorm in https://github.com/maplibre/martin/pull/1993
- We are currently refactoring some of our internals to make library usage of martin more straigt forward
    * make sure that dependencys are clearly attributed by @CommanderStorm in https://github.com/maplibre/martin/pull/1947
    * unify the way we handle errors  by @CommanderStorm in https://github.com/maplibre/martin/pull/1949
    * make sure that there is only one `TileData` by @CommanderStorm in https://github.com/maplibre/martin/pull/1951
    * move `TileRect` to `martin-tile-utils` by @CommanderStorm in https://github.com/maplibre/martin/pull/1945
    * unify where we handle config by @CommanderStorm in https://github.com/maplibre/martin/pull/1950
* chore(deps): Varous dependency updates by @CommanderStorm @dependabot[bot] @nyurik  in https://github.com/maplibre/martin/pull/1875 https://github.com/maplibre/martin/pull/1911 https://github.com/maplibre/martin/pull/1938 https://github.com/maplibre/martin/pull/1916 https://github.com/maplibre/martin/pull/1919 
https://github.com/maplibre/martin/pull/1986
https://github.com/maplibre/martin/pull/1933 https://github.com/maplibre/martin/pull/1895 https://github.com/maplibre/martin/pull/1883 https://github.com/maplibre/martin/pull/1888 https://github.com/maplibre/martin/pull/1866 https://github.com/maplibre/martin/pull/1874 https://github.com/maplibre/martin/pull/1907 https://github.com/maplibre/martin/pull/1885 https://github.com/maplibre/martin/pull/1925 https://github.com/maplibre/martin/pull/1936 https://github.com/maplibre/martin/pull/1943 https://github.com/maplibre/martin/pull/1872 https://github.com/maplibre/martin/pull/1873 https://github.com/maplibre/martin/pull/1971 https://github.com/maplibre/martin/pull/1969 https://github.com/maplibre/martin/pull/1966 https://github.com/maplibre/martin/pull/1985
https://github.com/maplibre/martin/pull/1986

## New Contributors
* @huanglii made their first contribution in https://github.com/maplibre/martin/pull/1891
* @lefuturiste made their first contribution in https://github.com/maplibre/martin/pull/793

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions