Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
joniles committed Oct 17, 2024
1 parent b6c7fda commit 36773b1
Show file tree
Hide file tree
Showing 17 changed files with 65 additions and 27 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Changelog

## 13.5.0 (unreleased)
## 13.5.1 (unreleased)

## 13.5.0 (2024-10-17)
* 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. The `Resource.addRoleAssignment()` and `Resource.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` and `getShowDurationText` methods to the `Task` 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.

## 13.4.2 (2024-10-08)
* Added the `ProjectCalendarDays.getCalendarHours()` method to allow direct access to the `ProjectCalendarHours` instances for each day of the week.
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.4.2" />
<property name="current.version" value="13.5.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.4.2</version>
<version>13.5.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.4.2</version>
<version>13.5.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.4.2.0")]
[assembly: AssemblyVersion("13.4.2.0")]
[assembly: AssemblyFileVersion("13.4.2.0")]
// [assembly: AssemblyVersion("13.5.0.0")]
[assembly: AssemblyVersion("13.5.0.0")]
[assembly: AssemblyFileVersion("13.5.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.4.2.0")]
[assembly: AssemblyVersion("13.4.2.0")]
[assembly: AssemblyFileVersion("13.4.2.0")]
// [assembly: AssemblyVersion("13.5.0.0")]
[assembly: AssemblyVersion("13.5.0.0")]
[assembly: AssemblyFileVersion("13.5.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.4.2.0")]
[assembly: AssemblyVersion("13.4.2.0")]
[assembly: AssemblyFileVersion("13.4.2.0")]
// [assembly: AssemblyVersion("13.5.0.0")]
[assembly: AssemblyVersion("13.5.0.0")]
[assembly: AssemblyFileVersion("13.5.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.4.2.0")]
[assembly: AssemblyVersion("13.4.2.0")]
[assembly: AssemblyFileVersion("13.4.2.0")]
// [assembly: AssemblyVersion("13.5.0.0")]
[assembly: AssemblyVersion("13.5.0.0")]
[assembly: AssemblyFileVersion("13.5.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.4.2.0")]
[assembly: AssemblyVersion("13.4.2.0")]
[assembly: AssemblyFileVersion("13.4.2.0")]
// [assembly: AssemblyVersion("13.5.0.0")]
[assembly: AssemblyVersion("13.5.0.0")]
[assembly: AssemblyFileVersion("13.5.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.4.2.0")]
[assembly: AssemblyVersion("13.4.2.0")]
[assembly: AssemblyFileVersion("13.4.2.0")]
// [assembly: AssemblyVersion("13.5.0.0")]
[assembly: AssemblyVersion("13.5.0.0")]
[assembly: AssemblyFileVersion("13.5.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.4.2.0</Version>
<Version>13.5.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.4.2",
version="13.5.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/resource_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3329,6 +3329,13 @@ def pool
get_float_value(attribute_values['pool'])
end

# Retrieve the Primary Role Unique ID value
#
# @return Primary Role Unique ID value
def primary_role_unique_id
get_integer_value(attribute_values['primary_role_unique_id'])
end

# Retrieve the Priority value
#
# @return Priority value
Expand Down Expand Up @@ -4372,6 +4379,7 @@ def work_variance
'phone' => :string,
'phonetics' => :string,
'pool' => :numeric,
'primary_role_unique_id' => :integer,
'priority' => :numeric,
'project' => :string,
'proposed_finish' => :date,
Expand Down
24 changes: 24 additions & 0 deletions src.ruby/mpxj/lib/mpxj/task_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6234,13 +6234,34 @@ def sequence_number
get_integer_value(attribute_values['sequence_number'])
end

# Retrieve the Show Duration Text value
#
# @return Show Duration Text value
def show_duration_text
get_boolean_value(attribute_values['show_duration_text'])
end

# Retrieve the Show Finish Text value
#
# @return Show Finish Text value
def show_finish_text
get_boolean_value(attribute_values['show_finish_text'])
end

# Retrieve the Show On Board value
#
# @return Show On Board value
def show_on_board
attribute_values['show_on_board']
end

# Retrieve the Show Start Text value
#
# @return Show Start Text value
def show_start_text
get_boolean_value(attribute_values['show_start_text'])
end

# Retrieve the SPI value
#
# @return SPI value
Expand Down Expand Up @@ -7769,7 +7790,10 @@ def work_variance
'secondary_constraint_type' => :constraint,
'section' => :string,
'sequence_number' => :integer,
'show_duration_text' => :boolean,
'show_finish_text' => :boolean,
'show_on_board' => :string,
'show_start_text' => :boolean,
'spi' => :numeric,
'splits' => :date_range_list,
'sprint' => :string,
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.4.2"
VERSION = "13.5.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.5.0">
<release date="unreleased" version="13.5.1">
</release>
<release date="2024-10-17" version="13.5.0">
<action dev="joniles" type="update">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. The `Resource.addRoleAssignment()` and `Resource.removeRoleAssignment()` methods allow role assignments to be added and removed.</action>
<action dev="joniles" type="update">Added support for the Resource Primary Role attribute, which is read from and written to Primavera schedules.</action>
<action dev="joniles" type="update">Improve handling Boolean attributes with default values when reading XER 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.4.2";
public static final String VERSION = "13.5.0";
}

0 comments on commit 36773b1

Please sign in to comment.