Skip to content
This repository has been archived by the owner on Jun 6, 2020. It is now read-only.

Latest commit

 

History

History
131 lines (106 loc) · 3.45 KB

CHANGELOG.md

File metadata and controls

131 lines (106 loc) · 3.45 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.

0.0.12 - 2020-02-01

Removed

  • WithCoordinates and CoordinatesLimit

Changed

  • make Hexbot::fetch async
  • min rustc: 1.39.0

0.0.11 - 2019-10-13

Added

  • Seed::add
  • impl ops::{Add,Sub} for Coordinates
  • hexbot::WidthHeight improved replacement for WithCoordinates and CoordinatesLimit

Changed

  • Hexbot::fetch accept both WithCoordinates and WidthHeight
  • old:SeedError::NoColor new:SeedError::NoColor(i32)

Deprecated

  • WithCoordinates use WidthHeight
  • CoordinatesLimit use WidthHeight

0.0.10 - 2019-09-28

Changed

  • min rustc: 1.37.0

Added

  • library to use the hexbot API

Removed

  • feature: ErrorDescription
  • src/request_api.rs

0.0.9 - 2019-09-04

maintenance release

  • fixing various non-code things
  • updating dependencies

Added

  • Support for error and message response
  • .rustfmt.toml

Changed

  • Switch from openssl to rustls

Added

  • more tests.
  • support for hexbots seed parameter
    • add seed: Option<&[i32]> to fetch() and fetch_with_coordinates()
  • more Errors
    • Fmt(fmt::Error)
    • EmptySeed
    • SeedToLong
    • InvalidSeedColor

Added

  • Hexbot.clone() (derive trait).
  • support for the width and height parameters of hexbot.
    • Hexbot.coordinates()
    • Hexbot.has_coordinates()
    • request_api::fetch_with_coordinates()
    • Error::WidthHeightOutOfRange

Changed

  • fmt::Display for Hexbot.
  • Improved docs & Hacking.

Added

  • custom error type.
  • more tests.
  • request_api::Hexbot.colors().
  • support for the count parameter of hexbot.

Changed

  • output of fmt::Display for Hexbot.
  • request_api::fetch()
    • old: request_api::fetch() -> Result<Hexbot, reqwest::Error>
    • new: request_api::fetch(count: i32) -> Result<Hexbot, Error>

Removed

  • request_api::Hexbot.color().

Added

  • documentation & hacking.

Changed

  • Function names:
    • get_color() -> color()
    • get_hexbot() -> fetch()
  • Use tint::Color instead of String for colors.

Added

  • tests (see c461bb9).

Added

  • get_color() methode to request_api::Hexbot.
  • impllementation for fmt::Display to request_api::Hexbot.

Removed

  • public fields from request_api::Hexbot.

Added

  • Support for requesting, parsing and printing a hexbot request without parameters.
  • All stuff around a project like README, LICENSE, .gitignore, ...