Upgrading to version 0.5.2 is pretty straightforward. Just apply the following changes:
HttpContext.current().session.user
. Use HttpContext.current().user
instead.
porcupine.core.eventHandlers
is renamed to porcupine.events
. If your application uses event handlers update your imports accordingly. The methods of the event handlers' classes are now static methods instead of class methods (update the decorators accordingly and remove the first class argument).
@db.transactional()
decorator for all of your transactional web methods. This decorator must always be declared right after the main web method decorator (i.e. webmethods.remotemethod
).