Skip to content

Releases: genomoncology/FuzzTypes

v0.1.1

25 Mar 20:01
Compare
Choose a tag to compare

v0.1.1 (2023-03-25)

Changed

  • Fixes to the README regarding validation utility functions.
  • Renamed ill-named function to resolve_entity and added explicit test.

v0.1.0

25 Mar 18:14
9ef16dc
Compare
Choose a tag to compare

v0.1.0 (2023-03-25)

The project's typing system was validated using mypy and refactored to follow
Annotated types as specified by PEP 593.

Added

  • FuzzValidator annotation type created to simplify design
  • validate_python, validate_json, and validate_entity functions added
  • Added Language, LanguageName, and LanguageCode usable types
  • fuzztypes.logger and fuzztypes.utils module for downloading iso codes

Changed

  • Renamed OnDisk to OnDiskValidator
  • Renamed InMemory to InMemoryValidator
  • Refactored InMemoryValidator and OnDiskValidator to use FuzzValidator
  • Refactored Person to use FuzzValidator
  • Renamed Regex to RegexValidator
  • Changed error message to more common "did you mean" message format

Removed

  • abstract.py module and AbstractType class, simplified by FuzzValidator
  • function.py module and Function annotation type, replaced by FuzzValidator