Repository navigation
What's Changed
Breaking Changes ๐
- Use the P4Runtime CMake package by @fruffy in #5878
- [P4Testgen] Set other headers also invalid when calling setInvalid on a union header. by @fruffy in #4853
Changes to the Compiler Core
- Fix strength reduction for left shifts under dynamic slices by @sanket-jadhav-cse in #5884
- Handle for-in loops that run zero times by @aeron-gh in #5916
- Fix alias protection for array assignments by @sanket-jadhav-cse in #5900
- Preserve the original name when renaming declarations in the inlining pass. by @fruffy in #4683
- Fix Z3 allocation-size queries with garbage collection by @fruffy in #5856
- Fix frontend def_use analysis with arrays by @ChrisDodd in #5908
- [5819] Fix evaluation of arguments bound to directionless action parameters during inlining by @MathewZach123 in #5832
- [#5873] Visit all
IR::InvalidHeaderandIR::InvalidHeaderUnionreferences inside ofDoEliminateInvalidHeadersmidend pass by @kfcripps in #5876 - [Generator] Add an explicit modifier to the IR generator. by @fruffy in #5208
- Report non-constant header stack sizes instead of crashing by @aeron-gh in #5939
- Avoid null type crashes after a type error by @aeron-gh in #5921
- Fix getBriefSourceFragment quoted-line branch by @Devansh-567 in #5952
- Refactor dots string by @jhavrane in #5932
- Prevent unsigned underflow in SymbolicArray::shift() by @sanket-jadhav-cse in #5709
- Fix the gc_allocation_size function in gc.cpp to respect BDWGC padding. by @fruffy in #5942
- Fix a compiler crash on a bad SerEnum initializer by @Devansh-567 in #5966
- Fix ambiguous function crash by @jhavrane in #5831
- Add strict JSON parsing by @sanket-jadhav-cse in #5954
- fix(driver): preserve global behavior when combining bare and named warning flags by @Devansh-567 in #5739
- [Frontend] Avoid leaking comma-separated option buffers by @fruffy in #5971
- Do not copy-propagate to nodes used in LHS of assignments. by @kfcripps in #5953
- [5819] Revert temporaries for directionless action parameters in ActionsInliner by @MathewZach123 in #5967
- Fix crash on illegal array by @jhavrane in #5886
- Fix crash when omitting optional and defaulted argument by @jhavrane in #6007
Changes to the Control Plane
- Set P4Info type_name for serializable enum types by @matthewtlam in #5941
Changes to the BMv2 Back Ends
Changes to the eBPF Back Ends
- Fix and re-enable the eBPF PTF tests skipped on newer kernels by @w453y in #5914
- ebpf: map the deparser's user metadata parameter by @w453y in #5926
- ebpf: give egress its own hdr_md fields by @w453y in #5931
- ebpf: fix Digest.pack() of the user metadata by @Jaswanth-006 in #5962
- [eBPF] Scope eBPF and uBPF code-generation objects by @fruffy in #5976
Changes to the TC Back End
- [p4tc] tc: update the P4TC backend for net-7.3 by @jhsmt in #5949
- Copy tc/pna.p4 into the build include dir even when the P4TC backend is disabled by @kfcripps in #5994
- [P4TC] Boot the kernel extracted by the TC test fixture by @fruffy in #5972
- Fix CI failures by @fruffy in #6001
Changes to the DPDK Back End
Changes to the P4Tools Back End
- Testgen optimizations and QOL changes by @dparker01 in #5915
- Small P4Testgen fixes by @fruffy in #5855
- [p4tools] Taint a shift by a variable amount only if an operand is tainted by @fruffy-xsight in #5987
- [P4Testgen] Return Testgen port variables by value by @fruffy in #5978
- [P4Testgen] Construct Testgen state containers in place by @fruffy in #5973
- [P4Testgen] Scope coverage lookahead to one Testgen invocation by @fruffy in #5977
- [P4Testgen] Own Testgen executors, backends and output writers by @fruffy in #5979
- [p4tools] Handle shifts whose operands have different widths by @fruffy-xsight in #5968
- [P4Testgen] Release the Z3 translation cache in a deterministic order by @kfcripps in #6008
Changes to the Tofino Back End
- tofino: fix configure when the source is at /p4c by @Jaswanth-006 in #5964
- Print PHV field constraints in stable order by @fruffy in #5981
Other Changes
- Bump robinraju/release-downloader from 1.12 to 1.13 in the actions group by @dependabot[bot] in #5925
- Fix PTF stream cleanup race between test cases by @fruffy in #5930
- Fix detect-changes failure by adding missing SPDX metadata to container-image workflow by @fruffy with @Copilot in #5929
- Fix races in Fedora CI test helpers by @fruffy in #5924
- Fix slow test times for container CI action by @fruffy in #5923
- Update ptf using newer pynng to fix fedora CI by @jafingerhut in #5938
- Use the shared cache retention action by @fruffy in #5922
- Only do license check on files added by PRs, not modified files by @jafingerhut in #5944
- Make BMv2 PSA/PNA reject non-byte-aligned headers by @sanket-jadhav-cse in #5834
- Make ebpf_kernel.h released under GPL-2.0-only or BSD-2-Clause licenses by @jafingerhut in #5114
- Ensure P4Runtime DOWNLOAD_EXTRACT_TIMESTAMP is only used in newer CMake variants. by @fruffy in #5951
- [cmake] Export the Multiprecision settings with the P4C libraries by @fruffy-xsight in #5970
- ci: start label-gated workflows when the label is added by @aeron-gh in #5991
- Pin PI in every CI job that builds it from source by @fruffy in #6003
- Regenerate expected test outputs with stale whitespace by @kfcripps in #5997
- Pin BMv2 in the remaining jobs that pin PI by @fruffy in #6009
- tools: Fix git hooks installation and pre-commit diff detection by @KeerthiKumarR in #6002
- Check for unnecessary dot license files in directories with auto generated files by @jafingerhut in #6027
- Automated Release v1.2.5.20 by @p4lang-release[bot] in #6030
New Contributors
- @Jaswanth-006 made their first contribution in #5962
- @jhsmt made their first contribution in #5949
- @KeerthiKumarR made their first contribution in #6002
Full Changelog: v1.2.5.19...v1.2.5.20