From cb21a8d0aa20ab23181e385180d5fbf9625f716e Mon Sep 17 00:00:00 2001 From: "Nathaniel J. Smith" Date: Sat, 7 Apr 2018 21:26:57 -0700 Subject: [PATCH] Bump version to v1.1.2 --- colorspacious/ciecam02.py | 1 + colorspacious/version.py | 2 +- doc/changes.rst | 18 ++++++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/colorspacious/ciecam02.py b/colorspacious/ciecam02.py index c1f5b2f..f22508a 100644 --- a/colorspacious/ciecam02.py +++ b/colorspacious/ciecam02.py @@ -21,6 +21,7 @@ # Average 1.0 0.69 1.0 # Dim 0.9 0.59 0.9 # Dark 0.8 0.525 0.8 +# See: https://github.com/njsmith/colorspacious/issues/14 CIECAM02Surround = namedtuple("CIECAM02Surround", ["F", "c", "N_c"]) CIECAM02Surround.AVERAGE = CIECAM02Surround(1.0, 0.69, 1.0) CIECAM02Surround.DIM = CIECAM02Surround(0.9, 0.59, 0.9) diff --git a/colorspacious/version.py b/colorspacious/version.py index ff36098..7f6a288 100644 --- a/colorspacious/version.py +++ b/colorspacious/version.py @@ -18,4 +18,4 @@ # want. (Contrast with the special suffix 1.0.0.dev, which sorts *before* # 1.0.0.) -__version__ = "1.1.1+dev" +__version__ = "1.1.2" diff --git a/doc/changes.rst b/doc/changes.rst index c00ebdc..550ef14 100644 --- a/doc/changes.rst +++ b/doc/changes.rst @@ -1,6 +1,24 @@ Changes ======= +v1.1.2 +------ + +* **BUG AFFECTING CALCULATIONS:** As a result of the scrutiny + triggered by the v1.1.1 release, we discovered that the reference + article that colorspacious (and other libraries) was using as a + source for the ``CIECAM02Surround.DIM`` constant values was *itself* + incorrect. It has now been corrected, and verified against CIE + 159:2004. See `#14 + `__ for details, + and thanks to Thomas Mansencal and Mark Fairchild for helping sort + this out. + + Like the bug fix in v1.1.1, this doesn't affect most calculations; + it only matters if you were explicitly choosing the + ``CIECAM02Surround.DIM`` viewing conditions. + + v1.1.1 ------