diff --git a/docs/deprecations.rst b/docs/deprecations.rst index bc4e83161..306fde5ad 100644 --- a/docs/deprecations.rst +++ b/docs/deprecations.rst @@ -61,13 +61,12 @@ a ``DeprecationWarning``: Setting the size of a TIFF image directly is deprecated, and will be removed in a future version. Use the resize method instead. -PILLOW_VERSION and VERSION constants -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +PILLOW_VERSION constant +~~~~~~~~~~~~~~~~~~~~~~~ .. deprecated:: 5.2.0 -Two version constants – ``VERSION`` (the old PIL version, always 1.1.7) and -``PILLOW_VERSION`` – have been deprecated and will be removed in the next +``PILLOW_VERSION`` has been deprecated and will be removed in the next major release. Use ``__version__`` instead. Removed features @@ -76,6 +75,14 @@ Removed features Deprecated features are only removed in major releases after an appropriate period of deprecation has passed. +VERSION constant +~~~~~~~~~~~~~~~~ + +*Removed in version 6.0.0.* + +``VERSION`` (the old PIL version, always 1.1.7) has been removed. Use +``__version__`` instead. + Undocumented ImageOps functions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/docs/releasenotes/6.0.0.rst b/docs/releasenotes/6.0.0.rst index 9fbb3d69a..d936b63e3 100644 --- a/docs/releasenotes/6.0.0.rst +++ b/docs/releasenotes/6.0.0.rst @@ -26,6 +26,12 @@ Several undocumented functions in ``ImageOps`` were deprecated in Pillow 4.3.0 ( and have now been removed: ``gaussian_blur``, ``gblur``, ``unsharp_mask``, ``usm`` and ``box_blur``. Use the equivalent operations in ``ImageFilter`` instead. +Removed deprecated VERSION +^^^^^^^^^^^^^^^^^^^^^^^^^^ + +``VERSION`` (the old PIL version, always 1.1.7) has been removed. Use ``__version__`` +instead. + API Changes ===========