Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Emerentius committed Dec 4, 2023
1 parent 723b42a commit b3f8f46
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
28 changes: 14 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
<!-- * Print textual representation of sudoku board with remaining candidates for unsolved cells. -->

Unreleased
==========
* Raise minimum Rust version to 1.56
Version 0.8.0 (2023-12-04)
==========================
Added:
* `Sudoku::canonicalized`. Maps all sudokus of an equivalence class to the same sudoku
and counts automorphisms.
Limited to uniquely solvable sudokus (for now).
and counts automorphisms. Limited to uniquely solvable sudokus.
* `Sudoku::shuffled`: Perform random symmetry transformations to get a different but equivalent sudoku.
* Generation of symmetrical sudokus. The desired symmetry can be chosen via the `Symmetry` enum.
- `Sudoku::generate_with_symmetry`
- `Sudoku::generate_with_symmetry_from`
* Generate sudokus with a user-chosen RNG:
* `generate_solved_with_rng`
* `generate_with_symmetry_and_rng_from`
* New strategies:
- XyWing
- XyzWing
- Mutant Swordfish
- Mutant Jellyfish
* Generation of symmetrical sudokus. The desired symmetry can be chosen via the `Symmetry` enum.

Changed:
* Raise minimum supported Rust version to 1.56
* Rename many of `Sudoku`'s methods
- `solve_unique` -> `solution`
- `solve_one` -> `some_solution`
Expand All @@ -20,15 +28,7 @@ Unreleased
- `solve_at_most_buffer` -> `solutions_up_to_buffer`
- `generate_filled` -> `generate_solved`
- `generate_unique` -> `generate`
- `generate_unique_with_symmetry` -> `generate_with_symmetry`
- `generate_unique_from` -> `generate_from`
- `generate_unique_with_symmetry_from` -> `generate_with_symmetry_from`
* Add new APIs:
* `Sudoku::shuffled`
* two functions for generating sudokus with a user-chosen RNG:
* `generate_solved_with_rng`
* `generate_with_symmetry_and_rng_from`
*
* Improved errors for `Sudoku` methods.
Errors now implement `std::error::Error` and none of them return `Result<T, ()>` anymore.
Moved `parse_errors` module to `errors`.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ license = "AGPL-3.0"
repository = "https://github.com/emerentius/sudoku"
documentation = "https://docs.rs/sudoku"
readme = "readme.md"
version = "0.7.0"
version = "0.8.0"
authors = ["Emerentius"]
edition = "2018"

Expand Down

0 comments on commit b3f8f46

Please sign in to comment.