|
1 | 1 | # Changelog |
2 | | - |
3 | 2 | All notable changes to this project will be documented in this file. |
| 3 | +========= |
4 | 4 |
|
5 | | -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
6 | | -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
7 | | - |
8 | | -## [1.5.4] - 2025-12-17 |
9 | | - |
10 | | -### Added |
11 | | -- Custom serialization for specific columns via `serialize_columns` parameter |
12 | | - - Supports per-call customization: `to_dict(serialize_columns={'field': lambda v: ...})` |
13 | | - - Supports model-level defaults: `serialize_columns = {'field': lambda v: ...}` class attribute |
14 | | - - Custom serializers receive the field value and return the serialized result |
15 | | - |
16 | | -## [1.5.3] - 2025-12-16 |
17 | | - |
18 | | -### Added |
19 | | -- `max_serialization_depth` parameter to control relationship recursion depth |
20 | | - - Per-call usage: `to_dict(max_serialization_depth=1)` |
21 | | - - Model-level default: `max_serialization_depth = 1` class attribute |
22 | | - - Defaults to unlimited (`math.inf`) for backward compatibility |
23 | | - - Prevents infinite recursion in models with circular relationships |
24 | | - |
25 | | -## [1.5.2] - 2025-12-13 |
26 | | - |
27 | | -### Added |
28 | | -- `exclude_values` parameter to filter out specific values from serialized output |
29 | | - - Supports per-call usage: `to_dict(exclude_values=(None,))` |
30 | | - - Supports model-level defaults: `exclude_values = (None,)` class attribute |
31 | | - - Works with nested dictionaries and models |
32 | | - - Only supports hashable values |
33 | | - |
34 | | -## [1.5.0] - 2025-12-13 |
35 | | - |
36 | | -### Added |
37 | | -- Enhanced rules and documentation |
38 | | -- Additional test coverage |
39 | | -- UV package manager support |
40 | | -- GitHub Actions workflow improvements with coverage reporting |
41 | | -- PyPI readiness tests and make commands |
42 | | - |
43 | | -### Changed |
44 | | -- Updated GitHub Actions workflow to use `uv` for dependency installation and linting |
45 | | -- Improved test infrastructure and fixtures |
46 | | - |
47 | | -## [1.4.22] - 2024-07-03 |
48 | | - |
49 | | -### Fixed |
50 | | -- Various bug fixes and improvements from earlier versions |
51 | | - |
52 | | ---- |
53 | | - |
54 | | -## Unreleased |
55 | | - |
56 | | -### Added |
57 | | -- (Future features will be listed here) |
58 | | - |
59 | | -### Changed |
60 | | -- (Future changes will be listed here) |
61 | | - |
62 | | -### Fixed |
63 | | -- (Future fixes will be listed here) |
| 5 | +## [1.6.0] - 2025-12-30 |
64 | 6 |
|
65 | | -### Removed |
66 | | -- (Future removals will be listed here) |
| 7 | +- Improve the test coverage. Add error handling tests |
| 8 | +- Performance tests |
| 9 | +- chore: Include callables with default args in serialization |
| 10 | +- test: Support of SQLalchemy 2.0 syntax |
67 | 11 |
|
0 commit comments