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 #141

Merged
merged 2 commits into from
Oct 16, 2024
Merged
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
54 changes: 54 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,60 @@

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

## [0.6.0] - 2024-10-16

### Features

- External solver interface
- Batsat solver interface
- Generalize batsat interface
- `lit` method for `Var`
- Implement `Default` for `TernaryVal`
- `iter` method for `Assignment`
- `is_sat` for `Cnf` and `Assignment` ergonomics
- `Propagate` trait
- `Cl` as light-weight DST for clauses
- [**breaking**] Add `evaluate`, replacing `is_sat`
- Add generalized totalizer to capi
- `Cnf::clear`
- Ladder at-most-one encoding
- Bitwise at-most-one encoding
- Commander at-most-one encoding
- Bimander at-most-one encoding

### Documentation

- Fix ambiguous links
- Mark `internals` properly
- Fix typos

### Miscellaneous Tasks

- Move main crate to project root
- Pedantic clippy
- [**breaking**] Breaking clippy suggestions
- [**breaking**] Rename constraint types
- Update dependencies
- Run clippy nightly on prs
- Update dependencies
- Clippy with most-recent nightly
- Set up nix dev shell and tools package

### Refactor

- [**breaking**] Make reading functions take reader by reference
- Use bindgen to generate solver bindings

### Testing

- Paths relative to manifest
- Basic kani harnesses for `Var` and `Lit`

### Api

- [**breaking**] Mark unchecked functions as unsafe

<!-- generated by git-cliff -->
## [0.5.1] - 2024-06-12

### Features
Expand Down
22 changes: 11 additions & 11 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ thiserror = "1.0.63"
rand = "0.8.5"
rand_chacha = "0.3.1"
rustc-hash = "2.0.0"
rustsat = { version = "0.5.1", path = "./", default-features = false }
rustsat-cadical = { version = "0.3.1", path = "./cadical" }
rustsat-minisat = { version = "0.3.1", path = "./minisat" }
rustsat = { version = "0.6.0", path = "./", default-features = false }
rustsat-cadical = { version = "0.4.0", path = "./cadical" }
rustsat-minisat = { version = "0.4.0", path = "./minisat" }
rustsat-solvertests = { path = "./solvertests" }
signal-hook = "0.3.17"
tempfile = "3.12.0"
Expand All @@ -51,7 +51,7 @@ xz2 = "0.1.7"

[package]
name = "rustsat"
version = "0.5.1"
version = "0.6.0"
edition.workspace = true
authors = ["Christoph Jabs <christoph.jabs@helsinki.fi>"]
license.workspace = true
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.4.0] - 2024-10-16

### Bug Fixes

- Ensure solvers are always linked statically
- Don't unnecessarily rebuild cadical
- Accidental double init
- Use `cargo:` syntax in build script for backwards compatibility

### Documentation

- Describe CPP source customization

### Features

- CaDiCal Versions 2.0.0 and 2.1.0
- `Propagate` trait
- Allow applying custom patches
- Allow specifying custom cpp src directory

### Miscellaneous Tasks

- Fix stray feature reference
- Pedantic clippy
- [**breaking**] Breaking clippy suggestions

### Refactor

- [**breaking**] Make reading functions take reader by reference
- Use bindgen to generate solver bindings
- Keep patch code in separate files

### Testing

- Add tests for `FlipLit` trait

<!-- generated by git-cliff -->
## [0.3.1] - 2024-06-12

### Miscellaneous Tasks
Expand Down
2 changes: 1 addition & 1 deletion cadical/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustsat-cadical"
version = "0.3.1"
version = "0.4.0"
edition.workspace = true
authors = ["Christoph Jabs <christoph.jabs@helsinki.fi>"]
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion capi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustsat-capi"
version = "0.5.1"
version = "0.6.0"
edition.workspace = true
authors = ["Christoph Jabs <christoph.jabs@helsinki.fi>"]
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ commit_parsers = [
{ message = "^chore\\(deps\\)", skip = true },
{ message = "^chore\\(pr\\)", skip = true },
{ message = "^chore\\(pull\\)", skip = true },
{ message = "^chore|ci", group = "Miscellaneous Tasks" },
{ message = "^chore|ci|misc", group = "Miscellaneous Tasks" },
{ body = ".*security", group = "Security" },
{ message = "^revert", group = "Revert" },
]
Expand Down
19 changes: 19 additions & 0 deletions glucose/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@

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

## [0.3.2] - 2024-10-16

### Bug Fixes

- Ensure solvers are always linked statically

### Features

- `Propagate` trait

### Miscellaneous Tasks

- Pedantic clippy

### Refactor

- Use bindgen to generate solver bindings

<!-- generated by git-cliff -->
## [0.3.1] - 2024-06-12

### Miscellaneous Tasks
Expand Down
2 changes: 1 addition & 1 deletion glucose/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustsat-glucose"
version = "0.3.1"
version = "0.3.2"
edition.workspace = true
authors = ["Christoph Jabs <christoph.jabs@helsinki.fi>"]
license.workspace = true
Expand Down
7 changes: 7 additions & 0 deletions ipasir/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

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

## [0.1.2] - 2024-10-16

### Miscellaneous Tasks

- Pedantic clippy

<!-- generated by git-cliff -->
## [0.1.1] - 2024-06-12

### Miscellaneous Tasks
Expand Down
2 changes: 1 addition & 1 deletion ipasir/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustsat-ipasir"
version = "0.1.1"
version = "0.1.2"
edition.workspace = true
authors = ["Christoph Jabs <christoph.jabs@helsinki.fi>"]
license.workspace = true
Expand Down
21 changes: 21 additions & 0 deletions kissat/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,27 @@

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

## [0.3.0] - 2024-10-16

### Bug Fixes

- Ensure solvers are always linked statically

### Features

- Kissat versions 4.0.0 and 4.0.1

### Miscellaneous Tasks

- Pedantic clippy
- [**breaking**] Breaking clippy suggestions

### Refactor

- [**breaking**] Make reading functions take reader by reference
- Use bindgen to generate solver bindings

<!-- generated by git-cliff -->
## [0.2.1] - 2024-06-12

### Miscellaneous Tasks
Expand Down
2 changes: 1 addition & 1 deletion kissat/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustsat-kissat"
version = "0.2.1"
version = "0.3.0"
edition.workspace = true
authors = ["Christoph Jabs <christoph.jabs@helsinki.fi>"]
license.workspace = true
Expand Down
16 changes: 16 additions & 0 deletions minisat/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@

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

## [0.4.0] - 2024-10-16

### Features

- `Propagate` trait

### Miscellaneous Tasks

- Pedantic clippy

### Refactor

- [**breaking**] Make reading functions take reader by reference
- Use bindgen to generate solver bindings

<!-- generated by git-cliff -->
## [0.3.1] - 2024-06-12

### Miscellaneous Tasks
Expand Down
2 changes: 1 addition & 1 deletion minisat/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustsat-minisat"
version = "0.3.1"
version = "0.4.0"
edition.workspace = true
authors = ["Christoph Jabs <christoph.jabs@helsinki.fi>"]
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion pyapi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustsat-pyapi"
version = "0.5.1"
version = "0.6.0"
edition.workspace = true
authors = ["Christoph Jabs <christoph.jabs@helsinki.fi>"]
license.workspace = true
Expand Down
5 changes: 0 additions & 5 deletions release-plz.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,3 @@ git_release_enable = false
name = "rustsat-pyapi"
release = false
git_release_enable = false

[[package]]
name = "rustsat-batsat"
release = false
git_release_enable = false
2 changes: 1 addition & 1 deletion scripts/sync-versions.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

VERSION=$(grep '^version = "[[:digit:]]\+.[[:digit:]]\+.[[:digit:]]\+"' rustsat/Cargo.toml | cut -d '"' -f2)
VERSION=$(grep '^version = "[[:digit:]]\+.[[:digit:]]\+.[[:digit:]]\+"' Cargo.toml | cut -d '"' -f2)
SED_PATTERN="s/^version = \"[[:digit:]]\+.[[:digit:]]\+.[[:digit:]]\+\"$/version = \"${VERSION}\"/g"

# sync C-API version
Expand Down
Loading
Loading