Skip to content

Commit 9bd7394

Browse files
2024.1 release code drop
This release of P4PHP supports P4API 20241. release
1 parent 3ffaedc commit 9bd7394

File tree

3 files changed

+52
-15
lines changed

3 files changed

+52
-15
lines changed

RELNOTES.txt

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

4-
Version 2023.2
4+
Version 2024.1
55

66
Introduction
77

@@ -20,6 +20,20 @@ Introduction
2020

2121
--------------------------------------------------------------------------
2222

23+
Important End-of-Life Notice
24+
25+
We have removed support of Centos 7 & Ubuntu 16.04 from P4Perl 2024.1.
26+
27+
This major release of P4PHP would be the last to test against
28+
29+
Ubuntu 18.04
30+
PHP version 7.2.x - 8.0.x
31+
32+
which are in EOL status. This is part of our commitment to
33+
focus on supported technology platforms
34+
35+
--------------------------------------------------------------------------
36+
2337
Installation
2438

2539
Unix and Mac: Building the P4PHP Extension
@@ -43,31 +57,31 @@ Compatibility Statements
4357
Server Compatibility
4458

4559
You can use any release of P4PHP with any release of the Perforce server
46-
later than 2001.1 but it is recommended to use the 2023.2 release
60+
later than 2001.1 but it is recommended to use the 2024.1 release
4761

4862
API Compatibility
4963

50-
This release of P4PHP requires the 2023.2 (2023.2/2519561) Perforce API.
64+
This release of P4PHP requires the 2024.1 (2024.1/2596294) Perforce API.
5165
Older releases will not work and will fail to compile.
5266

5367
OpenSSL compatibility
5468

5569
The minimum version of OpenSSL libraries required is driven by the
56-
2023.2 server; the minimum version needed is 1.0.2. The latest 3.0.x or
70+
2024.1 server; the minimum version needed is 1.1.1. The latest 3.0.x or
5771
1.1.1 patch is recommended.
5872

5973
PHP compatibility
6074

61-
This release of P4PHP is compatible with PHP versions: 7.2.x - 8.2.x
75+
This release of P4PHP is compatible with PHP versions: 7.2.x - 8.3.x
6276

6377
Platform compatibility
6478

6579
Though P4PHP is generally portable, this release is tested on the
6680
following platforms:
6781

6882
Linux
69-
Ubuntu 16.04, 18.04, 20.04, 22.04
70-
CentOS/Rocky Linux 7, 8
83+
Ubuntu 18.04, 20.04, 22.04
84+
Rocky Linux 8
7185
Windows
7286
Server 2016
7387

@@ -145,6 +159,29 @@ Key to symbols used in change notes below.
145159

146160
--------------------------------------------------------------------------
147161

162+
New functionality in 2024.1 (2024.1/2601561) (2024/05/22)
163+
164+
#2599291 (Job #120163) * ** ***
165+
This release of P4PHP is built against P4API 2024.1 (2024.1/2596294)
166+
167+
#2585123 (Job #119913) * **
168+
Added support for PHP 8.3
169+
170+
Bugs fixed in 2024.1 (2024.1/2601561) (2024/05/22)
171+
172+
#2588747 (Job #119723) * **
173+
Fixed version mismatch issue in the output of identify() method
174+
when running with windows DLL
175+
176+
--------------------------------------------------------------------------
177+
178+
New functionality in 2023.2 Patch 1 (2023.2/2568001) (2024/03/07)
179+
180+
(Job #119717) * **
181+
This release of P4PHP is built against P4API 2023.2 Patch 3 (2023.2/2563409)
182+
183+
--------------------------------------------------------------------------
184+
148185
New functionality in 2023.2 (2023.2/2552260) (2024/02/06)
149186

150187
#2545331 (Job #119067) * **

config.w32

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ if (PHP_PERFORCE != "no") {
3434
}
3535

3636
/* copy Version from p4 source if it exists */
37-
if (FSO.FileExists(PHP_PERFORCE + "\\sample\\Version")) {
38-
FSO.CopyFile(PHP_PERFORCE + "\\sample\\Version", p4phpPath + "\\Version");
37+
if (FSO.FileExists(PHP_PERFORCE + "\\..\\p4php-source\\p4php\\Version")) {
38+
FSO.CopyFile(PHP_PERFORCE + "\\..\\p4php-source\\p4php\\Version", p4phpPath + "\\Version");
3939
}
4040

4141
/* verify we have a Version file to work with */

specmgr.cc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ struct defaultspec {
5454
"Description;code:306;type:text;len:128;;"
5555
"Options;code:309;type:line;len:32;val:"
5656
"unlocked/locked;;"
57-
"View;code:311;type:wlist;words:2;len:64;;"
57+
"View;code:311;fmt:C;type:wlist;words:2;len:64;;"
5858
},
5959
{
6060
"change",
@@ -96,9 +96,9 @@ struct defaultspec {
9696
"StreamAtChange;code:316;type:line;len:64;;"
9797
"ServerID;code:315;type:line;ro;len:64;;"
9898
"Type;code:318;type:select;len:10;val:"
99-
"writeable/readonly/graph/partitioned;;"
99+
"writeable/readonly/graph/partitioned/partitioned-jnl;;"
100100
"Backup;code:319;type:select;len:10;val:enable/disable;;"
101-
"View;code:311;type:wlist;words:2;len:64;;"
101+
"View;code:311;fmt:C;type:wlist;words:2;len:64;;"
102102
"ChangeView;code:317;type:llist;len:64;;"
103103
},
104104
{
@@ -153,7 +153,7 @@ struct defaultspec {
153153
"unlocked/locked,noautoreload/autoreload;;"
154154
"Revision;code:312;type:word;words:1;len:64;;"
155155
"ServerID;code:315;type:line;ro;len:64;;"
156-
"View;code:311;type:wlist;len:64;;"
156+
"View;code:311;fmt:C;type:wlist;len:64;;"
157157
},
158158
{
159159
"ldap",
@@ -278,7 +278,7 @@ struct defaultspec {
278278
"Name;code:703;rq;type:line;len:32;open:isolate;;"
279279
"Parent;code:702;rq;len:64;open:isolate;;"
280280
"Type;code:708;rq;type:select;len:32;open:isolate;"
281-
"val:mainline/virtual/development/release/task;;"
281+
"val:mainline/virtual/development/release/task/sparsedev/sparserel;;"
282282
"Description;code:709;type:text;len:128;open:isolate;;"
283283
"Options;code:707;type:line;len:64;val:"
284284
"allsubmit/ownersubmit,unlocked/locked,"
@@ -299,7 +299,7 @@ struct defaultspec {
299299
},
300300
{
301301
"typemap",
302-
"TypeMap;code:601;type:wlist;words:2;len:64;opt:default;z;;"
302+
"TypeMap;code:601;fmt:C;type:wlist;words:2;len:64;opt:default;z;;"
303303
},
304304
{
305305
"user",

0 commit comments

Comments
 (0)