What’s new in P4 Server 2022.1

Released: May 2021

For a complete list of what’s new in this release, see the Release notes and What’s new in P4 administration in the P4 Server Administration Documentation.

Stream enhancements

A stream can include views from other streams. For details and examples, see Stream Components in the P4 CLI Documentation. To support this feature, the p4 stream spec has the Components: field. To enable the feature, set the dm.stream.components configurable.

  • Stream spec deletion and obliteration:

    • p4 stream -d to create a changelist and mark the stream spec deleted. All stream spec metadata is preserved.

    • p4 streams -a reports existing and deleted streams.

    • p4 streamlog reports stream deletion as well as stream edits and stream additions. Note that a deleted stream can be re-created.

    • p4 obliterate [-y] stream permanently removes all stream spec metadata.

Topology enhancements

The p4 topology command has new options: -t, -F, -T, -d, -s, -e, -y.

The -ztag output of p4 topology indicates the most recent update to the record with LastSeenDate, and the dm.topology.lastseenupdate configurable allows you to adjust the update interval.

Various minor features

  • p4 failback restores the original target server to its previous role as target server after a failover.
  • Real-time monitoring to enhance administration: set the rt.monitorfile configurable and adjust the monitor level while commands are running. To identify commands that have been holding locks on tables for long periods and the commands that are waiting for those locks to be released, set the monitor configurable to 10 or 25.

  • Text files that are stored compressed on the server are now decompressed client-side. This excludes +k type files, which require keyword expansion server-side. Replication also benefits from this by transferring the compressed archives without needing to decompress or re-compress them.

  • You can suppress the keyword expansion of +k type files by using the new -K option in p4 clean, p4 copy, p4 integrate, p4 merge, p4 revert, p4 submit, p4 sync, and p4 undo.

  • p4 group has the optional Description field, which might be useful if your company has a large number of groups.

  • Ability to print a portion of a file by using the --offset and --size options of p4 print

  • An option to display or set the serverid of proxy server. See -xD [serverID] in Proxy options in the P4 Server Administration Documentation

  • Control whether the client's browser opens automatically when using p4 login with an authentication Extension, such as the one used with P4 AS - see P4USEBROWSER in Environment and registry variables.

For additional new features, see What’s new in the Helix Core Server Administrator Guide.