Releases: joniles/mpxj
Releases · joniles/mpxj
Version 12.10.2
Version 12.10.1
- Ignore missing
PropertySet
s when reading MPP files (Contributed by Fabian Schmidt). - Corrected handling of the "24 Hour Calendar" Relationship Lag Calendar setting when reading and writing XER files (Based on a contribution by Alex Matatov)
Version 12.10.0
- When a baseline is added using one of the
ProjectFile.setBaseline
methods, ensure that the relevant baseline date is set inProjectProperties
. - Marked the
JsonWriter
methodssetEncoding
andgetEncoding
as deprecated, usesetCharset
andgetCharset
instead. - Marked the
PlannerWriter
methodssetEncoding
andgetEncoding
as deprecated, usesetCharset
andgetCharset
instead. - Marked the
PrimaveraXERFileWriter
methodsetEncoding
as deprecated, usesetCharset
instead. - Marked the
ProjectCalendarHelper
methodgetExpandedExceptionsWithWorkWeeks
as deprecated, useProjectCalendar.getExpandedCalendarExceptionsWithWorkWeeks
instead. - Marked the
ProjectReader
methodsetCharset
as deprecated. Readers which support setting the Chraset now implement theHasCharset
interface, which includes Charset getter and setter methods. - Implemented the
UniversalProjectWriter
class. This complements theUniversalProjectReader
class by providing a simple way for MPXJ users to write project files without having to be concerned with details of the individualProjectWriter
classes. This is intended to replace theProjectWriterUtility
class. Note that theProjectWriterUtility
has a somewhat brittle mechanism to determine the output file format from the supplied output file name. This is not replicated byUniversalProjectWriter
, users are expected to provide their own code to determine the appropriate file format. - Marked the
ProjectWriterUtility
class as deprecated.
Version 12.9.3
- Improve handling of non-standard timestamp formats in XER files.
Version 12.9.2
- Ensure calendars in Asta schedules have the correct name.
- Improve assignment of calendars to summary tasks when reading Asta schedules.
- Preserve calendar hierarchy when reading Asta schedules.
Version 12.9.1
- Fix an issue where
UniversalProjectReader
would raise an exception when handling an unknown file type. - Ensure that resource type is included as part of the resource assignment data when writing PMXML files.
Version 12.9.0
- Updated
UniversalProjectReader
to addgetProjectReaderProxy
methods to allow access to the instance of the reader class which will be used to read a schedule, prior to the schedule being read. This will allow the reader to be configured, or schedule to be ignored without reading its content. - Deprecated the
ProjectReader.setProperties
method. This method was originally implemented to allow settings to be passed to reader classes when usingUniversalProjectReader
. You can now useUniversalProjectReader.getProjectReaderProxy
to achieve this. - Add
from
method to allBuilder
classes to allow initialisation from existing objects. - The
CostAccount.Builder
class now provides twonotes
methods to allow formatted or unformatted notes to be added to cost accounts. - The
CostAccount
methodgetDescription()
has been marked as deprecated. Use thegetNotes()
orgetNotesObject()
method instead. - The
CustomFieldValueItem
methodsgetParent
andsetParent
have been marked as deprecated. Use thegetParentUniqueID
andsetParentUniqueID
methods instead. - JSON output from MPXJ now includes more detail for custom field definitions read from MPP files.
- When reading a PMXML file, populate the Early/Late Start/Finish date attributes from the Remaining Early/Late Start/Finish date attributes.
- Fix an issue reading WBS ID for P3 and SureTrak schedules.
Version 12.8.1
- Improve reading resource assignments from certain FastTrack FTS files.
Version 12.8.0
- Add experimental support for reading Deltek Open Plan BK3 files.
- Implemented the
Relation.Builder
class. - Marked the
Relation(Task,Task,RelationType,Duration)
constructor as deprecated, use theRelation.Builder
class instead. - Marked the
RelationContainer.addPredecessor(Task,Task,RelationType,Duration)
method as deprecated, use theRelationContainer.addPredecessor(Relation.Builder)
method instead. - Marked the
Task.addPredecessor(Task,RelationType,Duration)
method as deprecated, use theTask.addPredecessor(Relation.Builder)
method instead. - Add a notes attribute to the
Relation
class and ensure that it is read from and written to P6 schedules. - Read the Relationship Lag Calendar setting from Phoenix 5 files. (Contributed by Rohit Sinha)
- Don't write a material label to an MSPDI file for a resource which isn't a material.
- Update representation of Work Variance when writing MSPDI files to more closely match output from Microsoft Project.
- Updated to ensure that when schedules are read from XER files or P6 databases, labor and nonlabor work amounts are combined for the Actual, Remaining and Planned work attributes. This is now consistent with the existing behavior when reading PMXML files.
- Added support for new Task attributes Actual Work Labor, Actual Work Nonlabor, Remaining Work Labor, Remaining Work Nonlabor, Planned Work Labor, Planned Work Nonlabor, when reading and writing P6 schedules.
- Update default
readAll
method on reader classes to ensure that if the reader is unable to read any schedule data, an empty list is returned rather than a list containingnull
. - Ensure that Task Start and Finish dates are both the same when reading milestones from PMXML files, and that the correct date is used depending on whether we have a Start Milestone or a Finish Milestone.
Version 12.7.0
- Added support for reading and writing the project property Baseline Calendar Name to and from MPP and MSPDI files.
- Ensure Start Variance and Finish Variance are read from and written to MSPDI files in the correct format.
- Improve accuracy of large Work Variance values read from MSPDI files.
- Add support for the Calendar GUID attribute, which is read from MPP and MSPDI files, and written to MSPDI files.
- Ensure Activity Codes are available when reading Phoenix PPX files even if they are also being used to construct the task hierarchy.
- Ensure Activity Codes Values are populated when reading Phoenix PPX files. (Contributed by Rohit Sinha)
- When writing an MSPDI file, derive the TimephasedData Unit attribute from the duration of the timephased data item.
- Fixed an issue with the
ProjectCalendar.getPreviousWorkFinish
method when called with a time which was already at the end of a period of work. - Ensure that the
proj_node_flag
is set for the root WBS node when writing XER files.