Skip to content

1.0.0

Compare
Choose a tag to compare
@will-keen will-keen released this 28 Jul 17:30
· 58 commits to master since this release

API changes:

  • Constructor no longer mandates an instance of random.Random.
    • Determinism can be controlled globally via random.seed().
    • See documentation for details.
  • add_multi_var_constraint -> add_constraint
    • Now supports adding extra single-var constraints too.
  • set_naive_solve -> set_solver_mode
    • See documentation.
  • Add with_constraints and with_values arguments to RandObj.randomize()
    • See documentation.
  • add_variable now supports a length argument for random lists.
    • See documentation.

Other changes:

  • Debugging information when constraints are unsolvable.
  • Performance improvements.
  • Determinism bugfixes around PYTHONHASHSEED.
  • Improved "How to" guide.
  • Much better unit tests.