All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.4.4 - 2025-12-01
- add .editorconfig
- minor justfile adjustments
- minor justfile adjustments
- use automatic crates.io token (#43)
- Change test attribute from expect to allow for MSRV (#42)
- add more linting
- (just) minor justfile cleanup
- (ci) improve cargo-install recipe
- (ci) disable telemetry in workflow
- format Cargo.toml, minor just cleanup (#40)
- [pre-commit.ci] pre-commit autoupdate (#38)
- Bump actions/checkout from 4 to 5 in the all-actions-version-updates group (#39)
0.4.3 - 2025-06-16
- Update dependencies, set MSRV to 1.78, and some internal cleanup
- Add
Bounds::fromfor(f64, f64, f64, f64)tuple. Same forf32andi32. - Add
Center::fromfor(f64, f64, u8)and(f32, f32, u8)tuples. - A few clippy-related fixes
- Switch all
HashMaptoBTreeMapfor consistent serialization ordering
- Add proper
Errorimplementation toBoundsandCenterparsing errors
- Add
Displaywith precision support forBoundsandCenterstructs
- Add
Bounds::fromfor[f64; 4],[f32; 4],[i32; 4] - Add
Bounds::try_fromnow also supports&[f64],&[f32],&[i32]in addition toVec<f64>
- Add
Bounds::MAXto create a maximum -180..180, -90..90 value. - Add
Bounds::MAX_TILEDto create a maximum allowed for vector tiles per spec. - Implement
AddandAddAssignonBounds
ATTENTION: This release contains many breaking changes. See README for usage examples.
- Migrate to Rust 2021 edition
- update docs to match v3.0.0 spec
- add
fillzoomfield per v3.0.0 spec - add
CenterandBoundsstructs instead of arrays- both support
FromStrtrait
- both support
- add
VectorLayerstruct and thevector_layerfield - Remove builder pattern because
TileJSONis writable - Add
otherfields for any unknown fields in root and vector layers - Restructure instantiation:
- use
tilejson!{ source }macro to createTileJSONobjects, with any number of the optionalfield: valuepairs. - use
set_missing_defaults()to replace all missing values with their defaults (only if the spec defines it)
- use
- Remove
idfield because it is not supported by the spec
- use String instead of &'static str for
tilejsonfield (#7) (25b325c9)
- skip serializing if Option is None (#6) (h/t @jaspervercnocke) (149339cd)
- change type of bounds to f32 instead of i32 (#1) (h/t @jaspervercnocke) (a7cffa81)
- use crate pub (09f051a9)