Skip to content

Commit

Permalink
Fold backwards compatibility policy into changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Nov 25, 2021
1 parent e5ad4fb commit 2c2bcc3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Please report any harm to [Hynek Schlawack] in any way you find appropriate.
- Make sure your changes pass our [CI].
You won't get any feedback until it's green unless you ask for it.
- Once you've addressed review feedback, make sure to bump the pull request with a short note, so we know you're done.
- Don’t break [backward compatibility](https://structlog.org/en/latest/backward-compatibility.html).
- Don’t break backwards compatibility.


## Code
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ Changelog

Versions follow `CalVer <https://calver.org>`_ with a strict backwards compatibility policy.

Put simply, you shouldn't ever be afraid to upgrade ``structlog`` if you're using its public APIs.
Whenever there is a need to break compatibility, it is announced here in the changelog, and raises a ``DeprecationWarning`` for a year (if possible) before it's finally really broken.

.. warning::

You cannot rely on the default settings and the `structlog.dev` module.
They may be adjusted in the future to provide a better experience when starting to use ``structlog``.
So please make sure to **always** properly configure your applications.


21.4.0 (UNRELEASED)
-------------------
Expand Down
16 changes: 0 additions & 16 deletions docs/backward-compatibility.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ API Reference
.. toctree::
:maxdepth: 1

backward-compatibility
license
changelog

Expand Down

0 comments on commit 2c2bcc3

Please sign in to comment.