Changelog for python-FormEncode-1.2.4-2.3.x86_64.rpm :
Wed Mar 14 13:00:00 2012 saschpeAATTsuse.de - Set license to SDPX style (Python-2.0) - Removed outdated %clean section - Simplified macro usage - Only package HTML documentation (not the doc sources)
* In :mod:`formencode.htmlfill` use a default encoding of utf8 when handling mixed ``str``/``unicode`` content. Also do not modify ```` tags (previously ``src`` would be overwritten, for no good reason).
* In :class:`formencode.validators.Email` allow single-character domain names (like x.com).
* Make :class:`formencode.validators.FieldsMatch` give a normal ``Invalid`` exception if you pass it a non-dictionary. Also treat all missing keys as the empty string (previously the first key was required and would raise KeyError).
* :class:`formencode.validators.Number` works with ``inf`` float values (before it would raise a OverflowError).
* The ``tw`` locale has been renamed to the more standard ``zh_TW``.
* Added Japanese and Turkish translations.
* Fixed some outdated translations and errors in Spanish and Greek translations. Translations now managed with `Babel `_. - 1.1
* Fixed the ``is_empty()`` method in :class:`formencode.validators.FieldStorageUploadConverter`; previously it returned the opposite of the intended result.
* Added a parameter to ``htmlfill.render()``: ``prefix_error``. If this parameter is true (the default) then errors automatically go before the input field; if false then they go after the input field.
* Remove deprecated modules: ``fields``, ``formgen``, ``htmlform``, ``sqlformgen``, and ``sqlschema``.
* Added ``formencode.htmlrename``, which renames HTML inputs.
* In ``formencode.htmlfill``, non-string values are compared usefully (e.g., a select box with integer values).
* The validators ``Int`` and ``Number`` both take min/max arguments (from Shannon Behrens).
* Validators based on ``formencode.validators.FormValidator`` will not treat ``{}`` as an empty (unvalidated) value.
* Some adjustments to the URL validator.
* :class:`formencode.compound.All` does not handle empty values, instead relying on sub-validators to check for emptiness.
* Fixed the ``if_missing`` attribute in :class:`formencode.foreach.ForEach`; previously it would be the same list instance, so if you modified it then it would effect future ``if_missing`` values (reported by Felix Schwarz).
* Added formatter to :mod:`formencode.htmlfill`, so you can use ```` -- this will cause the error to be swallowed, not shown to the user.
* Added :class:`formencode.validators.XRI` for validation i-names, i-numbers, URLs, etc (as used in OpenID).
* Look in ``/usr/share/locale`` for locale files, in addition to the normal locations.
* Quiet Python 2.6 deprecation warnings.
* Fix :class:`formencode.validators.URL`, which was accepting illegal characters (like newlines) and did not accept http://domain:PORT/ - 1.0.1
* ``chained_validators`` were removed from Schema somehow; now replaced and working.
* Put in missing ``htmlfill.render(error_class=...)`` parameter (was documented and implemented, but ``render()`` did not pass it through).
Mon Nov 10 13:00:00 2008 cfarrell1980AATTgmail.com - try building with --record-rpm instead of --record - 1.0-1
Tue Mar 18 13:00:00 2008 jfunkAATTfunktronics.ca - Update to 1.0
Wed Dec 26 13:00:00 2007 jfunkAATTfunktronics.ca - Fix bad python interpreter path
Mon Dec 17 13:00:00 2007 jfunkAATTfunktronics.ca - Update to 0.9: - Backward incompatible changes
* The notion of \"empty\" has changed to include empty lists, dictionaries, and tuples. If you get one of these values passed into (or generated by) a validator with ``not_empty=True`` you can get exceptions where you didn\'t previously. - Enhancements
* Added support for Paste\'s MultiDict dictionary as input to Schema.to_python, by converting it to a normal dict via MultiDict.mixed. Previously MultiDicts wouldn\'t work with CompoundValidators (like ForEach)
* Added encoding parameter to htmlfill, which will handle cases when mixed str and unicode objects are used (turning all str objects into unicode)
* Include ``formencode.validators.InternationalPhoneNumber`` from W-Mark Kubacki.
* ``validators.Int`` takes ``min`` and ``max`` options (from Felix Schwarz).
* You can control the missing message (which by default is just \"Missing Value\") using the message ``\"missing\"`` in a validator (also from James Gardner).
* Added ``validators.CADR`` (for IP addresses with an optional range) and ``validators.MACAddress`` (from Christoph Haas). - Bug Fixes
* Be friendlier when loaded from a zip file (as with py2exe); previously only egg zip files would work.
* Fixed bug in htmlfill when a document ends with no trailing text after the last tag.
* Fix problem with HTMLParser\'s default unescaping routing, which only understood a very limited number of entities in attribute values.
* Fix problem with looking up A records for email addresses.
* ``validators.String`` now always returns strings. It also converts lists to comma-separated strings (no ``[...]``), and can encode unicode if an ``encoding`` parameter is given. Empty values are handled better.
* Make ``validators.DateConverter`` serialize dates properly (from James Gardner).
* Minor fix to setup.py to make FormEncode more friendly with zc.buildout.
Sun Apr 22 14:00:00 2007 jfunkAATTfunktronics.ca - Update to 0.7.1: From 0.7.1:
* Set ``if_missing=()`` on ``validators.Set``, as a missing value usually means empty for this value.
* Fix for ``Email`` validator that searches A records in addition to MX records (from Jacob Smullyan).
* Fixes for the ``es`` locale. From 0.7:
* * *Backward compatibility issue * *: Due to the addition of i18n (internationalization) to FormEncode, Invalid exceptions now have unicode messages. You may encounter unicode-related errors if you are mixing these messages with non-ASCII ``str`` strings.
* gettext-enabled branch merged in
* Fixes `#1457145: Fails on URLs with port numbers `_
* Fixes `#1559918 Schema fails to accept unicode errors `_
* ``from formencode.validators import *`` will import the ``Invalid`` exception now.
* ``Invalid().unpack_errors(encode_variables=True)`` now filters out None values (which ``ForEach`` can produce even for keys with no errors).
Sun Jan 7 13:00:00 2007 poemlAATTsuse.de - update to 0.6