Browse our Products

Aspose.Tasks for Python via .NET 26.8 Release Notes

All Changes

KeySummaryIssue Type
TASKSNET-11796Add progress notification API when loading Project from XER formatEnhancement
TASKSNET-11298Add progress notification API when loading Project from MPP formatEnhancement
TASKSNET-11797Fix reading of values of task’s extended attributes from MS Project DBBug
TASKSNET-11793Fix incorrect assignment field calculations when setting a task actual finish results in a zero-duration assignmentBug
TASKSNET-11792Fix recalculation of a task changes finish date of completed assignmentBug
TASKSNET-11788Updating Task.ActualFinish doesn’t update child assignment’s ActualFinishBug
TASKSNET-11786Fix summary task duration calculation logic for projects read from Primavera formatsBug
TASKSNET-11785Optimize baseline timephased data recalculation when baseline data is unchanged and Project.Save() is calledBug
TASKSNET-11751Fix ‘offset should be within the boundaries of the span’ error when reading the specific file.Bug
TASKSNET-11744Fix incorrect handling of string literals in the calculation of a formula’s resultsBug
TASKSNET-11741Fix incorrect logic of GetTimephasedWorkBug
TASKSNET-10627Fix reading of project-specific extended attribute definitions from MS Project DBBug
TASKSNET-10533Fix logic of recalculation of assignments when updating parent task’s ActualFinishBug

Public API and Backwards Incompatible Changes

The following public types were added:Description
aspose.tasks.IProgressNotificationCallbackRepresents a callback interface for receiving notifications during long-running project operations.
aspose.tasks.ProgressNotificationArgsProvides data for the method.
The following public methods and properties were added:Description
aspose.tasks.IProgressNotificationCallback.notify(Aspose.Tasks.ProgressNotificationArgs)Called during project long-running operations to provide progress information.
aspose.tasks.LoadOptions.project_loading_callbackGets or sets the callback to be invoked during project loading operations. Currently supported for MPP and XER formats.
aspose.tasks.ProgressNotificationArgs.#ctorInitializes a new instance of the class.
aspose.tasks.ProgressNotificationArgs.current_step_nameGets the name of the current step (part of the operation) being executed.
aspose.tasks.ProgressNotificationArgs.current_step_progressGets the estimated progress percentage completed for the current step (part of the operation) (0-100).
aspose.tasks.ProgressNotificationArgs.estimated_total_progressGets the estimated total progress of the entire operation (0-100).

Related issue: TASKSNET-11298 - Add progress notification API when loading Project from MPP format

Added the IProgressNotificationCallback interface and LoadOptions.ProjectLoadingCallback property to allow users to track progress during long-running project loading operations.

Supported formats: MPP, Primavera XER

Usage example:

import aspose.tasks as tsk

class TestProgressNotificationCallback(tsk.IProgressNotificationCallback):
    def notify(self, args):
        print(f"Total: {args.estimated_total_progress}%")


lo = tsk.LoadOptions()

callback = TestProgressNotificationCallback()
lo.project_loading_callback = callback

project = tsk.Project("sample.mpp", lo)