Skip to content

Latest commit

 

History

History
83 lines (51 loc) · 2.79 KB

CHANGELOG.md

File metadata and controls

83 lines (51 loc) · 2.79 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.

Breaking

Added

Changed

Fixed

Removed

  • see 'Breaking' section above

0.3.0 - 2024-10-15

Breaking

  • variants added to public enum ApiError
  • get_intensity_postcode()/get_intensity_region() removed, use get_intensity() instead. This takes a Target (e.g. national/region/postcode)
  • get_intensities_postcode()/get_intensities_region() removed, use get_intensities() instead. This takes a Target (e.g. national/region/postcode)
  • get_intensities() signature changed, instead of taking just a URL now takes a Target (e.g. national/region/postcode) and the start/end date

Added

  • ability to retrieve national data (issue #9)
  • added Cargo.lock to improve compilation reproducibility of the binary (PR #21)
  • added rust-version to Cargo.toml to make it explicit which version of Rust compiles the crate (commit)
  • run clippy in CI (PR #22)
  • check for semver violations in CI (PR #28)
  • more tests
  • added a changelog

Changed

  • make requests to Carbon Intensity API concurrently (issue #7)

Fixed

  • prevent start date to be before first data available (issue #15)
  • Prevent CLI to panic when the pipe is broken (issue #5)

Removed

  • see 'Breaking' section above

0.2.0 - 2023-12-04

Added

  • improvements to output legibility (issue #2)
  • run tests in CI

Fixed

  • handle date ranges of more than 13 days (issue #3)
  • accepts postcode's outward codes which are 4 characters long (issue #1)

0.1.0 - 2023-11-21

Added

  • Initial release