Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
joniles committed Nov 6, 2024
1 parent f9f0020 commit 6e0c2f8
Show file tree
Hide file tree
Showing 16 changed files with 44 additions and 27 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
# Changelog

## 13.5.2 (unreleased)
## 13.6.1 (unreleased)

## 13.6.0 (2024-11-06)
* Added the `Task.getBaselineTask()` methods. For applications where a separate baseline schedule is present or a baseline has been manually added to the `ProjectFile` 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()` and `Relation.getSuccessorTask()` methods.
* Marked the `Relation.getSourceTask()` and `Relation.getTargetTask()` methods as deprecated, use the `Relation.getPredecessorTask()` and `Relation.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.

## 13.5.1 (2024-10-28)
* Fix CVE-2024-49771: Potential Path Traversal Vulnerability (Contributed by yyjLF and sprinkle).
Expand Down
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<property environment="env"/>

<!-- Build Configuration -->
<property name="current.version" value="13.5.1" />
<property name="current.version" value="13.6.0" />
<property name="current.version.classifier" value="" />
<!-- Environment Configuration-->
<property name="maven.cmd" value="mvn.cmd"/>
Expand Down
2 changes: 1 addition & 1 deletion pom.tests.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.sf.mpxj</groupId>
<artifactId>mpxj-tests</artifactId>
<version>13.5.1</version>
<version>13.6.0</version>
<name>MPXJ Tests</name>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.sf.mpxj</groupId>
<artifactId>mpxj</artifactId>
<version>13.5.1</version>
<version>13.6.0</version>
<name>MPXJ</name>
<url>http://mpxj.org</url>

Expand Down
6 changes: 3 additions & 3 deletions src.net/samples/MpxjConvert/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("13.5.1.0")]
[assembly: AssemblyVersion("13.5.1.0")]
[assembly: AssemblyFileVersion("13.5.1.0")]
// [assembly: AssemblyVersion("13.6.0.0")]
[assembly: AssemblyVersion("13.6.0.0")]
[assembly: AssemblyFileVersion("13.6.0.0")]
6 changes: 3 additions & 3 deletions src.net/samples/MpxjCreate/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("13.5.1.0")]
[assembly: AssemblyVersion("13.5.1.0")]
[assembly: AssemblyFileVersion("13.5.1.0")]
// [assembly: AssemblyVersion("13.6.0.0")]
[assembly: AssemblyVersion("13.6.0.0")]
[assembly: AssemblyFileVersion("13.6.0.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("13.5.1.0")]
[assembly: AssemblyVersion("13.5.1.0")]
[assembly: AssemblyFileVersion("13.5.1.0")]
// [assembly: AssemblyVersion("13.6.0.0")]
[assembly: AssemblyVersion("13.6.0.0")]
[assembly: AssemblyFileVersion("13.6.0.0")]
6 changes: 3 additions & 3 deletions src.net/samples/MpxjQuery/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("13.5.1.0")]
[assembly: AssemblyVersion("13.5.1.0")]
[assembly: AssemblyFileVersion("13.5.1.0")]
// [assembly: AssemblyVersion("13.6.0.0")]
[assembly: AssemblyVersion("13.6.0.0")]
[assembly: AssemblyFileVersion("13.6.0.0")]
6 changes: 3 additions & 3 deletions src.net/samples/MpxjTest/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("13.5.1.0")]
[assembly: AssemblyVersion("13.5.1.0")]
[assembly: AssemblyFileVersion("13.5.1.0")]
// [assembly: AssemblyVersion("13.6.0.0")]
[assembly: AssemblyVersion("13.6.0.0")]
[assembly: AssemblyFileVersion("13.6.0.0")]
6 changes: 3 additions & 3 deletions src.net/utilities/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("13.5.1.0")]
[assembly: AssemblyVersion("13.5.1.0")]
[assembly: AssemblyFileVersion("13.5.1.0")]
// [assembly: AssemblyVersion("13.6.0.0")]
[assembly: AssemblyVersion("13.6.0.0")]
[assembly: AssemblyFileVersion("13.6.0.0")]
2 changes: 1 addition & 1 deletion src.net/utilities/MpxjUtilities.nca31.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<TargetFramework>netcoreapp3.1</TargetFramework>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\mpxj.snk</AssemblyOriginatorKeyFile>
<Version>13.5.1.0</Version>
<Version>13.6.0.0</Version>
<Copyright>Copyright © Packwood Software</Copyright>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion src.python/mpxj/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="mpxj",
version="13.5.1",
version="13.6.0",
author="Jon Iles",
author_email="[email protected]",
description="Python wrapper for the MPXJ Java library for manipulating project files",
Expand Down
8 changes: 8 additions & 0 deletions src.ruby/mpxj/lib/mpxj/task_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ def activity_id
attribute_values['activity_id']
end

# Retrieve the Activity Percent Complete value
#
# @return Activity Percent Complete value
def activity_percent_complete
get_float_value(attribute_values['activity_percent_complete'])
end

# Retrieve the Activity Status value
#
# @return Activity Status value
Expand Down Expand Up @@ -6903,6 +6910,7 @@ def work_variance
'active' => :boolean,
'activity_codes' => :activity_code_list,
'activity_id' => :string,
'activity_percent_complete' => :percentage,
'activity_status' => :activity_status,
'activity_type' => :activity_type,
'actual_cost' => :currency,
Expand Down
2 changes: 1 addition & 1 deletion src.ruby/mpxj/lib/mpxj/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MPXJ gem module
module MPXJ
# MPXJ gem version number
VERSION = "13.5.1"
VERSION = "13.6.0"
end
4 changes: 3 additions & 1 deletion src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
<author email="[email protected]">Jon Iles</author>
</properties>
<body>
<release date="unreleased" version="13.6.0">
<release date="unreleased" version="13.6.1">
</release>
<release date="2024-11-06" version="13.6.0">
<action dev="joniles" type="update">Added the `Task.getBaselineTask()` methods. For applications where a separate baseline schedule is present or a baseline has been manually added to the `ProjectFile` instance, these methods will allow you to access the underlying baseline task instance from the current task instance.</action>
<action dev="joniles" type="update">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.</action>
<action dev="joniles" type="update">Improve retrieval of custom field values for certain MPP files.</action>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/sf/mpxj/MPXJ.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
*/
public final class MPXJ
{
public static final String VERSION = "13.5.1";
public static final String VERSION = "13.6.0";
}

0 comments on commit 6e0c2f8

Please sign in to comment.