Skip to content

Commit

Permalink
Add changelog and increment library version
Browse files Browse the repository at this point in the history
  • Loading branch information
zhPavel committed Sep 2, 2024
1 parent 7fb8494 commit a4a8fbf
Show file tree
Hide file tree
Showing 14 changed files with 46 additions and 18 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ An extremely flexible and configurable data model conversion library.

Install
```bash
pip install adaptix==3.0.0b7
pip install adaptix==3.0.0b8
```

Use for model loading and dumping.
Expand Down
41 changes: 41 additions & 0 deletions docs/changelog/changelog_body.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,47 @@
----------------------------------------------------


.. _v3.0.0b8:

`3.0.0b8 <https://github.com/reagento/adaptix/tree/v3.0.0b8>`__ -- 2024-09-02
=============================================================================

.. _v3.0.0b8-Features:

Features
--------

- Add new :func:`.datetime_by_timestamp` and :func:`.date_by_timestamp` provider factories. `#281 <https://github.com/reagento/adaptix/issues/281>`__
- Add :func:`.datetime_by_format` to public API. `#286 <https://github.com/reagento/adaptix/issues/286>`__
- Add :func:`.type_tools.exec_type_checking` function
to deal with cyclic references by executing ``if TYPE_CHECKING:`` constructs. `#288 <https://github.com/reagento/adaptix/issues/288>`__
- Add support for bytes inside literal, for example ``Literal[b"abc"]``. `#318 <https://github.com/reagento/adaptix/issues/318>`__
- The library shows a hint if one class is a model and the other is not.
- Traceback of ``CannotProvide`` is hidden (it is raised when loader, dumper, or converter can not be created).
It simplifies error messages to users.
You can show traceback by disabling ``hide_traceback`` parameter of ``Retort``.

.. _v3.0.0b8-Breaking Changes:

Breaking Changes
----------------

- Drop support of Python 3.8.
- ``TypedDictAt38Warning`` is removed.

.. _v3.0.0b8-Other:

Other
-----

- Refactor internal provider routing system. It becomes more simple and readable.
Also, internal caching is added.
This led to a 40% speedup in loader generation for medium models
and up to 4x speedup for large models with many recursive types.

----------------------------------------------------


.. _v3.0.0b7:

`3.0.0b7 <https://github.com/reagento/adaptix/tree/v3.0.0b7>`__ -- 2024-06-10
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion docs/changelog/fragments/+drop38.breaking.rst

This file was deleted.

3 changes: 0 additions & 3 deletions docs/changelog/fragments/+hide-traceback.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/changelog/fragments/+not-a-model-hint.feature.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/changelog/fragments/+provider-routing.other.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/changelog/fragments/281.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/changelog/fragments/286.feature.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/changelog/fragments/288.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/changelog/fragments/318.feature.rst

This file was deleted.

2 changes: 1 addition & 1 deletion docs/common/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Just use pip to install the library

.. code-block:: text
pip install adaptix==3.0.0b7
pip install adaptix==3.0.0b8
Integrations with 3-rd party libraries are turned on automatically,
Expand Down
2 changes: 1 addition & 1 deletion docs/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Installation

.. code-block:: text
pip install adaptix==3.0.0b7
pip install adaptix==3.0.0b8
Example
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[build-system]
requires = ['setuptools==69.1.0']
requires = ['setuptools==74.1.0']
build-backend = 'setuptools.build_meta'

[project]
name = 'adaptix'
version = '3.0.0b7'
version = '3.0.0b8'
description = 'An extremely flexible and configurable data model conversion library'
readme = 'README.md'
requires-python = '>=3.9'
Expand Down

0 comments on commit a4a8fbf

Please sign in to comment.