Browse our Products

Aspose.Tasks for Java 21.2 Release Notes

All Changes

KeySummaryIssue Type
TASKSNET-4518Save project documents with password protectionNew Feature
TASKSJAVA-1255Add an ability to read and write Activity_Id (task_code in XER) for Primavera XML, XER and DB formatsEnhancement
TASKSJAVA-1291Add the ability to render MPP file as a single pageEnhancement
TASKSNET-4120Add reading of timescale settings and rendering of custom timescales for Task Usage and Resource Usage viewsEnhancement
TASKSNET-4561Fix exception when trying to access TimephasedData for assignment of material resourceBug
TASKSNET-4554Fix “NullReferenceException” when trying to render the specific project to HTMLBug
TASKSNET-4553Fix incorrectly read / written colors in View.TableTextStyles for MSP 2007 format.Bug
TASKSNET-4548Fix System.OverflowException when trying to save password-protected projectBug
TASKSNET-4547Fix “Index was outside the bounds of the array.” exception when open document MPP fileBug
TASKSNET-4544Fix “Index was out of range. Must be non-negative and less than the size of the collection. (Parameter ‘index’)” exception when get pages count MPP fileBug
TASKSNET-4543Fix ‘Stream does not support reading’ exception when saving to HTMLBug
TASKSNET-4526Fix ResourceAssignments are not read from password protected files for MSP 2010+ filesBug

Public API and Backwards Incompatible Changes

The following public methods and properties were added:Description
com.aspose.tasks.MPPSaveOptions.getProtectionPassword com.aspose.tasks.MPPSaveOptions.setProtectionPasswordGets or sets a password which is used to protect a resulting MPP file. Currently is supported for MS Project 2010 and newer formats.
com.aspose.tasks.UsageView.getTimescaleSizePercentage com.aspose.tasks.UsageView.setTimescaleSizePercentageGets or sets a percentage to reduce or enlarge the spacing between units on the timescale tier.
com.aspose.tasks.UsageView.getBottomTimescaleTier com.aspose.tasks.UsageView.setBottomTimescaleTierGets or sets settings of view’s bottom timescale tier.
com.aspose.tasks.UsageView.getMiddleTimescaleTier com.aspose.tasks.UsageView.setMiddleTimescaleTierGets or sets settings of view’s middle timescale tier.
com.aspose.tasks.UsageView.getTopTimescaleTier com.aspose.tasks.UsageView.setTopTimescaleTierGets or sets settings of view’s top timescale tier.
The following public enumeration members were added:Description
com.aspose.tasks.TaskKey.ActivityIdRepresents the ActivityId field (only applicable to Primavera projects).
com.aspose.tasks.Tsk.ACTIVITY_IDRepresents activity id field - a task’s unique identifier used by Primavera. (only applicable to Primavera projects).
The following public methods and properties were deleted:Description
com.aspose.tasks.ExtendedAttributeDefinition.createLookupDefinitionReplaced by more specific CreateLookupTaskDefinition and CreateLookupResourceDefinition.
com.aspose.tasks.SaveOptions.getTimescaleTier com.aspose.tasks.SaveOptions.setTimescaleTierView’s TopTimescaleTier, MiddleTimescaleTier, BottomTimescaleTier properties should be used instead.
com.aspose.tasks.View.getIndexNot used anymore.