Skip to content

Version 12.0.0

Compare
Choose a tag to compare
@lk-geimfari lk-geimfari released this 07 Jan 11:45
· 63 commits to master since this release
v12.0.0
cf10100
  • Python 3.8 and 3.9 are no longer supported.
  • Added support for field aliases.
  • Added the method calver for Development.
  • Added the method stage for Development.
  • Added the method country_emoji_flag for Address.
  • Removed the method hashtags from the Internet provider. Use the words method from the Text provider instead.
  • Removed the providers parameter for Field and Fieldset. Use custom field handlers instead.
  • Removed the parameters pre_release and calver for Development.version. Use the stage and calver methods instead.
  • Moved the method emoji from the Internet provider to the Text provider.
  • Moved the method dsn from the Development provider to the Internet provider.
  • The Text().emoji() method now supports the category parameter and EmojiCategory enum. It also returns an emoji instead of an emoji shortcut string.
  • Added the decorator @handle for Field and Fieldset to register custom fields.
  • Renamed register_field to register_handler for Field and Fieldset.
  • Renamed register_fields to register_handlers for Field and Fieldset.
  • Renamed unregister_field to unregister_handler for Field and Fieldset.
  • Renamed unregister_fields to unregister_handlers for Field and Fieldset.
  • Renamed unregister_all_fields to unregister_all_handlers for Field and Fieldset.