Porcupine v0.5.2 is released! Now with wider browser support

Posted by tkouts on 4 December 2008 | 0 Comments

Tags: porcupine, quix, safari, chrome

Porcupine v0.5.2 is finally here. This release includes the brand new version of QuiX supporting the latest releases of Firefox, Safari and Chrome browsers but also introduces a couple of new exciting enhancements. A popular request for QuiX has always been an effects module. This release has a new small effects module that initially supports fade, wipe and slide effects. Furthermore, the newest version includes an enhanced list view widget implementation with no more wobbling headers and great support for large datasets by using asynchronous rendering. Finally, the base widget class has a new "query" method for performing advanced queries on the widgets hierarchy and a new auto complete widget contribution.

On the server side the "db_backup.py" utility is renamed to "porcupineadmin.py" and the database recovery is no longer attempted during the server start up process. Database recovery is now done by using the "porcupineadmin.py" utility with the "-c" switch. This allows multiple processes to access the database at the same time. Consequently, prior to installing or uninstalling an application with the "pakager.py" utility no longer requires the server to be stopped and then later re-started.

This release also includes a new redesigned transaction sub-system. All transactional web methods must be marked as such by using the special "@db.transactional()" decorator. This decorator must always be declared right after the main web method decorator (i.e. webmethods.remotemethod). If you need transactions inside Python Server Pages create a function in the page and make it transactional by using the the "@db.transactional" decorator.

Before reaching the milestone of release 1.0, for each new release the Porcupine API is not guaranteed to be backwards compatible but I'm doing my best to make these changes as harmless as possible. Gradually, the Porcupine API will become fully aligned with PEP 8.

The following wiki pages contain useful information for upgrading to the latest version:

Porcupine upgrade instructions,

How to migrate your applications to the latest version and the

Change Log for a detailed list of the new features, bug fixes and enhancements.


Clicky Web Analytics