diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/history/1.6.rst | 4 | ||||
| -rw-r--r-- | docs/history/1.7.rst | 4 | ||||
| -rw-r--r-- | docs/history/1.8.rst | 81 | ||||
| -rw-r--r-- | docs/history/index.rst | 7 | ||||
| -rw-r--r-- | docs/index.rst | 2 | ||||
| -rw-r--r-- | docs/lib/passlib.apache.rst | 4 | ||||
| -rw-r--r-- | docs/lib/passlib.context.rst | 17 | ||||
| -rw-r--r-- | docs/lib/passlib.hash.unix_disabled.rst | 4 | ||||
| -rw-r--r-- | docs/lib/passlib.utils.pbkdf2.rst | 2 |
9 files changed, 95 insertions, 30 deletions
diff --git a/docs/history/1.6.rst b/docs/history/1.6.rst index 05b3d40..45ae322 100644 --- a/docs/history/1.6.rst +++ b/docs/history/1.6.rst @@ -280,7 +280,7 @@ CryptContext * All new (and hopefully clearer) :ref:`tutorial <context-tutorial>` and :ref:`reference <context-reference>` documentation. - * The :class:`CryptPolicy` class and the :attr:`!CryptContext.policy` attribute have been deprecated. + * The :class:`!CryptPolicy` class and the :attr:`!CryptContext.policy` attribute have been deprecated. This was a semi-internal class, which most applications were not involved with at all, but to be conservative about @@ -303,7 +303,7 @@ CryptContext can now be set to the special string ``"auto"``; which will automatically deprecate all schemes except for the default one. - * The :ref:`min_verify_time <context-min-verify-time-option>` keyword + * The ``min_verify_time`` keyword has been deprecated, will be ignored in release 1.7, and will be removed in release 1.8. It was never very useful, and now complicates the internal code needlessly. diff --git a/docs/history/1.7.rst b/docs/history/1.7.rst index 4900428..14e115f 100644 --- a/docs/history/1.7.rst +++ b/docs/history/1.7.rst @@ -1,5 +1,3 @@ -.. _whats-new: - =========== Passlib 1.7 =========== @@ -322,7 +320,7 @@ Changes in existing behavior: Scheduled removal of features: - * **[minor]** :mod:`passlib.context`: The :ref:`min_verify_time <context-min-verify-time-option>` keyword + * **[minor]** :mod:`passlib.context`: The ``min_verify_time`` keyword that was deprecated in release 1.6, is now completely ignored. Support will be removed entirely in release 1.8. diff --git a/docs/history/1.8.rst b/docs/history/1.8.rst new file mode 100644 index 0000000..6d518fb --- /dev/null +++ b/docs/history/1.8.rst @@ -0,0 +1,81 @@ +.. _whats-new: + +=========== +Passlib 1.8 +=========== + +.. rst-class:: emphasize-children toc-always-open + +**1.8.0** (NOT YET RELEASED) +============================ + +Overview +-------- + +.. rst-class:: without-title + +.. warning:: + + **1.8 is under development,** and tenatively scheduled for release in late 2017. + + See https://passlib.readthedocs.io/en/stable/history/1.7.html for the latest release. + +Backwards Incompatibilities +--------------------------- +The following previously-deprecated features were removed, +though few of these should be in use, as they've been deprecated +for a number of years / releases: + + **passlib.apache:** + + .. py:currentmodule:: passlib.apache + + * :mod:`passlib.apache`: A number of deprecated options & methods were removed from + :class:`HtpasswdFile` and :class:`Htdigest`: + + - Support for setting ``encoding=None`` removed, use ``return_unicode=True`` instead. + - ``autoload=False`` keyword removed, use ``new=True`` instead. + - :meth:`!load` method no longer supports ``force=False``, use :meth:`~HtpasswdFile.load_if_changed` instead. + - :meth:`!update` alias removed, use :meth:`~HtpasswdFile.set_password` instead. + - :meth:`!find` alias removed, use :meth:`~HtpasswdFile.get_hash` instead. + - :meth:`!verify` alias removed, use :meth:`~HtpasswdFile.check_password` instead. + - ``default`` keyword removed, use ``default_scheme`` instead. + + **passlib.context:** + + .. py:currentmodule:: passlib.context + + * The :class:`!passlib.context.CryptPolicy` class was removed. + Code should be using the equivalent :meth:`~CryptContext` methods instead. + + * Concurrent with that, :class:`CryptContext`'s ``policy`` keyword and attribute + were removed, along with :class:`LazyCryptContext`'s ``create_policy`` keyword. + + * :meth:`!CryptContext.replace` alias removed, use :meth:`CryptContext.using` instead. + + * :class:`CryptContext`'s ``min_verify_time`` keyword removed, use ``harden_verify=True`` instead. + + **passlib.hash:** + + .. py:currentmodule:: passlib.hash + + * :class:`!passlib.hash.unix_fallback` was removed, use :class:`~unix_disabled` instead. + + **other modules:** + + * In :mod:`passlib.ext.django`, support for ``CONFIG=None`` was dropped. + + * The deprecated :mod:`!passlib.win32` module was removed, use :class:`passlib.hash.lmhash` hash instead. + + **internal details:** + + .. py:currentmodule:: passlib.hash + + * The :meth:`!passlib.hash.nthash.raw_nthash` alias was removed, use :meth:`nthash.raw` instead. + + * In :mod:`passlib.utils.handlers`: :class:`!StaticHandler` subclasses must now always implement + :meth:`!_calc_checksum`, the old genhash-based style is no longer supported or checked for. + + * The deprecated :func:`passlib.utils.des.mdes_encrypt_int_block` method was removed. + + * The :func:`passlib.utils.pbkdf2.norm_hash_name` alias was removed, use :func:`passlib.crypto.digest.norm_hash_name` instead. diff --git a/docs/history/index.rst b/docs/history/index.rst index 219b713..0637ca7 100644 --- a/docs/history/index.rst +++ b/docs/history/index.rst @@ -8,7 +8,12 @@ Release History .. seealso:: - **For the latest release:** see :ref:`What's New <whats-new>` in Passlib 1.7 + **For the latest release:** see :ref:`What's New <whats-new>` in Passlib 1.8 + +.. toctree:: + :maxdepth: 2 + + 1.8 Series <1.8> .. toctree:: :maxdepth: 2 diff --git a/docs/index.rst b/docs/index.rst index 8409ef9..a055828 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -5,7 +5,7 @@ .. rst-class:: float-right -.. seealso:: :ref:`What's new in Passlib 1.7 <whats-new>` +.. seealso:: :ref:`What's new in Passlib 1.8 <whats-new>` ========================================== Passlib |release| documentation diff --git a/docs/lib/passlib.apache.rst b/docs/lib/passlib.apache.rst index b87eb63..969ead0 100644 --- a/docs/lib/passlib.apache.rst +++ b/docs/lib/passlib.apache.rst @@ -19,6 +19,10 @@ htpasswd and htdigest files; though the use of two helper classes. These classes will now preserve blank lines and "#" comments when updating htpasswd files; previous releases would throw a parse error. +.. versionchanged:: 1.8 + + A number of methods deprecated since 1.6, have been removed. + .. index:: Apache; htpasswd Htpasswd Files diff --git a/docs/lib/passlib.context.rst b/docs/lib/passlib.context.rst index 5ed7413..5f2dd17 100644 --- a/docs/lib/passlib.context.rst +++ b/docs/lib/passlib.context.rst @@ -166,23 +166,6 @@ Options which directly affect the behavior of the CryptContext instance: .. versionadded:: 1.7 -.. _context-min-verify-time-option: - -``min_verify_time`` - - If specified, unsuccessful :meth:`~CryptContext.verify` - calls will be penalized, and take at least this may - seconds before the method returns. May be an integer - or fractional number of seconds. - - .. deprecated:: 1.6 - This option has not proved very useful, is ignored by 1.7, - and will be removed in version 1.8. - - .. versionchanged:: 1.7 - - Per deprecation roadmap above, this option is now ignored. - .. _context-harden-verify-option: ``harden_verify`` diff --git a/docs/lib/passlib.hash.unix_disabled.rst b/docs/lib/passlib.hash.unix_disabled.rst index 8bdf9c3..2c68144 100644 --- a/docs/lib/passlib.hash.unix_disabled.rst +++ b/docs/lib/passlib.hash.unix_disabled.rst @@ -36,10 +36,6 @@ Interface ========= .. autoclass:: unix_disabled() -Deprecated Interface -==================== -.. autoclass:: unix_fallback() - Deviations ========== According to the Linux ``shadow`` man page, an empty string is treated diff --git a/docs/lib/passlib.utils.pbkdf2.rst b/docs/lib/passlib.utils.pbkdf2.rst index cfc503a..a72628a 100644 --- a/docs/lib/passlib.utils.pbkdf2.rst +++ b/docs/lib/passlib.utils.pbkdf2.rst @@ -32,6 +32,4 @@ PKCS#5 Key Derivation Functions Helper Functions ================ -.. autofunction:: norm_hash_name - .. autofunction:: get_prf |
