Skip to content

Commit

Permalink
Bump version to v1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
njsmith committed Apr 8, 2018
1 parent e8fef1b commit cb21a8d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
1 change: 1 addition & 0 deletions colorspacious/ciecam02.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion colorspacious/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
18 changes: 18 additions & 0 deletions doc/changes.rst
Original file line number Diff line number Diff line change
@@ -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
<https://github.com/njsmith/colorspacious/issues/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
------

Expand Down

0 comments on commit cb21a8d

Please sign in to comment.