Skip to content

Releases: cms-nanoAOD/correctionlib

v2.6.4

21 Aug 05:08
d721fdf
Compare
Choose a tag to compare

Identical to v2.6.2. Fixes yet another deployment bug.

What's Changed

Full Changelog: v2.6.3...v2.6.4

v2.6.3

21 Aug 04:20
7049ef4
Compare
Choose a tag to compare

Identical to v2.6.2. Fixes a deployment bug.

What's Changed

Full Changelog: v2.6.2...v2.6.3

v2.6.2

21 Aug 03:31
79832f6
Compare
Choose a tag to compare

Mostly bugfixes, though a new validation option is available: correction validate --ignore-float-inf. The plan is to migrate fully to string infinities on a longer timescale (potentially v3) as old evaluators are not forwards-compatible.

What's Changed

  • fix: re-raise error if conditions for dispatch not met by @lgray in #253
  • Bump pypa/cibuildwheel from 2.19.1 to 2.19.2 by @dependabot in #249
  • Use fast printing for pydantic validation errors by @nsmith- in #256
  • Add a validation option to ignore float infinities in bin edges by @nsmith- in #257
  • Make the help message slightly more clear by @nsmith- in #259
  • Link against libz and pthread privately by @nsmith- in #258

Full Changelog: v2.6.1...v2.6.2

Version 2.6.1

02 Jul 13:33
d183907
Compare
Choose a tag to compare

This is a patch release on v2.6 that allows the evaluator to read correctionlib JSON made prior to the migration to string infinity.

What's Changed

  • Re-enable rapidjson::kParseNanAndInfFlag for backwards-compatibility by @nsmith- in #248

Full Changelog: v2.6.0...v2.6.1

Version 2.6.0

21 Jun 14:52
7e07b20
Compare
Choose a tag to compare

The main purpose of this release is to ensure numpy 2.0 compatibility.
⚠️ With previous versions of correctionlib and numpy 2.0, there are silent wrong results for vectorized evaluation ⚠️
See #240 (comment) for details.

Also, a new method of handling infinities in bin edges is introduced: one needs to use "inf" or "-inf" rather than floating point values. A warning explains in detail how to change corrections.

What's Changed

Dependency updates

Full Changelog: v2.5.0...v2.6.0

Version 2.5.0

02 Feb 21:02
767029c
Compare
Choose a tag to compare

More dask-awkward support and pydantic 2 migration. Python 3.6 support is dropped, and 3.12 added.

What's Changed

  • Make interfaces of C++ correction types more uniform by @eguiraud in #215
  • Bump pypa/gh-action-pypi-publish from 1.8.10 to 1.8.11 by @dependabot in #216
  • Migrate to pydantic2 by @nsmith- in #220
  • feat: add dask_awkward wrapper to Correction and CompoundCorrection by @lgray in #219
  • Move away from deprecated pkg_resources by @eguiraud in #210
  • Bump pypa/cibuildwheel from 2.14.1 to 2.16.5 by @dependabot in #221

Full Changelog: v2.4.0...v2.5.0

Version 2.4.0

25 Oct 20:47
8589f6b
Compare
Choose a tag to compare

The parsed Formula objects are now readable via a python API, for use in upstream packages such as the forthcoming correctionlib-gradients utility.

What's Changed

Full Changelog: v2.3.3...v2.4.0

Version 2.3.3

07 Sep 19:59
ec81bc7
Compare
Choose a tag to compare

This fixes hopefully the last deployment bug, otherwise identical to v2.3

What's Changed

Full Changelog: v2.3.2...v2.3.3

Version 2.3.2

29 Aug 17:21
d6b2eb2
Compare
Choose a tag to compare

This fixes yet another deployment bug (missing dependency), otherwise identical to v2.3

What's Changed

Full Changelog: v2.3.1...v2.3.2

Version 2.3.1

24 Aug 22:34
4f8bce2
Compare
Choose a tag to compare

This release is the same as v2.3 but with a fix to the deployment. I've copied the v2.3 release notes below. In this release, awkward1 and awkward2 are now supported, but only awkward2 jagged arrays will be broadcast. For awkward1, users will still need to flatten arrays before passing to evaluate() calls.

What's Changed

Full Changelog: v2.3.0...v2.3.1