Skip to content

Releases: scikit-hep/formulate

Release V1: complete overhaul

13 May 09:52
Compare
Choose a tag to compare

Release Notes for Version 1.0.0

Formulate is now significantly faster and cleaner in handling large expressions thanks to a new backend.

Features and Enhancements

  • Expression Conversion:

    • Improved the API for converting between ROOT and numexpr-style expressions.
    • Introduced a new abstract syntax tree (AST) system (AST.py) for better parsing and manipulation of expressions.
  • Compatibility Updates:

    • Raised the minimum supported Python version to 3.10.
    • Removed Python 2.x and older 3.x versions from compatibility.

Bug Fixes

  • Fixed various issues in parsing and converting mathematical expressions between formats.
  • Enhanced testing coverage and fixed bugs related to edge cases in the API.

All this was contributed by @aryan26roy and @jpivarski

Version 1.0.0rc1

05 Nov 15:02
9a0371c
Compare
Choose a tag to compare
Version 1.0.0rc1 Pre-release
Pre-release

Summary

This is the first release after the switch to Lark.

What's Changed

New Contributors

Full Changelog: v0.1.1...v1.0.0rc1

Minor bug fixes

15 Apr 16:29
Compare
Choose a tag to compare

This release is the correctly tagged release of 0.1.0 and contains mainly developer side updates of the CI, CD, pre-commits and more.

v0.0.8: Merge pull request #22 from scikit-hep/add-subvariables

15 Oct 22:47
ea7703d
Compare
Choose a tag to compare

Preliminary support for nested variables

Add docs and automatic parsing

27 Feb 08:19
588e793
Compare
Choose a tag to compare
Merge pull request #16 from chrisburr/add-docs

Add docs and auto expression type detection

v0.0.6

23 Feb 15:28
Compare
Choose a tag to compare
  • Set minimum pyparsing version

v0.0.5: Merge pull request #11 from chrisburr/add-more-constants

23 Feb 11:38
9f05613
Compare
Choose a tag to compare
  • Add support for all TMath constants except those related to uncertainties
  • Add support for most TMath functions
  • Add variables, named_constants and unnamed_constants properties to Expression objects
  • Generally improve Expression API

v0.0.4

15 Feb 09:54
Compare
Choose a tag to compare
  • Add support for constants
  • Improve add ExpressionComponent base class for expressions
  • Add support for combining expressions using various operators
  • Improve logging
  • Add support for setting the log level with the FOMULATE_LOG_LEVEL environment variable

v0.0.3

11 Feb 22:02
Compare
Choose a tag to compare
  • Add README to PyPI
  • Ensure parentheses are always present in string output to avoid losing the order of operations
  • Fix Python 2.7 support

v0.0.2

11 Feb 18:29
Compare
Choose a tag to compare
  • Fix order of operations
  • Add additional operations
  • Allow converting back to a string using the to_root and to_numexpr methods
  • Add support Python 2.7, 3.4 and 3.5