Skip to content

Commit

Permalink
new library version
Browse files Browse the repository at this point in the history
  • Loading branch information
zhPavel committed Mar 8, 2024
1 parent 83014aa commit 44469e8
Show file tree
Hide file tree
Showing 13 changed files with 34 additions and 14 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.0b2
pip install adaptix==3.0.0b3
```

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


.. _v3.0.0b3:

`3.0.0b3 <https://github.com/reagento/adaptix/tree/v3.0.0b3>`_ -- 2024-03-08
============================================================================

.. _v3.0.0b3-Features:

Features
--------

- :func:`.conversion.link` accepts ``coercer`` parameter. `#256 <https://github.com/reagento/adaptix/issues/256>`_
- Add :func:`.conversion.link_constant` to link constant values and constant factories. `#258 <https://github.com/reagento/adaptix/issues/258>`_
- Add coercer for case when source union is subset of destination union (simple ``==`` check is using). `#242 <https://github.com/reagento/adaptix/issues/242>`_
- No coercer error now contains type information. `#252 <https://github.com/reagento/adaptix/issues/252>`_
- Add coercer for ``Optional[S] -> Optional[D]`` if ``S`` is coercible to ``D``. `#254 <https://github.com/reagento/adaptix/issues/254>`_

.. _v3.0.0b3-Bug Fixes:

Bug Fixes
---------

- Fix ``SyntaxError`` with lambda in :func:`.coercer`. `#243 <https://github.com/reagento/adaptix/issues/243>`_
- Model dumping now trying to save the original order of fields inside the dict. `#247 <https://github.com/reagento/adaptix/issues/247>`_
- Fix introspection of sqlalchemy models with ``column_property`` (all ColumnElement is ignored excepting Column itself). `#250 <https://github.com/reagento/adaptix/issues/250>`_

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


.. _v3.0.0b2:

`3.0.0b2 <https://github.com/reagento/adaptix/tree/v3.0.0b2>`_ -- 2024-02-16
Expand Down
1 change: 0 additions & 1 deletion docs/changelog/fragments/242.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/changelog/fragments/243.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/changelog/fragments/247.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/changelog/fragments/250.bugfix.rst

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

6 changes: 3 additions & 3 deletions 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.0b2
pip install adaptix==3.0.0b3
Integrations with 3-rd party libraries are turned on automatically,
Expand Down Expand Up @@ -33,5 +33,5 @@ So, this is valid installation variants:

.. code-block:: text
pip install adaptix[attrs-strict]==3.0.0b2
pip install adaptix[attrs, sqlalchemy-strict]==3.0.0b2
pip install adaptix[attrs-strict]==3.0.0b3
pip install adaptix[attrs, sqlalchemy-strict]==3.0.0b3
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.0b2
pip install adaptix==3.0.0b3
Example
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = 'setuptools.build_meta'

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

0 comments on commit 44469e8

Please sign in to comment.