Skip to content

Commit

Permalink
2024.1 release code drop
Browse files Browse the repository at this point in the history
This release of P4PHP supports P4API 20241. release
  • Loading branch information
hjain-perforce committed May 27, 2024
1 parent 3ffaedc commit 9bd7394
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 15 deletions.
51 changes: 44 additions & 7 deletions RELNOTES.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Release Notes for
P4PHP, Perforce's script API for PHP

Version 2023.2
Version 2024.1

Introduction

Expand All @@ -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
Expand All @@ -43,31 +57,31 @@ 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

Though P4PHP is generally portable, this release is tested on the
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

Expand Down Expand Up @@ -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) * **
Expand Down
4 changes: 2 additions & 2 deletions config.w32
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
12 changes: 6 additions & 6 deletions specmgr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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;;"
},
{
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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,"
Expand All @@ -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",
Expand Down

0 comments on commit 9bd7394

Please sign in to comment.