|
1 | 1 | ----------------------------------------------------
|
2 | 2 |
|
3 | 3 |
|
| 4 | +.. _v3.0.0b10: |
| 5 | + |
| 6 | +`3.0.0b10 <https://github.com/reagento/adaptix/tree/v3.0.0b10>`__ -- 2025-04-13 |
| 7 | +=============================================================================== |
| 8 | + |
| 9 | +.. _v3.0.0b10-Features: |
| 10 | + |
| 11 | +Features |
| 12 | +-------- |
| 13 | + |
| 14 | +- Add support for msgspec models! |
| 15 | + |
| 16 | + Now you can work with msgspec models like any other: |
| 17 | + construct from a dict, serialize to a dict, and convert it into any other model. |
| 18 | + |
| 19 | + Also, you can use ``integrations.msgspec.native_msgspec`` to delegate loading and dumping to msgspec itself. |
| 20 | + |
| 21 | + This allows you to combine the flexibility of adaptix with the incredible speed of msgspec |
| 22 | + |
| 23 | +- A completely new algorithm for model dumper code generation has been implemented. |
| 24 | + |
| 25 | + Dumping models with default values is now faster. For GitHub Issues models, which include only a few default fields, dump time has been reduced by 22%. |
| 26 | +- Now you can easily distinguish between a missing field and a None value. |
| 27 | + The new :func:`.as_sentinel` function allows you to mark types as sentinels, |
| 28 | + ensuring they remain hidden from the outside world. |
| 29 | + See :ref:`detecting-absense-of-a-field` for detail. `#214 <https://github.com/reagento/adaptix/issues/214>`__ |
| 30 | +- Add support for ``ZoneInfo``. `#375 <https://github.com/reagento/adaptix/issues/375>`__ |
| 31 | + |
| 32 | + |
| 33 | +.. _v3.0.0b10-Breaking Changes: |
| 34 | + |
| 35 | +Breaking Changes |
| 36 | +---------------- |
| 37 | + |
| 38 | +- Changed the signature of the :func:`.integrations.pydantic.native_pydantic` function. |
| 39 | + Now, parameters for validator and serializer are grouped into dictionaries. |
| 40 | + |
| 41 | +.. _v3.0.0b10-Bug Fixes: |
| 42 | + |
| 43 | +Bug Fixes |
| 44 | +--------- |
| 45 | + |
| 46 | +- Fix default values loading for types inherited from builtin types. `#363 <https://github.com/reagento/adaptix/issues/363>`__ |
| 47 | +- Fix the error caused by using with_property when the function was used only once for a type. |
| 48 | + |
| 49 | +.. _v3.0.0b10-Other: |
| 50 | + |
| 51 | +Other |
| 52 | +----- |
| 53 | + |
| 54 | +- Internal benchmarking framework now can use SQLite to store result data `#370 <https://github.com/reagento/adaptix/issues/370>`__ |
| 55 | +- Add Gurubase AI to documentation |
| 56 | + |
| 57 | +---------------------------------------------------- |
| 58 | + |
| 59 | + |
4 | 60 | .. _v3.0.0b9:
|
5 | 61 |
|
6 | 62 | `3.0.0b9 <https://github.com/reagento/adaptix/tree/v3.0.0b9>`__ -- 2024-12-15
|
@@ -147,7 +203,7 @@ Features
|
147 | 203 | - Add support for Pydantic models!
|
148 | 204 |
|
149 | 205 | Now you can work with pydantic models like any other:
|
150 |
| - construct from dict, serialize to dict, convert to any other model, and convert it to any other model. |
| 206 | + construct from dict, serialize to dict, and convert it to any other model. |
151 | 207 |
|
152 | 208 | Also, you can use :func:`.integrations.pydantic.native_pydantic` to delegate loading and dumping to pydantic itself.
|
153 | 209 |
|
|
0 commit comments