Skip to content

Latest commit

 

History

History
110 lines (76 loc) · 4.32 KB

File metadata and controls

110 lines (76 loc) · 4.32 KB

Changelog

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.

[Unreleased]

0.4.4 - 2025-12-01

Other

  • 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

v0.4.2 (2025-03-03)

  • Update dependencies, set MSRV to 1.78, and some internal cleanup

v0.4.1 (2022-12-08)

  • Add Bounds::from for (f64, f64, f64, f64) tuple. Same for f32 and i32.
  • Add Center::from for (f64, f64, u8) and (f32, f32, u8) tuples.
  • A few clippy-related fixes

v0.4.0 (2022-11-19)

  • Switch all HashMap to BTreeMap for consistent serialization ordering

v0.3.4 (2022-11-15)

  • Add proper Error implementation to Bounds and Center parsing errors

v0.3.3 (2022-11-07)

  • Add Display with precision support for Bounds and Center structs

v0.3.2 (2022-10-30)

  • Add Bounds::from for [f64; 4], [f32; 4], [i32; 4]
  • Add Bounds::try_from now also supports &[f64], &[f32], &[i32] in addition to Vec<f64>

v0.3.1 (2022-05-29)

  • Add Bounds::MAX to create a maximum -180..180, -90..90 value.
  • Add Bounds::MAX_TILED to create a maximum allowed for vector tiles per spec.
  • Implement Add and AddAssign on Bounds

v0.3.0 (2022-05-25)

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 fillzoom field per v3.0.0 spec
  • add Center and Bounds structs instead of arrays
    • both support FromStr trait
  • add VectorLayer struct and the vector_layer field
  • Remove builder pattern because TileJSON is writable
  • Add other fields for any unknown fields in root and vector layers
  • Restructure instantiation:
    • use tilejson!{ source } macro to create TileJSON objects, with any number of the optional field: value pairs.
    • use set_missing_defaults() to replace all missing values with their defaults (only if the spec defines it)
  • Remove id field because it is not supported by the spec

v0.2.4 (2021-10-11)

Bug Fixes

  • use String instead of &'static str for tilejson field (#7) (25b325c9)

v0.2.3 (2021-10-10)

Bug Fixes

  • skip serializing if Option is None (#6) (h/t @jaspervercnocke) (149339cd)

v0.2.2 (2020-09-12)

Features

  • change type of bounds to f32 instead of i32 (#1) (h/t @jaspervercnocke) (a7cffa81)

Bug Fixes