From 9bd73942ee9ac499f05a00aeba7416db6b8ad5ba Mon Sep 17 00:00:00 2001 From: Himanshu Jain Date: Mon, 27 May 2024 12:21:36 +0530 Subject: [PATCH] 2024.1 release code drop This release of P4PHP supports P4API 20241. release --- RELNOTES.txt | 51 ++++++++++++++++++++++++++++++++++++++++++++------- config.w32 | 4 ++-- specmgr.cc | 12 ++++++------ 3 files changed, 52 insertions(+), 15 deletions(-) diff --git a/RELNOTES.txt b/RELNOTES.txt index 9d10a70..5d250e0 100644 --- a/RELNOTES.txt +++ b/RELNOTES.txt @@ -1,7 +1,7 @@ Release Notes for P4PHP, Perforce's script API for PHP - Version 2023.2 + Version 2024.1 Introduction @@ -20,6 +20,20 @@ Introduction -------------------------------------------------------------------------- +Important End-of-Life Notice + + We have removed support of Centos 7 & Ubuntu 16.04 from P4Perl 2024.1. + + This major release of P4PHP would be the last to test against + + Ubuntu 18.04 + PHP version 7.2.x - 8.0.x + + which are in EOL status. This is part of our commitment to + focus on supported technology platforms + +-------------------------------------------------------------------------- + Installation Unix and Mac: Building the P4PHP Extension @@ -43,22 +57,22 @@ Compatibility Statements Server Compatibility You can use any release of P4PHP with any release of the Perforce server - later than 2001.1 but it is recommended to use the 2023.2 release + later than 2001.1 but it is recommended to use the 2024.1 release API Compatibility - This release of P4PHP requires the 2023.2 (2023.2/2519561) Perforce API. + This release of P4PHP requires the 2024.1 (2024.1/2596294) Perforce API. Older releases will not work and will fail to compile. OpenSSL compatibility The minimum version of OpenSSL libraries required is driven by the - 2023.2 server; the minimum version needed is 1.0.2. The latest 3.0.x or + 2024.1 server; the minimum version needed is 1.1.1. The latest 3.0.x or 1.1.1 patch is recommended. PHP compatibility - This release of P4PHP is compatible with PHP versions: 7.2.x - 8.2.x + This release of P4PHP is compatible with PHP versions: 7.2.x - 8.3.x Platform compatibility @@ -66,8 +80,8 @@ Compatibility Statements following platforms: Linux - Ubuntu 16.04, 18.04, 20.04, 22.04 - CentOS/Rocky Linux 7, 8 + Ubuntu 18.04, 20.04, 22.04 + Rocky Linux 8 Windows Server 2016 @@ -145,6 +159,29 @@ Key to symbols used in change notes below. -------------------------------------------------------------------------- +New functionality in 2024.1 (2024.1/2601561) (2024/05/22) + + #2599291 (Job #120163) * ** *** + This release of P4PHP is built against P4API 2024.1 (2024.1/2596294) + + #2585123 (Job #119913) * ** + Added support for PHP 8.3 + +Bugs fixed in 2024.1 (2024.1/2601561) (2024/05/22) + + #2588747 (Job #119723) * ** + Fixed version mismatch issue in the output of identify() method + when running with windows DLL + +-------------------------------------------------------------------------- + +New functionality in 2023.2 Patch 1 (2023.2/2568001) (2024/03/07) + + (Job #119717) * ** + This release of P4PHP is built against P4API 2023.2 Patch 3 (2023.2/2563409) + +-------------------------------------------------------------------------- + New functionality in 2023.2 (2023.2/2552260) (2024/02/06) #2545331 (Job #119067) * ** diff --git a/config.w32 b/config.w32 index e32cbc7..4281cd1 100644 --- a/config.w32 +++ b/config.w32 @@ -34,8 +34,8 @@ if (PHP_PERFORCE != "no") { } /* copy Version from p4 source if it exists */ - if (FSO.FileExists(PHP_PERFORCE + "\\sample\\Version")) { - FSO.CopyFile(PHP_PERFORCE + "\\sample\\Version", p4phpPath + "\\Version"); + if (FSO.FileExists(PHP_PERFORCE + "\\..\\p4php-source\\p4php\\Version")) { + FSO.CopyFile(PHP_PERFORCE + "\\..\\p4php-source\\p4php\\Version", p4phpPath + "\\Version"); } /* verify we have a Version file to work with */ diff --git a/specmgr.cc b/specmgr.cc index 71182a1..4244c72 100644 --- a/specmgr.cc +++ b/specmgr.cc @@ -54,7 +54,7 @@ struct defaultspec { "Description;code:306;type:text;len:128;;" "Options;code:309;type:line;len:32;val:" "unlocked/locked;;" - "View;code:311;type:wlist;words:2;len:64;;" + "View;code:311;fmt:C;type:wlist;words:2;len:64;;" }, { "change", @@ -96,9 +96,9 @@ struct defaultspec { "StreamAtChange;code:316;type:line;len:64;;" "ServerID;code:315;type:line;ro;len:64;;" "Type;code:318;type:select;len:10;val:" - "writeable/readonly/graph/partitioned;;" + "writeable/readonly/graph/partitioned/partitioned-jnl;;" "Backup;code:319;type:select;len:10;val:enable/disable;;" - "View;code:311;type:wlist;words:2;len:64;;" + "View;code:311;fmt:C;type:wlist;words:2;len:64;;" "ChangeView;code:317;type:llist;len:64;;" }, { @@ -153,7 +153,7 @@ struct defaultspec { "unlocked/locked,noautoreload/autoreload;;" "Revision;code:312;type:word;words:1;len:64;;" "ServerID;code:315;type:line;ro;len:64;;" - "View;code:311;type:wlist;len:64;;" + "View;code:311;fmt:C;type:wlist;len:64;;" }, { "ldap", @@ -278,7 +278,7 @@ struct defaultspec { "Name;code:703;rq;type:line;len:32;open:isolate;;" "Parent;code:702;rq;len:64;open:isolate;;" "Type;code:708;rq;type:select;len:32;open:isolate;" - "val:mainline/virtual/development/release/task;;" + "val:mainline/virtual/development/release/task/sparsedev/sparserel;;" "Description;code:709;type:text;len:128;open:isolate;;" "Options;code:707;type:line;len:64;val:" "allsubmit/ownersubmit,unlocked/locked," @@ -299,7 +299,7 @@ struct defaultspec { }, { "typemap", - "TypeMap;code:601;type:wlist;words:2;len:64;opt:default;z;;" + "TypeMap;code:601;fmt:C;type:wlist;words:2;len:64;opt:default;z;;" }, { "user",