Skip to content

Commit 55afc5a

Browse files
2024.2 release code drop
2024.2 release code drop
1 parent 42fd541 commit 55afc5a

4 files changed

Lines changed: 57 additions & 27 deletions

File tree

RELNOTES.txt

Lines changed: 42 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Release Notes for
22
P4Ruby, Perforce's script API for Ruby
33

4-
Version 2024.1
4+
Version 2024.2
55

66
Introduction
77

@@ -16,8 +16,8 @@ Introduction
1616
release up to the bug fix change level.
1717

1818
Precompiled versions of P4Ruby are built against a corresponding version
19-
of the Perforce C++ API, e.g., P4Ruby 2024.1 will be compiled using a
20-
2024.1 version of the P4API. You can always install P4Ruby using a
19+
of the Perforce C++ API, e.g., P4Ruby 2024.2 will be compiled using a
20+
2024.2 version of the P4API. You can always install P4Ruby using a
2121
source-only variation, selecting a specific version of the P4API.
2222

2323
To determine the version of your P4Ruby, and which version of the
@@ -26,13 +26,6 @@ Introduction
2626

2727
--------------------------------------------------------------------------
2828

29-
Important End-of-Life Notice
30-
31-
This major release of P4Ruby would be the last to support mingw64x86
32-
platform and test against Ruby 3.0 which is in EOL status.
33-
This is part of our commitment to focus on supported technology platforms.
34-
35-
--------------------------------------------------------------------------
3629
Installation
3730

3831
The recommended method of installing P4Ruby is via gems.
@@ -71,26 +64,26 @@ Compatibility Statements
7164

7265
Server Compatibility
7366

74-
This release of P4Ruby supports the 2024.1 Perforce Server.
67+
This release of P4Ruby supports the 2024.2 Perforce Server.
7568
Older releases might work but are not supported.
7669

7770
API Compatibility
7871

79-
This release of P4Ruby supports the 2024.1 Perforce API
80-
(2024.1/2625008). Older releases might work but are not supported.
72+
This release of P4Ruby supports the 2024.2 Perforce API
73+
(2024.2/2675662). Older releases might work but are not supported.
8174

8275
Ruby Compatibility
8376

84-
This release of P4Ruby is supported on Ruby versions 3.0, 3.1
85-
and 3.2
77+
This release of P4Ruby is supported on Ruby versions 3.1, 3.2
78+
and 3.3
8679

8780
For detailed compatibility, please check the following table:
8881

8982
Ruby Release | P4Ruby Release
9083
===================================
91-
3.0 | 2021.1 or later
9284
3.1 | 2022.1 or later
9385
3.2 | 2023.1 or later
86+
3.3 | 2024.2 or later
9487

9588
OpenSSL Compatibility
9689

@@ -107,13 +100,17 @@ Compatibility Statements
107100
While P4Ruby is generally portable, this release is certified
108101
only on the following platforms:
109102

110-
Windows (x64)
111-
Server 2016
112-
(This version supports mingw64x64. A patch will be released later
113-
only for this version with support for mingw64x86.)
114-
Linux
115-
Ubuntu 20.04, 22.04
116-
CentOS 8
103+
Windows for Intel(x64)
104+
Server 2016, 2019, 2022
105+
Windows 10, 11
106+
Linux kernel 2.6+ for Intel(x86_64)
107+
Ubuntu 20.04, 22.04, 24.04
108+
CentOS 8
109+
Rocky Linux 9
110+
Linux kernel 2.6+ for ARM(aarch64)
111+
Ubuntu 20.04, 22.04, 24.04
112+
CentOS 8
113+
Rocky Linux 9
117114

118115
Compiler Compatibility
119116

@@ -145,6 +142,28 @@ Key to symbols used in change notes below.
145142
--------------------------------------------------------------------------
146143
--------------------------------------------------------------------------
147144

145+
New functionality in 2024.2 (2024.2/2682777) (2024/11/15)
146+
147+
#2678428 (Job #122585) * ** ***
148+
This release of P4Ruby supports P4API 2024.2 (2024.2/2675662)
149+
150+
#2681425 (Job #122300) * **
151+
Added support for Ruby 3.3
152+
153+
--------------------------------------------------------------------------
154+
--------------------------------------------------------------------------
155+
156+
New functionality in 2024.1 Patch 1 (2024.1/2660526) (2024/10/01)
157+
158+
#2655534 (Job #121771) **
159+
Added support for mingw64x86.
160+
161+
#2648361 (Job #121772) * **
162+
Added build support for Linux ARM64/AARCH64 architecture.
163+
164+
--------------------------------------------------------------------------
165+
--------------------------------------------------------------------------
166+
148167
New functionality in 2024.1 (2024.1/2627586) (2024/07/22)
149168

150169
#2599293 (Job #120161) * ** ***

ext/P4/extconf.rb

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def set_platform_libs
240240
# Only build for 64 bit if we have more than one arch defined in CFLAGS
241241
$LDFLAGS.slice!('-arch i386')
242242
$LDFLAGS.slice!('-arch ppc')
243-
$LDFLAGS += ' -framework CoreFoundation -framework Foundation'
243+
$LDFLAGS += ' -framework CoreFoundation -framework Foundation -framework CoreGraphics'
244244
end
245245
when 'LINUX', 'MINGW32', 'MINGW'
246246
$LDFLAGS += ' -Wl,--allow-multiple-definition'
@@ -488,8 +488,15 @@ def filename
488488
filename = 'p4api-openssl3.zip'
489489
end
490490
end
491-
elsif RbConfig::CONFIG['target_os'].downcase =~ /darwin19|darwin[2-9][0-9]/
492-
filename = 'p4api-openssl1.1.1.tgz'
491+
elsif RbConfig::CONFIG['target_os'].downcase =~ /darwin19|darwin[2-9][0-9]/ || RbConfig::CONFIG['host_cpu'] =~ /aarch64|arm64/
492+
if !openssl_number.to_s.empty?
493+
case openssl_number.to_s
494+
when /1.1/
495+
filename = 'p4api-openssl1.1.1.tgz'
496+
when /3.0/
497+
filename = 'p4api-openssl3.tgz'
498+
end
499+
end
493500
else
494501
filename = 'p4api.tgz'
495502
if !openssl_number.to_s.empty?

ext/P4/specmgr.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ struct defaultspec {
141141
"Users;code:405;type:wlist;len:32;opt:default;;"
142142
},
143143
{
144+
"hotfiles",
145+
"HotFiles;code:1051;fmt:C;type:wlist;words:1;maxwords:3;len:64;opt:default;z;;"
146+
},
147+
{
144148
"job",
145149
"Job;code:101;rq;len:32;;"
146150
"Status;code:102;type:select;rq;len:10;"

lib/P4/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
class P4
2-
Version = VERSION = '2024.1.2624069'
2+
Version = VERSION = '2024.2.2677567'
33
end

0 commit comments

Comments
 (0)