<div dir="ltr"><div>Hi all,</div><div><br></div><div>We have released Pony ORM version 0.7.2!</div><div><br></div><div>Here is the list of changes:</div><div><br></div><div>- All arguments of db.bind() can be specified as keyword arguments. </div><div>Previously Pony required the first positional argument which specified </div><div>the database provider. Now you can pass all the database parameters </div><div>using the dict: db.bind(**db_params). </div><div><a href="https://docs.ponyorm.com/api_reference.html#Database.bind">https://docs.ponyorm.com/api_reference.html#Database.bind</a></div><div><br></div><div>- The `optimistic` attribute option is added</div><div><a href="https://docs.ponyorm.com/api_reference.html#cmdoption-arg-optimistic">https://docs.ponyorm.com/api_reference.html#cmdoption-arg-optimistic</a></div><div><br></div><div>- Fixed #219: when a database driver raises an error, sometimes this </div><div>error was masked by the ‘RollbackException: InterfaceError: connection </div><div>already closed’ exception. This happened because on error, Pony tried </div><div>to rollback transaction, but the connection to the database was already </div><div>closed and it masked the initial error. Now Pony displays the original </div><div>error which helps to understand the cause of the problem.</div><div><br></div><div>- Fixed #276: Memory leak</div><div><br></div><div>- Fixed the __all__ declaration. Previously IDEs, such as PyCharm, could </div><div>not understand what is going to be imported by from pony.orm import *. </div><div>Now it works fine.</div><div><br></div><div>- Fixed #232: negate check for numeric expressions now checks if value </div><div>is zero or NULL</div><div><br></div><div>- Fixed #238, #133: raise TransactionIntegrityError exception instead of </div><div>AssertionError if obj.collection.create(**kwargs) creates a duplicate object</div><div><br></div><div>- Fixed #221: issue with unicode json path keys</div><div><br></div><div>- Fixed bug when discriminator column is used as a part of a primary key</div><div>Handle situation when SQLite blob column contains non-binary value</div><div><br></div><div><br></div><div>To install the updated version use the following command:</div><div><br></div><div>pip install --upgrade pony</div><div><br></div><div><br></div><div>Best,</div><div>Pony ORM Team</div></div>