Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release #69

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,57 @@

All notable changes to this project will be documented in this file.

## [0.4.4] - 2024-04-26

### Bug Fixes

- Incorrect coarse_ub in dpw when unweighted
- Dpw edge cases with < 2 inputs

### Documentation

- Clarify lit rep and relation to IPASIR/DIMACS
- Add missing documentation
- Fix broken links

### Features

- Migrate error handling to anyhow create
- Move ipasir bindings to separate crate
- Instance ergonomics for member variables
- Ergonomics for opb writing
- Ergonomics for dimacs writing
- Add `add_clause_ref` method to `Solve` trait
- Add `add_nary` function
- Have file parsers take BufRead types
- `Extend<&Clause>` for solvers
- Catch memory out in solvers
- Catch memory outs in clause collector

### Miscellaneous Tasks

- Update to pyo3 0.21
- Specify minimum rust version
- Clippy

### Performance

- Add `BufWriter` when writing to file
- Avoid unnecessary cloning

### Refactor

- Clean up control flow in solver methods
- Clean up control flow in dimacs parsing
- Factor out C-API
- Factor out Python API
- Mixed cleanup tasks

### Testing

- Simply `TernaryVal` tests

<!-- generated by git-cliff -->
## [0.4.3] - 2024-02-22

### Features
Expand Down
37 changes: 37 additions & 0 deletions cadical/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,43 @@

All notable changes to this project will be documented in this file.

## [0.2.5] - 2024-04-26

### Documentation

- Add missing documentation

### Features

- Cadical version 1.9.5
- Migrate error handling to anyhow create
- Exclude ipasir.cpp to avoid conflicts with other linked ipasir libs
- `FreezeVar` trait for Glucose and Minisat
- Add `add_clause_ref` method to `Solve` trait
- `Extend<&Clause>` for solvers
- Catch memory out in solvers
- Catch memory outs in clause collector

### Miscellaneous Tasks

- Cleanup feature-dependent compilation

### Refactor

- Clean up control flow in solver methods
- Factor out solver integration tests
- Factor out solver unit tests
- Solver build system

### Testing

- Minisat segfault tests

### Example

- `cadical-cli` tool

<!-- generated by git-cliff -->
## [0.2.4] - 2024-02-22

### Miscellaneous Tasks
Expand Down
4 changes: 2 additions & 2 deletions cadical/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustsat-cadical"
version = "0.2.4"
version = "0.2.5"
edition = "2021"
authors = ["Christoph Jabs <[email protected]>"]
license = "MIT"
Expand Down Expand Up @@ -41,7 +41,7 @@ v1-9-5 = []

[dependencies]
cpu-time = "1.0.0"
rustsat = { version = "0.4.3", path = "../rustsat", default-features = false }
rustsat = { version = "0.4.4", path = "../rustsat", default-features = false }
thiserror = { version = "1.0.57" }
anyhow = { version = "1.0.80" }

Expand Down
2 changes: 1 addition & 1 deletion capi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build = "build.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
rustsat = { version = "0.4.3", path = "../rustsat", default-features = false, features = [
rustsat = { version = "0.4.4", path = "../rustsat", default-features = false, features = [
"internals",
] }

Expand Down
33 changes: 33 additions & 0 deletions glucose/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,39 @@

All notable changes to this project will be documented in this file.

## [0.2.5] - 2024-04-26

### Bug Fixes

- Variable freezing and return val for `var_eliminated`

### Documentation

- Add missing documentation

### Features

- `quiet` feature to disable stdout printing
- Migrate error handling to anyhow create
- `FreezeVar` trait for Glucose and Minisat
- Return error when assumption is eliminated
- Add `add_clause_ref` method to `Solve` trait
- `Extend<&Clause>` for solvers
- Catch memory out in solvers
- Catch memory outs in clause collector

### Refactor

- Clean up control flow in solver methods
- Factor out solver integration tests
- Factor out solver unit tests
- Solver build system

### Testing

- Minisat segfault tests

<!-- generated by git-cliff -->
## [0.2.4] - 2024-02-22

### Bug Fixes
Expand Down
4 changes: 2 additions & 2 deletions glucose/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustsat-glucose"
version = "0.2.4"
version = "0.2.5"
edition = "2021"
authors = ["Christoph Jabs <[email protected]>"]
license = "MIT"
Expand All @@ -20,7 +20,7 @@ default = ["quiet"]

[dependencies]
cpu-time = "1.0.0"
rustsat = { version = "0.4.3", path = "../rustsat", default-features = false }
rustsat = { version = "0.4.4", path = "../rustsat", default-features = false }
thiserror = { version = "1.0.57" }
anyhow = { version = "1.0.80" }

Expand Down
2 changes: 1 addition & 1 deletion ipasir/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ readme = "README.md"

[dependencies]
cpu-time = "1.0.0"
rustsat = { version = "0.4.3", path = "../rustsat", default-features = false }
rustsat = { version = "0.4.4", path = "../rustsat", default-features = false }
thiserror = { version = "1.0.57" }
anyhow = { version = "1.0.80" }
29 changes: 29 additions & 0 deletions kissat/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,35 @@

All notable changes to this project will be documented in this file.

## [0.1.7] - 2024-04-26

### Documentation

- Add missing documentation

### Features

- Migrate error handling to anyhow create
- Add `add_clause_ref` method to `Solve` trait
- `Extend<&Clause>` for solvers
- Allow for abort hooks

### Refactor

- Clean up control flow in solver methods
- Factor out solver integration tests
- Factor out solver unit tests
- Solver build system

### Testing

- Minisat segfault tests

### Example

- `kissat-cli` tool

<!-- generated by git-cliff -->
## [0.1.6] - 2024-02-22

### Miscellaneous Tasks
Expand Down
4 changes: 2 additions & 2 deletions kissat/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustsat-kissat"
version = "0.1.6"
version = "0.1.7"
edition = "2021"
authors = ["Christoph Jabs <[email protected]>"]
license = "MIT"
Expand All @@ -26,7 +26,7 @@ sc2022-bulky = []

[dependencies]
cpu-time = "1.0.0"
rustsat = { version = "0.4.3", path = "../rustsat", default-features = false }
rustsat = { version = "0.4.4", path = "../rustsat", default-features = false }
thiserror = { version = "1.0.57" }
anyhow = { version = "1.0.80" }

Expand Down
38 changes: 38 additions & 0 deletions minisat/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,44 @@

All notable changes to this project will be documented in this file.

## [0.2.5] - 2024-04-26

### Bug Fixes

- Variable freezing and return val for `var_eliminated`
- Segfault in minisat

### Documentation

- Add missing documentation

### Features

- `quiet` feature to disable stdout printing
- Migrate error handling to anyhow create
- `FreezeVar` trait for Glucose and Minisat
- Return error when assumption is eliminated
- Add `add_clause_ref` method to `Solve` trait
- `Extend<&Clause>` for solvers
- Catch memory out in solvers
- Catch memory outs in clause collector

### Refactor

- Clean up control flow in solver methods
- Factor out solver integration tests
- Factor out solver unit tests
- Solver build system

### Testing

- Minisat segfault tests

### Example

- `minisat-cli` tool

<!-- generated by git-cliff -->
## [0.2.4] - 2024-02-22

### Bug Fixes
Expand Down
4 changes: 2 additions & 2 deletions minisat/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustsat-minisat"
version = "0.2.4"
version = "0.2.5"
edition = "2021"
authors = ["Christoph Jabs <[email protected]>"]
license = "MIT"
Expand All @@ -20,7 +20,7 @@ default = ["quiet"]

[dependencies]
cpu-time = "1.0.0"
rustsat = { version = "0.4.3", path = "../rustsat", default-features = false }
rustsat = { version = "0.4.4", path = "../rustsat", default-features = false }
thiserror = { version = "1.0.57" }
anyhow = { version = "1.0.80" }

Expand Down
2 changes: 1 addition & 1 deletion pyapi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ build = "build.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
rustsat = { version = "0.4.3", path = "../rustsat", default-features = false }
rustsat = { version = "0.4.4", path = "../rustsat", default-features = false }
pyo3 = { version = "0.21.1", features = [
"extension-module",
"abi3",
Expand Down
5 changes: 0 additions & 5 deletions release-plz.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ publish_allow_dirty = false
# disable running `cargo-semver-checks`
semver_check = true

[[package]]
name = "rustsat-ipasir"
release = false
git_release_enable = false

[[package]]
name = "rustsat-solvertests"
release = false
Expand Down
2 changes: 1 addition & 1 deletion rustsat/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustsat"
version = "0.4.3"
version = "0.4.4"
edition = "2021"
authors = ["Christoph Jabs <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion solvertests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ proc-macro = true
[dependencies]
syn = "2.0"
quote = "1.0"
rustsat = { version = "0.4.3", path = "../rustsat", default-features = false }
rustsat = { version = "0.4.4", path = "../rustsat", default-features = false }
proc-macro2 = "1.0"
18 changes: 18 additions & 0 deletions tools/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

All notable changes to this project will be documented in this file.

## [0.2.5] - 2024-04-26

### Documentation

- Fix broken links

### Features

- Instance ergonomics for member variables
- Ergonomics for dimacs writing
- Use anyhow in rustsat-tools
- Have file parsers take BufRead types

### Refactor

- Mixed cleanup tasks

<!-- generated by git-cliff -->
## [0.2.4] - 2024-02-22

### Features
Expand Down
8 changes: 4 additions & 4 deletions tools/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustsat-tools"
version = "0.2.4"
version = "0.2.5"
edition = "2021"
authors = ["Christoph Jabs <[email protected]>"]
license = "MIT"
Expand All @@ -12,14 +12,14 @@ readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
rustsat = { version = "0.4.3", path = "../rustsat", features = [
rustsat = { version = "0.4.4", path = "../rustsat", features = [
"compression",
"multiopt",
"rand",
"internals",
] }
rustsat-cadical = { version = "0.2.4", path = "../cadical", optional = true }
rustsat-minisat = { version = "0.2.4", path = "../minisat", optional = true }
rustsat-cadical = { version = "0.2.5", path = "../cadical", optional = true }
rustsat-minisat = { version = "0.2.5", path = "../minisat", optional = true }
clap = { version = "4.2.4", features = ["derive", "cargo"] }
concolor-clap = { version = "0.1.0" }
termcolor = { version = "1.2.0" }
Expand Down
Loading