<commit_before>1.2.1
-----

* bug fixes: issues 70, 82

* added the `.with_html(**kwargs)` method to :class:`AbstractField` which will be
  passed to the renderers, allowing to add some HTML attributes to rendered
  HTML tags.  Removed **html_options from render method.  (See issue #60)

* validators are now passed as second argument the `field` being validated. WARN:
  this will mean adding the parameter to your functions to be backwards compatible.
  The validator function signature changed from `myfunc(value)` to
  `myfunc(value, field=None)`.<commit_msg>changes<commit_after>1.2.1
-----

* bug fixes: issues 70, 80, 82

* added spanish tanslation (thanks to robarago)

* added the `.with_html(**kwargs)` method to :class:`AbstractField` which will be
  passed to the renderers, allowing to add some HTML attributes to rendered
  HTML tags.  Removed **html_options from render method.  (See issue #60)

* validators are now passed as second argument the `field` being validated. WARN:
  this will mean adding the parameter to your functions to be backwards compatible.
  The validator function signature changed from `myfunc(value)` to
  `myfunc(value, field=None)`.
{'fraction_non_alphanumeric': 0.08851063829787234, 'fraction_numerical': 0.01702127659574468, 'mean_word_length': 4.444444444444445, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4064962', 'n_tokens_mistral': 350, 'n_tokens_neox': 330, 'n_words': 150}