- Dropped support for wildcard importing from newitem package (must now import
from newitem.fields and don't use wildcard)
- Removed assign() method from Fields as it was apparently redundant (with
to_python() method) and I couldn't find any reason for keeping it (neither in
the docs nor in the tests)
- Moved deiter() method of Field to StringField, as its both its purpose and
implementation was specific for strings. if it's really needed as a general
purpose method, it could be restored. Also, no unittest was broken because of
this change, which sort-of reinforces my point.
- Renamed (previously mentioned) StringField.deiter() method to
StringField.to_single(), for better consistency with to_python() method
- Removed Field class as it was useless without the deiter() functionality (now
belonging to StringField class)
- Moved ansi_date_re module variable to DateField class attribute
- Simplified implementation of DecimalField, FloatField and IntegerField to one
line of code (using tests to make sure not to break any functionality)
- Renamed ItemMeta class (in models.py) to _ItemMeta to highlight its protected
state (should not be externally imported)
- Added support for instantiating new items with dicts, to support
deserializing items with their repr() string
- Added unittests for new functionality introduced