11 Release Notes for
2- P4Java, the Perforce Java API
2+ P4Java, P4 API for Java
33
4- Version 2024.2
4+ Version 2025.1
55
66Introduction
77
8- P4Java is a Java-native API for accessing Perforce SCM
8+ P4Java is a Java-native API for accessing P4 SCM
99 services from within Java applications, servlets, plugins,
1010 and other Java contexts.
1111
@@ -18,23 +18,37 @@ Introduction
1818
1919 Please send all feedback to support@perforce.com
2020
21+ --------------------------------------------------------------------------
22+
23+ Important Product Rebrand Notice
24+
25+ Helix Core is now P4
26+ Perforce has a new look and logo that reflects our place in DevOps
27+ workflows. As part of these changes, Helix Core is now P4. Name updates
28+ and new icons to align with the P4 branding will be rolled out soon.
29+ To learn more, see:
30+ https://www.perforce.com/blog/vcs/introducing-the-P4-platform
31+
32+ --------------------------------------------------------------------------
33+
2134Requirements
2235
23- * Perforce server at Release 2021.1 or higher.
36+ * This release of P4Java supports the 2025.1 P4 Server. Older releases
37+ might work but are not supported.
2438
2539 * Java: full standard JDK 11 or later. Implementation as
2640 discussed in "Known Limitations" below.
2741
2842 * SSL: unlimited strength JCE (Java Cryptography Extension) package for
29- 256-bit encryption level SSL connection to a secure Perforce server.
43+ 256-bit encryption level SSL connection to a secure P4 server.
3044
3145SSL and Trust
3246
33- Perforce server 2021.1 or higher supports 256-bit SSL connections
47+ P4 server 2021.1 or higher supports 256-bit SSL connections
3448 and trust establishment via accepting the fingerprint of the SSL
3549 certificate's public key. The standard JDK comes with 128-bit
3650 encryption level ciphers. In order to use P4Java to connect to
37- a secure Perforce server, you must download and install the
51+ a secure P4 server, you must download and install the
3852 unlimited strength JCE package for your JDK version.
3953
4054 To make a secure connection using P4Java, simply append 'ssl'
@@ -43,7 +57,7 @@ SSL and Trust
4357 trust using the IOptionsServer's 'addTrust' method. See example
4458 code snippet below:
4559
46- // Create a P4Java SSL connection to a secure Perforce server
60+ // Create a P4Java SSL connection to a secure P4 server
4761 try {
4862 String serverUri = "p4javassl://perforce:1667";
4963 Properties props = null;
@@ -60,7 +74,7 @@ SSL and Trust
6074 }
6175
6276 P4Java 2020.1 has changed the default TLS support to TLSv1.2 for use
63- with Perforce server 2019.1 or greater this can be modified using the
77+ with P4 server 2019.1 or greater this can be modified using the
6478 JVM option:
6579
6680 java -DsecureSocketEnabledProtocols=TLSv1.2
@@ -98,21 +112,21 @@ Known Limitations
98112 correctly on the platforms listed above under "Requirements".
99113
100114 * P4Java can not reliably be used in Unicode contexts where files
101- have been added to a Perforce server as "shiftjis" when they are
115+ have been added to a P4 server as "shiftjis" when they are
102116 in fact CP932 (or MS932) encoded, and vice-versa. The usual
103117 symptoms of this problem include being unable to sync or submit
104118 affected files, with an error message that includes the string
105119 "Translation of file content failed". This is a known problem due
106120 to the inability to define a robust round-trip encoding / decoding
107121 between these encodings and the inaccurate use of "shiftjis" to
108- mean either true shift-jis or CP932 by the Perforce server and
122+ mean either true shift-jis or CP932 by the P4 server and
109123 many Windows tools. There is currently no workaround known.
110124
111- * The Perforce server (2021.1 or higher) only support 256-bit
125+ * The P4 server (2021.1 or higher) only support 256-bit
112126 encryption. Due to current US export control restrictions
113127 for some countries, the standard JDK package only comes with
114128 128-bit encryption level ciphers. In order to use P4Java to
115- connect to a secure Perforce server, those living in eligible
129+ connect to a secure P4 server, those living in eligible
116130 countries may download the unlimited strength JCE (Java
117131 Cryptography Extension) version and replace the current
118132 default cryptography jar files with the unlimited strength
@@ -123,6 +137,30 @@ Known Limitations
123137
124138 * P4Java would not support file operations on altsync enabled clients.
125139
140+ -------------------------------------------
141+ Updates in 2025.1 (2025.1/2785811) (2025/06/24)
142+
143+ #2772096 (Job #125523)
144+ Added support of move match detection using multiple threads in
145+ "p4 move" command
146+
147+ #2770906 (Job #125805)
148+ Added support of move match detection using multiple threads in
149+ "p4 reconcile" command
150+
151+ #2766066 (Job #127060)
152+ Fixed a bug in p4 resolve -am to add network errors to the file path
153+
154+ #2764407 (Job #125107)
155+ Added support to --sync-time option
156+
157+ #2764369, #2764794 (Job #125781)
158+ Added support for P4D 2025.1
159+
160+ #2744711 (Job #125654)
161+ Fixed a bug in undoFile which always checks out files for delete regardless
162+ of the file's original file action
163+
126164-------------------------------------------
127165Updates in 2024.2 (2024.2/2695691) (2024/12/13)
128166
@@ -191,6 +229,13 @@ Updates in 2024.1 (2024.1/2612262) (2024/06/12)
191229 #2597531 (Job #112324)
192230 Fixed inconsistent handling of quotes in ViewMap for Label.
193231
232+ -------------------------------------------
233+ Updates in 2023.2 Patch 2 (2023.2/2746548) (2025/04/09)
234+
235+ #2743446 (Job #124765)
236+ Fixed behaviour of item being 0 bytes after detection of conflict when
237+ synced through proxy.
238+
194239-------------------------------------------
195240Updates in 2023.2 Patch 1 (2023.2/2581742) (2024/04/05)
196241
0 commit comments