Repository navigation
Releases
Releases · samdobson/dealbreaker
Dealbreaker v1.4.0
Full Changelog: v1.3.0...v1.4.0
Dealbreaker v1.3.0
Bindings & Distribution
- Added Python bindings (
dealbreaker-pyvia PyO3/maturin) with GIL release and automated PyPI wheel/sdist publishing. - Added C FFI crate (
dealbreaker-ffi) withdealbreaker.h,module.modulemap, XCFramework build support, and pre-built FFI release archives. - Added multi-arch scratch Docker image (
ghcr.io/samdobson/dealbreaker), switched Linux CLI release binaries to staticmusl, and addedcargo-binstallsupport.
Engine, Rules & Solver
- Expanded data-driven rule support across deal steps, stock/redeal modes, empty-pile/neighbor rules, removal rules, win conditions, and build/direction constraints.
- Added optional
rayonparallelism (parallelfeature) forhint()anddealbreaker bench, plus?unknown face-down card placeholders inhintpositions. - Added optional
schemarsJSON Schema generation (schemafeature) with checked-in schemas.
CLI, Docs & Web Demo
- Added
--version,validate,hint --json, stdin (-) input, and strict unknown-flag rejection todealbreaker-cli. - Added VitePress documentation site and interactive WebAssembly web demo deployed to GitHub Pages.
Full Changelog: v1.2.0...v1.3.0
Dealbreaker v1.2.0
JavaScript / TypeScript & Distribution
- Published typed
dealbreakernpm package (js/) with ESM exports for browsers, bundlers, and Node.js (>=18), full TypeScript definitions (Rules,StateData,Step,SolveOptions,SolveResult,MaxResult,Hint), anddealbreaker/worker(WorkerSolver) for off-main-thread searches. - Added
Solver.dealOrdered(cards)andSolver.validate(state)to the WASM/JS API. - Added automated release workflow (
.github/workflows/release.yml) for crates.io, npm provenance publishing, and pre-built CLI binaries (Linux x86_64/arm64, macOS arm64/x86_64, Windows x86_64) withSHA256SUMS.txt.
Solver & CLI
- Cooperative cancellation (
solve_with_cancel,maximize_with_cancel,hint_with_cancel) via&AtomicBool, checked periodically in search loops and guaranteed never to reportOutcome::Unsolvable. - Wall-clock search timeouts via
SolveOptions::timeout_ms/SolveOptions::max_duration(native targets) and CLI--timeout-ms N. - Long-lived JSONL stdio server mode (
dealbreaker serve <GAME>): compiles the game once and servesdeal,solve,best,hint,legal_steps,play_step,validate,is_won,score,rules, andquitrequests overstdin/stdout.
Full Changelog: v1.1.0...v1.2.0