aiogram/CHANGES
Oleg A e17e3bc71c
Fix CallbackData without default Optional (#1370)
* fix: CallbackData set optional as None

* docs: add fix changelog

* Add support for nullable fields in callback data

This update extends the callback data handling by adding support for nullable fields. The code now uses the Python typing structures `Optional` and `Union` to parse such fields correctly. A helper function `_check_field_is_nullable` has been added to assist in efficiently checking if a given field is nullable.

* Add support for nullable fields in callback data

This update extends the callback data handling by adding support for nullable fields. The code now uses the Python typing structures `Optional` and `Union` to parse such fields correctly. A helper function `_check_field_is_nullable` has been added to assist in efficiently checking if a given field is nullable.

---------

Co-authored-by: JRoot Junior <jroot.junior@gmail.com>
2023-11-20 22:39:09 +02:00
..
.template.rst.jinja2 Update towncrier config 2021-08-03 23:50:10 +03:00
1302.doc.rst Small changes in the pending changelog 2023-11-17 00:27:30 +02:00
1320.misc.rst Fixed ResourceWarnings in tests (#1366) 2023-11-16 02:08:36 +02:00
1327.misc.rst Update dependencies (#1327) 2023-10-01 16:22:26 +03:00
1331.misc.rst Small changes in the pending changelog 2023-11-17 00:27:30 +02:00
1332.bugfix.rst Small changes in the pending changelog 2023-11-17 00:27:30 +02:00
1340.doc.rst Update base.rst (#1340) 2023-10-18 22:00:25 +03:00
1343.feature.rst Small changes in the pending changelog 2023-11-17 00:27:30 +02:00
1347.misc.rst Update typing-extensions version range in dependencies (#1352) 2023-10-28 23:09:30 +03:00
1351.doc.rst Add CITATION.cff for automatic academic citation (#1351) 2023-10-27 00:48:47 +03:00
1353.doc.rst chore(docs): update middleware.rst (#1353) 2023-11-14 02:44:04 +02:00
1354.misc.rst Upgrade to py12 (#1354) 2023-11-18 21:24:19 +02:00
1357.misc.rst new improved CallableMixin (#1357) 2023-11-13 21:04:58 +02:00
1360.bugfix.rst Small changes in the pending changelog 2023-11-17 00:27:30 +02:00
1361.misc.rst Small changes in the pending changelog 2023-11-17 00:27:30 +02:00
1368.bugfix.rst Fix CallbackData without default Optional (#1370) 2023-11-20 22:39:09 +02:00