0.8.0 (March 23, 2024)#
Added#
Python
3.12is now fully tested and supported in CI/CD.New module
translator_typing. Useful especially users who which to extend the baseTranslatorimplementation.Added support for simplified
Translator.fetcherarguments on the form{source: {id: name}}.
Changed#
Python minimum version is now
3.11(was3.8).Minimum
pandasversion is now2.0.3(was1.1.0).Minimum
sqlalchemyversion is now2.0.5(was1.4.16).Updated base exceptions for several
id_translation.*.exceptions-members:DataStructureIOError:RuntimeError->TypeErrorConfigurationError:ValueError->TypeErrorConnectionStatusError:ValueError->ConnectionErrorTranslationError:ValueError->ExceptionMappingError:ValueError->Exception
Make
unmapped_values_action != 'ignore'actions more specific: Raise newUnmappedValuesError(MappingError)or warnUnmappedValuesWarning(MappingWarning)(used to raise parent types directly). Add hints to warning message.