Repository navigation
What's Changed
Breaking Changes 🛠
- Make pointers to enumerators shared pointers by @fruffy in #5802
- Use shared and unique pointers for P4Runtime output data by @fruffy in #5803
- Speed up CMake's configure time by fixing expensive file scanning/writing by @fruffy in #5771
P4 Specification Implementation
- Disallow default parameters in parser/control type declarations by @sanket-jadhav-cse in #5687
Changes to the Compiler Core
- Fix header union field name collisions during flattening by @sanket-jadhav-cse in #5808
- Replace parser Boost.Iostreams with normal stdio tools by @fruffy in #5791
- fixing the unpadded format_container output by @Devansh-567 in #5783
- Fix bogus uninitialized header warnings. by @fruffy in #5779
- Propagate source info in inlining passes by @fruffy in #5781
- Gracefully exit when non-constant array is present by @jhavrane in #5825
- Drop obsolete Boost hash compatibility includes by @fruffy in #5794
- Add validation for maxErrorCount option by @Devansh-567 in #5837
- fix: propagate right-operand errors in symbolic evaluation by @Devansh-567 in #5851
- Fix BMv2 variable-offset slice compilation (#5558) by @anovotarsk in #5716
- fix: double escaping of source_fragment JSON by @Devansh-567 in #5838
- Fix parser select with duplicate cases and no default by @sanket-jadhav-cse in #5852
- Fix RemoveReturns miscompilation for unmatched switch without default by @sanket-jadhav-cse in #5815
- Invalidate union siblings after an extract in FlattenHeaderUnion by @aeron-gh in #5865
- Fix non-header array dynamic index crash by @sanket-jadhav-cse in #5788
- Remove overflow warnings for constant-folded left shift by @ChrisDodd in #5867
- Fix local_copyprop of 'for' loops by @ChrisDodd in #5869
- Fix no definitions found when inlining creates unreachable state by @jhavrane in #5827
- Fix duplicate table entry detection for equivalent key values by @sanket-jadhav-cse in #5759
- Fix stale constant propagation across out/inout method arguments by @sanket-jadhav-cse in #5810
- Midend pass to eliminate unreachable statements by @ChrisDodd in #5870
- Support for empty value sets in constantFolding pass by @jhavrane in #5823
- Fix stale IndexedVector when return statement is moved by @jhavrane in #5828
- fix: load wide integers from JSON without int truncation by @Devansh-567 in #5850
- Prevent crash when invalid type is being introduced by @jhavrane in #5880
- [#5463] Clone parameter default values when inserting default-initialized arguments into method call expressions by @kfcripps in #5474
- Fix SameExpression crash on invalid header arguments by @Devansh-567 in #5854
- Reject parser transitions whose target is not a parser state by @akshat-lakhera in #5871
- fix: handle zero-left-operand overflow in signed SubSat by @Devansh-567 in #5847
- Release temporary expression optimization helpers by @fruffy in #5804
- Improve JSON joader error handling by @ChrisDodd in #5898
- remove unneeded 'fake' P4Program for ProgramMap by @ChrisDodd in #5897
- Reject directed parameters of type int after type specialization by @akshat-lakhera in #5872
- Remove core Boost build and CI dependencies by @fruffy in #5795
- Fix control flow on invalid default value by @jhavrane in #5890
- Take erase_if predicate elements by const reference (supports Debian 12) by @chreekat in #5912
- Prevent control block from being passed to extern by @jhavrane in #5888
- Fix null dots crash by @jhavrane in #5882
Changes to the BMv2 Back Ends
- Fix BMv2 lowering of mixed-signedness concatenation by @sanket-jadhav-cse in #5816
- add v1model metadata for LAG hash by @Devansh-567 in #5778
- Use raw strings for literals with invalid escape sequences by @Keshavkumar04 in #5905
Changes to the eBPF Back Ends
- improve eBPF option validation by @Devansh-567 in #5836
- [PSA][eBPF] Fix the problem of "literal numbers being passed by reference" in C++ codes compiled from P4 code by @kirazero17 in #5829
- Fix eBPF PTF tests on Ubuntu 24.04 by @w453y in #5906
Changes to the TC Back End
- validate tc backend option values by @Devansh-567 in #5835
Changes to the DPDK Back End
- Fix DPDK invalid header parser crash by @sanket-jadhav-cse in #5904
- Try to reenable the DPDK PTF Testgen workflow. by @fruffy in #5572
Changes to the P4Tools Back End
- Propagate source info correctly in compiler passes by @fruffy in #4409
- Replace P4Tools Boost.Random with std::mt19937 by @fruffy in #5793
- Handle out-of-range p4testgen arguments by @Devansh-567 in #5843
- Validate p4tools --seed argument by @Devansh-567 in #5842
- [p4testgen] Also skip specialized types which are externs when resolving method call arguments by @fruffy-xsight in #5787
- Reset Z3 solvers without invalidating other solvers by @fruffy in #5801
- [p4testgen] Record the paths the executor has skipped by @fruffy-xsight in #5785
Changes to the Tofino Back End
- fix double-escaping of BF-RT annotation names by @Devansh-567 in #5841
- Avoid spurious parser loop unrolling warnings by @HeRaNO in #5853
- Avoid 'return' in a 'finally' block in barefoot.py by @Keshavkumar04 in #5903
- Fix undefined names in the Tofino scripts and stf_test by @Keshavkumar04 in #5910
- Pass args to need_ctor by @Keshavkumar04 in #5917
Other Changes
- More parallelization for sanitizer job by @chreekat in #5814
- Improve CI cache reuse and cleanup by @fruffy in #5724
- PSA-BMv2: Implement the capability of exporting header stacks into BMv2 JSON by @kirazero17 in #5773
- Pin python to version 3.14 on macos by @jafingerhut in #5846
- Enable tools/ci-build.sh to work on Ubuntu 26.04 by @jafingerhut in #5826
- fix: prevent double escaping in graph JSON names and conditions by @Devansh-567 in #5840
- Pin Python 3.14 for uv sync in the macOS CI setup by @aeron-gh in #5858
- Fix ToP4 spacing for system errors and match kinds. by @fruffy in #5817
- bmv2: emit header stacks for PNA by @aeron-gh in #5848
- Fix p4c driver find_bin on Windows (use os.pathsep) by @Devansh-567 in #5857
- bmv2: run STF tests on pna_nic by @aeron-gh in #5849
- Avoid clang-tidy warnings in IR constructors by @fruffy in #5868
- Quote user-supplied arguments in the p4c driver by @Devansh-567 in #5866
- Update P4Runtime to v1.6.0 by @matthewtlam in #5877
- Trigger workflows automatically on release PRs by @chreekat in #5885
- Bump black from 26.3.1 to 26.10.1 by @dependabot[bot] in #5892
- Reuse lint ci check only for files affected by PR by @jafingerhut in #5896
- Recognise ccache entries by header, not filename suffix by @chreekat in #5895
- Only do reuse lint checks on files that were not removed in PR by @jafingerhut in #5902
- Add copyright notices for files added by vbnogueira by @jafingerhut in #5907
- Use a raw string for the sed command in test_infra.py by @Keshavkumar04 in #5909
- Link a preinstalled bdwgc as FindLibGc finds it by @chreekat in #5913
- Add license to version file by @jafingerhut in #5920
- Automated Release v1.2.5.19 by @p4lang-release[bot] in #5919
New Contributors
- @kirazero17 made their first contribution in #5773
- @anovotarsk made their first contribution in #5716
- @HeRaNO made their first contribution in #5853
- @akshat-lakhera made their first contribution in #5871
- @Keshavkumar04 made their first contribution in #5903
- @w453y made their first contribution in #5906
- @p4lang-release[bot] made their first contribution in #5919
Full Changelog: v1.2.5.18...v1.2.5.19