Browse our Products

Aspose.Tasks for Java 26.8 Release Notes

⚠ IMPORTANT DEPRECATION NOTICE

Starting with version 26.10, support for JDK 1.7 will be completely discontinued.

What is changing:

  • The minimum supported Java version will be JDK 1.8 (Java 8) or higher.
  • JDK 1.7 will no longer be compatible with the product.

Recommended actions:

Please plan to migrate your environments and deployment scripts to JDK 1.8 or higher to avoid failures when upgrading to version 26.10.

The current version (up to 26.9 inclusive) continues to work with JDK 1.7, but we strongly recommend starting the migration process now.

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
com.aspose.tasks.IProgressNotificationCallbackRepresents a callback interface for receiving notifications during long-running project operations.
com.aspose.tasks.ProgressNotificationArgsProvides data for the method.
The following public methods were added:Description
com.aspose.tasks.IProgressNotificationCallback.notify(Aspose.Tasks.ProgressNotificationArgs)Called during project long-running operations to provide progress information.
com.aspose.tasks.LoadOptions.getProjectLoadingCallback()Gets the callback to be invoked during project loading operations. Currently supported for MPP and XER formats.
com.aspose.tasks.LoadOptions.setProjectLoadingCallback(value)Sets the callback to be invoked during project loading operations. Currently supported for MPP and XER formats.
com.aspose.tasks.ProgressNotificationArgs.get#ctor()Initializes a new instance of the class.
com.aspose.tasks.ProgressNotificationArgs.getCurrentStepName()Gets the name of the current step (part of the operation) being executed.
com.aspose.tasks.ProgressNotificationArgs.getCurrentStepProgress()Gets the estimated progress percentage completed for the current step (part of the operation) (0-100).
com.aspose.tasks.ProgressNotificationArgs.getEstimatedTotalProgress()Gets 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:

private static final class TestProgressNotificationCallback 
    implements IProgressNotificationCallback {
    @Override
    public void notify(ProgressNotificationArgs args) {
        System.out.println("Total: " + args.getEstimatedTotalProgress() + "%");
    }
}

LoadOptions lo = new LoadOptions();
TestProgressNotificationCallback callback =
new TestProgressNotificationCallback();
lo.setProjectLoadingCallback(callback);
Project project = new Project("test.mpp", lo);