Skip to content

Releases

Dealbreaker v1.4.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 11:25

Full Changelog: v1.3.0...v1.4.0

Dealbreaker v1.3.0

Choose a tag to compare

@samdobson samdobson released this 24 Nov 21:51

Bindings & Distribution

  • Added Python bindings (dealbreaker-py via PyO3/maturin) with GIL release and automated PyPI wheel/sdist publishing.
  • Added C FFI crate (dealbreaker-ffi) with dealbreaker.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 static musl, and added cargo-binstall support.

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 rayon parallelism (parallel feature) for hint() and dealbreaker bench, plus ? unknown face-down card placeholders in hint positions.
  • Added optional schemars JSON Schema generation (schema feature) with checked-in schemas.

CLI, Docs & Web Demo

  • Added --version, validate, hint --json, stdin (-) input, and strict unknown-flag rejection to dealbreaker-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

Choose a tag to compare

@samdobson samdobson released this 23 Nov 20:11

JavaScript / TypeScript & Distribution

  • Published typed dealbreaker npm package (js/) with ESM exports for browsers, bundlers, and Node.js (>=18), full TypeScript definitions (Rules, StateData, Step, SolveOptions, SolveResult, MaxResult, Hint), and dealbreaker/worker (WorkerSolver) for off-main-thread searches.
  • Added Solver.dealOrdered(cards) and Solver.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) with SHA256SUMS.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 report Outcome::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 serves deal, solve, best, hint, legal_steps, play_step, validate, is_won, score, rules, and quit requests over stdin/stdout.

Full Changelog: v1.1.0...v1.2.0

Dealbreaker v1.1.0

Choose a tag to compare

@samdobson samdobson released this 23 Nov 18:13

The first public release.