Skip to content

Releases: cms-nanoAOD/correctionlib

v2.8.0rc1: fix: compare version to SKBUILD properly (#314)

01 Dec 02:39
b6a3485

Choose a tag to compare

Pre-release to test CD pipelines

v2.7.0

29 Apr 00:16
fd69c2e

Choose a tag to compare

A new flow: "wrap" option is available to handle axes with circular binning (e.g. phi)
Validation error messages are significantly improved with the discriminated union type!

What's Changed

  • Migrate from defaultdict to Counter by @nsmith- in #267
  • build: add aarch64 wheels and upkeep chores by @lgray in #270
  • Use discriminated union for nodetype by @nsmith- in #272
  • Migrate to scikit-build-core by @mgorny in #279
  • deps: pybind 2.13.6 by @lgray in #280
  • Try fetching tags to get correct version in CI by @mgorny in #281
  • fix: move to 12 Mar 2025 rapidjson master by @lgray in #283
  • ci: use new native arm builders for wheels by @lgray in #285
  • Add flow: wrap option to handle circular axes by @dsavoiu in #276
  • Add "--ignore-float-inf" for "correction summary" by @ftorrresd in #289

New Contributors

Full Changelog: v2.6.4...v2.7.0

v2.6.4

21 Aug 05:08
d721fdf

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

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

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

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

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

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

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

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