PonyORM v0.6.rc1 Release Notes
Release Date: 2014-10-08 // over 9 years ago-
๐ New features:
- ๐ Python 3 support
- ๐ pymysql adapter support for MySQL databases
Backward incompatible changes
Now Pony treats both
str
andunicode
attribute types as they are unicode strings in both Python 2 and 3. So, the attribute declarationattr = Required(str)
is equal toattr = Required(unicode)
in Python 2 and 3. The same thing is withLongStr
andLongUnicode
- both of them are represented as unicode strings now.For the sake of backward compatibility Pony adds
unicode
as an alias tostr
andbuffer
as an alias tobytes
in Python 3.๐ Other changes and bug fixes
- ๐ Fixes #74: Wrong FK column type when using sql_type on foreign ID column
- ๐ Fixes #75: MappingError for self-referenced entities in a many-to-many relationship
- ๐ Fixes #80: โEntity NoneType does not belong to databaseโ when using to_dict