Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Revision 94e3c2d5bdb930bd43eab1fa9ee5adf22d11ba2f authored by pyca-boringbot[bot] on 07 November 2022, 00:21:21 UTC, committed by GitHub on 07 November 2022, 00:21:21 UTC
Bump BoringSSL and/or OpenSSL in CI (#7782)
Co-authored-by: BoringSSL Bot <pyca-boringbot@users.noreply.github.com>
1 parent 9a30cf5
  • Files
  • Changes
  • 30d871a
  • /
  • docs
  • /
  • api-stability.rst
Raw File
Cook and download a directory from the Software Heritage Vault

You have requested the cooking of the directory with identifier None into a standard tar.gz archive.

Are you sure you want to continue ?

Download a directory from the Software Heritage Vault

You have requested the download of the directory with identifier None as a standard tar.gz archive.

Are you sure you want to continue ?

Cook and download a revision from the Software Heritage Vault

You have requested the cooking of the history heading to revision with identifier swh:1:rev:94e3c2d5bdb930bd43eab1fa9ee5adf22d11ba2f into a bare git archive.

Are you sure you want to continue ?

Download a revision from the Software Heritage Vault

You have requested the download of the history heading to revision with identifier swh:1:rev:94e3c2d5bdb930bd43eab1fa9ee5adf22d11ba2f as a bare git archive.

Are you sure you want to continue ?

Invalid Email !

The provided email is not well-formed.

Download link has expired

The requested archive is no longer available for download from the Software Heritage Vault.

Do you want to cook it again ?

Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • content
revision badge
swh:1:rev:94e3c2d5bdb930bd43eab1fa9ee5adf22d11ba2f
content badge Iframe embedding
swh:1:cnt:3822702d3937eb0972418ec60c36509854550940
api-stability.rst
API stability
=============

From its first release, ``cryptography`` has had a strong API stability
policy.

What does this policy cover?
----------------------------

This policy includes any API or behavior that is documented in this
documentation.

What does "stable" mean?
------------------------

* Public APIs will not be removed or renamed without providing a compatibility
  alias.
* The behavior of existing APIs will not change.

What doesn't this policy cover?
-------------------------------

* We may add new features, things like the result of ``dir(obj))`` or the
  contents of ``obj.__dict__`` may change.
* Objects are not guaranteed to be pickleable, and pickled objects from one
  version of ``cryptography`` may not be loadable in future versions.
* Development versions of ``cryptography``. Before a feature is in a release,
  it is not covered by this policy and may change.

Security
~~~~~~~~

One exception to our API stability policy is for security. We will violate this
policy as necessary in order to resolve a security issue or harden
``cryptography`` against a possible attack.

Versioning
----------

Version 35.0.0+
~~~~~~~~~~~~~~~

Beginning with release 35.0.0 ``cryptography`` uses a Firefox-inspired version
scheme.

Given a version ``cryptography X.Y.Z``,

* ``X`` indicates the major version number. This is incremented on any feature
  release.
* ``Y`` is always ``0``.
* ``Z`` is an integer that is incremented for minor backward-compatible
  releases (such as fixing security issues or correcting regressions in a major
  release).

This scheme is compatible with `SemVer`_, though many major releases will
**not** include any backwards-incompatible changes.

Deprecation
~~~~~~~~~~~

From time to time we will want to change the behavior of an API or remove it
entirely. In that case, here's how the process will work:

* In ``cryptography X.0.0`` the feature exists.
* In ``cryptography (X + 1).0.0`` using that feature will emit a
  ``UserWarning``.
* In ``cryptography (X + 2).0.0`` using that feature will emit a
  ``UserWarning``.
* In ``cryptography (X + 3).0.0`` the feature will be removed or changed.

In short, code that runs without warnings will always continue to work for a
period of two major releases.

From time to time, we may decide to deprecate an API that is particularly
widely used. In these cases, we may decide to provide an extended deprecation
period, at our discretion.

Previous Scheme
~~~~~~~~~~~~~~~

Before version 35.0.0 this project uses a custom versioning scheme as described
below.

Given a version ``cryptography X.Y.Z``,

* ``X.Y`` is a decimal number that is incremented for
  potentially-backwards-incompatible releases.

  * This increases like a standard decimal.
    In other words, 0.9 is the ninth release, and 1.0 is the tenth (not 0.10).
    The dividing decimal point can effectively be ignored.

* ``Z`` is an integer that is incremented for backward-compatible releases.


.. _`SemVer`: https://semver.org/
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top