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 and help guide the future of Martin.
What's Changed
Metrics
We have added an metrics endpoint. 🎉
Due to issues with content encoding, the metrics are at /_/metrics instead of the more common /metrics
We currently publish the following metrics:
martin_http_requests_duration_secondsHTTP request duration in seconds for all requests => Response time histogrammartin_http_requests_totalTotal number of HTTP requests => Request count
Done by @lefuturiste in #793
Tip
If you have a need/want for more metrics, we would encourage you to open an issue.
We know that these metrics are likely not enough for good monitoring
Adding a frontend
During this Release cycle we spend lots of our effort on building a frontend into Martin.
Important
The frontend is only enabled for the public if you have --webui enable-for-all set.
The default is currently --webui disable.
We plan on either changing this default to be --webui enable-for-localhost or allowing to move the webui, metrics and all other "admin"-features to another port for simpler deployment.
Features:
- see basic metrics
- inspect tiles
- view styles with mapunik as an add-on
- view sprites
- view fonts
Screenshots:
Note
🚧 The frontend (like all other features) is not final. 🚧
If you have ideas how Martins frontend could improve YOUR workflow, we would love issues or slack comments.
Pull requests are also more than welcome
Dark mode
|
|
|---|---|
|
|
|
|
Light mode
|
|
|---|---|
|
|
|
|
Features have been cut from this release:
- 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
Done by @CommanderStorm in #1909 #1932 #1942 #1955 #1954 #1956 #1953 #1908 #1983 #1980 #1981 #1978 #1964 #1963 #1976 #1957 #1997 #2000 #1999 #2001 #2002 #2003
Bugfixes
-
fix(pg): When there are column comments, it will prompt for duplicate table by @huanglii in #1891
-
fix(pg): handle SRID
4326bbox tiles spanning over the antimeridian by @todtb in #1910Improves tile query bounding box calculation in table_to_query by applying buffer margins correctly for SRID
3857(already supported) and4326(new) .
For SRID4326, this usesST_Expandwith degree-based margins to fix antimeridian edge cases. -
fix(ui): clarify the message of the index file actually is an URL by @CommanderStorm in #1929
-
fix(martin-cp): improve the invalid bbox error message by @CommanderStorm in #1995
Documentation
- postgres with certificates recipy by @CommanderStorm in #1922
- add a preprocessor for alerts by @CommanderStorm in #1923 #1927 #1952
- add more onboarding docs by @CommanderStorm in #1921
- document
postgres.auto_publish.functions.from_schemasby @CommanderStorm in #1965 - document
--helpby @CommanderStorm in #1992
Maintenance
- Refactor COG by @sharkAndshark in #1862
- fix: cond features compilation by @nyurik in #1905
- chore: sort justfile by @nyurik in #1960 #1865 #1900 #1867
- chore: prevent/autofix tabs in text by @nyurik in #1871
- chore: delete unused
martin/release.tomlby @CommanderStorm in #1880 - chore: fix todo by migrating
OnceLocktoLazyLockby @CommanderStorm in #1948 - chore: only include the readme in doc.rs builds by @CommanderStorm in #1886
- fix: clippy::ignore-without-reason by @CommanderStorm in #1903 #1904
- tests: migrate to insta binary snapshots by @CommanderStorm in #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 #1946
- add more metadata to the docker build by @CommanderStorm in #1877
- try annotating both at index and manifest level by @CommanderStorm in #1879
- add attestation and sbom generation to the docker images by @CommanderStorm in #1878
- don't cache
cargo buildif we don't have enough cache by @CommanderStorm in #1935 #1970 - make sure that
rustup update stableis called at the start of CI steps by @CommanderStorm in #1934 - merged docker load step by @CommanderStorm in #1881
- minor CI formatting by @nyurik in #1941
- reduce CI-Time by splitting cross to its own step of the CI build by @CommanderStorm in #1902
- Replace cross with zigbuild by @CommanderStorm in #1906
- fix
fileoutput having shifted by @CommanderStorm in #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 #1947
- unify the way we handle errors by @CommanderStorm in #1949
- make sure that there is only one
TileDataby @CommanderStorm in #1951 - move
TileRecttomartin-tile-utilsby @CommanderStorm in #1945 - unify where we handle config by @CommanderStorm in #1950
- chore(deps): Varous dependency updates by @CommanderStorm @dependabot[bot] @nyurik in #1875 #1911 #1938 #1916 #1919 #1986 #1933 #1895 #1883 #1888 #1866 #1874 #1907 #1885 #1925 #1936 #1943 #1872 #1873 #1971 #1969 #1966 #1985
#1986
New Contributors
- @huanglii made their first contribution in #1891
- @lefuturiste made their first contribution in #793










