Releases: joniles/mpxj
Releases · joniles/mpxj
Version 13.6.0
- Added the
Task.getBaselineTask()
methods. For applications where a separate baseline schedule is present or a baseline has been manually added to theProjectFile
instance, these methods will allow you to access the underlying baseline task instance from the current task instance. - Added the Activity Percent Complete attribute to the
Task
class. The value of this attribute will be the Duration, Physical or Units percent complete value, based on the Percent Complete Type setting. This attribute is provided as a convenience to match the Activity Percent Complete type value shown in P6. - Improve retrieval of custom field values for certain MPP files.
- Improve handling of PMXML files with more than 11 baselines.
- Improve handling of unexpected data types when writing JSON files.
- Added the
Relation.getPredecessorTask()
andRelation.getSuccessorTask()
methods. - Marked the
Relation.getSourceTask()
andRelation.getTargetTask()
methods as deprecated, use theRelation.getPredecessorTask()
andRelation.getSuccessorTask()
instead. - Ensure that with "Link Cross Project Relations" enabled when reading XER or PMXML files, the predecessor and successor lists for both tasks related acrosss projects are correctly populated.
Version 13.5.1
- Fix CVE-2024-49771: Potential Path Traversal Vulnerability
Version 13.5.0
- Added support for reading and writing Resource Role Assignments for Primavera schedules. The
Resource.getRoleAssignments()
method retrieves a map representing the roles a resource is assigned to, along with the skill level for each assignment. TheResource.addRoleAssignment()
andResource.removeRoleAssignment()
methods allow role assignments to be added and removed. - Added support for the Resource Primary Role attribute, which is read from and written to Primavera schedules.
- Improve handling Boolean attributes with default values when reading XER files.
- Added the
getShowStartText
,getShowFinishText
andgetShowDurationText
methods to theTask
class. When working with manually scheduled tasks in Microsoft Project, users can potentially supply arbitrary text for the Start, Finish and Duration attributes. Microsoft Project still stores appropriate values for these attributes, which can be accessed in MPXJ as Start, Finish and Duration, but where the user has supplied text, these attributes are available as Start Text, Finish Text, and Duration Text. The methods added by this change allow the caller to determine which version of each attribute should be shown to the user in order to replicate what they see in Microsoft Project.
Version 13.4.2
- Added the
ProjectCalendarDays.getCalendarHours()
method to allow direct access to theProjectCalendarHours
instances for each day of the week.
Version 13.4.1
- Added the
ProjectCalendarDays.getCalendarDayTypes()
method to allow direct access to theDayType
instances for each day of the week.
Version 13.4.0
- Added support for reading and writing resource shifts for P6 schedules.
- Ensure the Scheduling Progressed Activities project property is populated when reading Phoenix schedules.
- When reading milestones from an Asta schedule, ensure that the Activity Type attribute is populated to allow start milestones and finish milestones to be differentiated.
- Fix an issue which occurred when writing MSPDI files with manually scheduled tasks starting on non-working days where their timephased data is split as days.
Version 13.3.1
- Handle duplicate custom field value unique IDs when reading MSPDI files.
- Handle missing remaining early start date when reading timephased data from a P6 schedule.
Version 13.3.0
- When reading multiple Primavera schedules from the same source, MPXJ now ensures that instances of activity code definitions, user defined field definitions, locations, units of measure, expense categories, cost accounts, work contours, and notes topics are shared across projects. This will allow you to, for example, filter tasks from multiple projects using a
Location
instance. Previously each project had its own independent instances for each of these types, which could not be used across multiple projects. - When reading Powerproject schedules, ensure that the Activity ID attribute for WBS entries is populated using Powerproject's Unique Task ID attribute.
- Add support for reading timephased planned work from MPP files for manually scheduled tasks (Contributed by Fabian Schmidt).
Version 13.2.1
- Make the MPXJ.Net assembly strong named.
Version 13.2.0
- Implemented the
UserDefinedField.Builder
class. - Marked the
UserDefinedField
constructor as deprecated. Use the builder class instead. - Marked the
UserDefinedField.setDataType()
method as deprecated. Use the builder class instead. - Updated to address an issue when writing XER files where a project does not have an explicit Unique ID value, and there are project UDF values.
- Added the convenience method
ActivityCode.addValue
to make it easier to add a value to an activity code.