All Versions
12
Latest Version
Avg Release Cycle
232 days
Latest Release
-

Changelog History
Page 1

  • v408.2 Changes

    βœ… Tested (sort of) with Z3 4.8.8.

    • βž• Added Optimization API. (David Cao)
    • βž• Added Sequences and regular expressions API. (Carlo Nucera)
    • Added z3_solver_get_proof. ("0xd34df00d")
    • βž• Added MonadZ3 instance for ReaderT. ("0xd34df00d")
    • πŸ›  Fixed two typos in docs. (Mauro Bringolf)
  • v408.1 Changes

    βœ… Tested (sort of) with Z3 4.8.4.

    • βž• Added bindings to substitute and isEqAST. (Hengchu Zhang)
    • βž• Added MonadFail instance for Z3, required by GHC >=8.6. (Conal Elliott)
    • Updated Z3_get_error_msg signature (Z3 C API 4.8.7). (Kevin Quick)
    • πŸ›  Removed bindings to Z3_fixedpoint_push and Z3_fixedpoint_pop (Z3 C API 4.8.5). (Eric Walkingshaw)
    • Replaced z3_get_error_msg_ex with z3_get_error_msg (Z3 C API 4.8.5). (Alexander Knauth)
    • βž• Added semigroups to dependencies for GHC <= 7. (Hogeyama)
  • v408.0 Changes

    March 17, 2019
    • πŸ‘ Enabled support for Z3 4.8. (Carlo Nucera)
      • Required removing the Inteprolation API, z3_get_parser_error and other functions!
    • Do not crash on empty lists. (M Farkas-Dyck)
    • Added binding for Z3_mk_finite_domain_sort. (M Farkas-Dyck)
    • β†ͺ Implemented workaround for Z3.Base.toBool to work on OS X. (Matthew Doty)

    By the way, you have read correctly, this new version is 408.0. Find more details about the new version policy in the [README](README.md).

  • v4.3.1 Changes

    May 13, 2018
    • πŸ›  Fixed compatibility with base 4.11 due to SMP. (M Farkas-Dyck)

    NOTE: This version didn't make it into Hackage.

  • v4.3 Changes

    April 29, 2018

    πŸ›  Fixes

    • πŸ›  Fixed memory leak due to typo in Z3.Base.C. (Deian Stefan)

    πŸ†• New API support

    • πŸ›  Added partial support for Fixedpoint API. (David Heath)
    • Added more bindings to the Models API. (Daniel GrΓΆber)
    • πŸ“œ Added Parser interface API. (Tristan Knoth)

    Misc

    • 🚚 After many requests, I have moved the repository to GitHub: https://github.com/IagoAbal/haskell-z3.
    • From now on the revision number (aka patch level) 0 will be omitted (so x.y instead of x.y.0).
  • v4.2.0 Changes

    February 17, 2018

    πŸš€ This release removes support for SMT-LIB 1.x in order to be compatible with Z3 4.6.

  • v4.1.2 Changes

    September 17, 2017

    πŸš€ This minor release extends the supported quantifiers API, and adds πŸ‘ partial support for Z3's proof tactics.

    • πŸ‘Œ Improved support for theorem proving with quantifiers. (Jakub Daniel)
  • v4.1.1 Changes

    August 07, 2017

    πŸš€ Another small release, made possible thanks to third-party contributions.

    • βž• Added bindings for getting the accessors of datatype constructors. (William Hallahan)
    • βž• Added bindings for declaring mutually recursive datatypes. (William Hallahan)
    • Added partial support for the Interpolation API. (Jakub Daniel)
    • βž• Added bindings for deconstructing function applications. (Jakub Daniel)
    • βž• Added bindings for simplify and simplifyEx. (Gleb Popov)
    • Some code cleanup. (Jakub Daniel and Iago Abal)
  • v4.1.0 Changes

    July 18, 2015

    πŸš€ Small maintenance release that however introduces one API breaking change.

    • Added bindings for the Set API. (Nadia Polikarpova)
    • Fix #4: Replace the now deprecated Z3_eval with Z3_model_eval.
    • πŸ›  Fix #5: Check error codes right after an API call. (David Castro)

    To fix #4 we had to change the type of modelEval, which now takes an extra Bool parameter (to force model completion).

  • v4.0.0 Changes

    April 11, 2015

    πŸš€ This release brings support for the new Z3 4.x API, βœ‚ and removes support for the old API. We are following a new version policy, yet compatible with Haskell's PVP. So new versions are of the form x.y.z, where x is the version of Z3 API supported, y is a major revision of the bindings, and z is a minor revision of the bindings. Consequently, we bumped the version to 4.0.0 :-).

    Special thanks to Nadia Polikarpova, who diagnosed a problem in our use of ForeignPtr finalizers, and proposed a fix.

    πŸ“¦ Cabal package

    • 🚚 Relaxed dependencies, and removed upper bounds.

    πŸ†• New features and API functions

    • Switched to Z3 4.x API.
    • Reference counting is managed by the gargabe collector.
    • Algebraic datatypes. (KC Sivaramakrishnan)
    • Z3_get_ast_kind, Z3_solver_check_assumptions, Z3_solver_get_unsat_core. (Nadia Polikarpova)
    • Z3_mk_fresh_const, Z3_mk_fresh_func_decl. (KC Sivaramakrishnan)
    • MonadFix instance for the Z3 monad. (Pepe Iborra)
    • βœ… Hspec test-suite, with just a couple of tests, more to come...
    • A few more helpers for creating numerals, evaluating expressions, and so on.
    • Module Z3.Base.C, a very low-level interface to Z3 C API, is now exported. Just in case you want to write your own marshaling layer ;-)

    Removals and API-breaking changes

    • πŸ‘ No more support for the old Z3 3.x API.
    • βœ‚ Removed Z3.Lang module, this should re-appear as a separate package soon.
    • MonadZ3 instances must be Applicative.
    • Numerals API is now closer to Z3 C API. So, for instance, mkInt now takes both an integer and a sort. You can use mkInteger or mkIntNum instead.
    • Z3.Monad.assertCnstr is now called Z3.Monad.assert.

    πŸ”¨ Refactoring and clean-up

    • ⬇️ Reduce boilerplate in Z3.Base.
    • πŸ›  Fix docs to distinguish Z3 API functions and helpers.