Skip to content

Latest commit

 

History

History
182 lines (101 loc) · 4.66 KB

CHANGELOG.md

File metadata and controls

182 lines (101 loc) · 4.66 KB

0.9.1

0.9.0

  • The minimum supported Rust version is now 1.66.
  • The lottery model now allows custom reset values for its items #276.
  • Update dependencies.

0.8.13

  • Update dependencies.

0.8.12

  • Update dependencies.

0.8.11

  • Update dependencies.

0.8.10

  • Update dependencies.

0.8.9

  • Fix a publishing error.

0.8.8

  • Update dependencies.

0.8.7

  • Update dependencies.

0.8.6

  • Update dependencies.

0.8.5

  • Update dependencies.

0.8.4

  • Fix a new lint for Rust 1.52.
  • Update to a new statrs.
  • Update other dependencies.

0.8.3

  • Update dependencies.

0.8.2

0.8.1

0.8.0

This is a backwards breaking change in the crate.

  • Redesigned the Engine API. It now requires an instance of a struct that implements the rpick::ui::UI trait. This trait provides a more natural way to interact with the library than streams of bytes.
  • The Engine and its Error have been moved into a rpick::engine module.
  • The configuration structs, enums, and functions have been moved into a rpick::config module.
  • The Engine ValueError struct was replaced by a new PickError enum.
  • Updated dependencies.

0.7.2

  • #19 Update rand to 0.8.2.
  • #20 cargo test --release now works.
  • #22 Use link time optimization for release builds.

0.7.1

  • Updated several dependencies.
  • Moved the project to GitHub.

0.7.0

  • #43 There is now a --verbose flag.

0.6.1

  • Update Cargo.lock to get new dependencies.

0.6.0

  • #39: Add a new inventory model.
  • Documented how to install and use rpick on MacOS and Windows.

0.5.1

  • #32: Fix an infinite loop when users say no to all possible choices when there are items in the list with no chance of being chosen.

0.5.0

  • #27: Add a --config flag that allows users to specify a path to rpick's config file.

0.4.0

  • #20: Add an LRU model.

0.3.1

  • #19: Adjust the tests to pass on 32-bit architectures.

0.3.0

  • #5: Introduced a unit test suite.
  • #8: Defined a library for rpick so integrators can write their own front end to it. This also aided in testing.
  • #11: Added documentation for the library.
  • #14: Users will no longer be re-prompted for a choice they've declined in the same process, unless they decline all possible choices in a category.
  • d20e491b: Documented installation.

0.2.0

  • #3: Added a new even distribution model, which does a nice flat random pick.
  • #4: Added a new weighted distribution model, which does a weighted random pick.
  • 95b32b1e: Added a new lottery distribution model, which gives lottery tickets to unpicked items and resets the picked item's lottery tickets to 0.

0.1.0

  • #1: Added a new stddev_scaling_factor setting, which is optional and defaults to 3.0.
  • #2: The model now defaults to "gaussian", so users don't have to define it by hand.