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 and unicode attribute types as they are unicode strings in both Python 2 and 3. So, the attribute declaration attr = Required(str) is equal to attr = Required(unicode) in Python 2 and 3. The same thing is with LongStr and LongUnicode - both of them are represented as unicode strings now.

    For the sake of backward compatibility Pony adds unicode as an alias to str and buffer as an alias to bytes 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