Merge pull request #58 from nulano/add-8.0.0-release-notes

This commit is contained in:
Hugo van Kemenade 2020-08-09 23:06:25 +03:00 committed by GitHub
commit 9df91911d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 20 deletions

View File

@ -91,17 +91,18 @@ ImageCms.CmsProfile attributes
Some attributes in :py:class:`PIL.ImageCms.CmsProfile` have been removed. From 6.0.0,
they issued a ``DeprecationWarning``:
======================== ===============================================================
======================== ===================================================
Removed Use instead
======================== ===============================================================
``color_space`` Padded :py:attr:`~PIL.ImageCms.CmsProfile.xcolor_space`
``pcs`` Padded :py:attr:`~PIL.ImageCms.CmsProfile.connection_space`
``product_copyright`` Unicode :py:attr:`~PIL.ImageCms.CmsProfile.copyright`
``product_desc`` Unicode :py:attr:`~PIL.ImageCms.CmsProfile.profile_description`
``product_description`` Unicode :py:attr:`~PIL.ImageCms.CmsProfile.profile_description`
``product_manufacturer`` Unicode :py:attr:`~PIL.ImageCms.CmsProfile.manufacturer`
``product_model`` Unicode :py:attr:`~PIL.ImageCms.CmsProfile.model`
======================== ===============================================================
======================== ===================================================
``color_space`` Padded :py:attr:`~.CmsProfile.xcolor_space`
``pcs`` Padded :py:attr:`~.CmsProfile.connection_space`
``product_copyright`` Unicode :py:attr:`~.CmsProfile.copyright`
``product_desc`` Unicode :py:attr:`~.CmsProfile.profile_description`
``product_description`` Unicode :py:attr:`~.CmsProfile.profile_description`
``product_manufacturer`` Unicode :py:attr:`~.CmsProfile.manufacturer`
``product_model`` Unicode :py:attr:`~.CmsProfile.model`
======================== ===================================================
Python 2.7
~~~~~~~~~~

View File

@ -26,17 +26,17 @@ ImageCms.CmsProfile attributes
Some attributes in :py:class:`PIL.ImageCms.CmsProfile` have been removed:
======================== ===============================================================
======================== ===================================================
Removed Use instead
======================== ===============================================================
``color_space`` Padded :py:attr:`~PIL.ImageCms.CmsProfile.xcolor_space`
``pcs`` Padded :py:attr:`~PIL.ImageCms.CmsProfile.connection_space`
``product_copyright`` Unicode :py:attr:`~PIL.ImageCms.CmsProfile.copyright`
``product_desc`` Unicode :py:attr:`~PIL.ImageCms.CmsProfile.profile_description`
``product_description`` Unicode :py:attr:`~PIL.ImageCms.CmsProfile.profile_description`
``product_manufacturer`` Unicode :py:attr:`~PIL.ImageCms.CmsProfile.manufacturer`
``product_model`` Unicode :py:attr:`~PIL.ImageCms.CmsProfile.model`
======================== ===============================================================
======================== ===================================================
``color_space`` Padded :py:attr:`~.CmsProfile.xcolor_space`
``pcs`` Padded :py:attr:`~.CmsProfile.connection_space`
``product_copyright`` Unicode :py:attr:`~.CmsProfile.copyright`
``product_desc`` Unicode :py:attr:`~.CmsProfile.profile_description`
``product_description`` Unicode :py:attr:`~.CmsProfile.profile_description`
``product_manufacturer`` Unicode :py:attr:`~.CmsProfile.manufacturer`
``product_model`` Unicode :py:attr:`~.CmsProfile.model`
======================== ===================================================
API Changes
===========