Repository navigation
What's Changed
Breaking Changes 🛠
- Release options memory when done by @fruffy in #5797
- Release compilation contexts when their scope ends by @fruffy in #5799
- Replace boost::format with a compatibility wrapper for P4C's diagnostic library. by @fruffy in #5234
P4 Specification Implementation
Changes to the Compiler Core
- Fix compound shift type checking by @sanket-jadhav-cse in #5758
- fix(options): support comma-separated lists in diagnostic flags by @Devansh-567 in #5740
- Handle zero width slices by @aeron-gh in #5745
- Fix JSON string escaping in JsonValue serialization by @Devansh-567 in #5760
- fix for empty container formatting by @Devansh-567 in #5774
- Compare non-IR variant alternatives with == in generated equiv() by @aeron-gh in #5776
- fixing unaligned access in NetHash::csum16 by @Devansh-567 in #5772
- fix for the error count limit in ErrorReporter by @Devansh-567 in #5790
- Intern temporary string allocations in exename by @fruffy in #5796
- Release the JSON loader's node lookup table by @fruffy in #5800
- Swap the slice argument names to be the same as the definition names. by @fruffy-xsight in #5784
- frontends: preserve type when folding struct casts by @blackdragoon26 in #5756
Changes to the BMv2 Back Ends
- Compare BMv2 error test output against reference files by @aeron-gh in #5809
- Fix DPDK compile of conditional concatenation by @fruffy in #5811
- Update old p4_16_bmv_errors test programs, and their expected outputs by @jafingerhut in #5812
- bmv2: error instead of crash when the HashAlgorithm is not an enum member by @aeron-gh in #5751
Changes to the TC Back End
Changes to the P4Tools Back End
- [p4tools] Make sure state variables are compared the same way everywhere by @fruffy-xsight in #5786
Changes to the Tofino Back End
- Type add_command and convert the assembler paths at the call site by @aeron-gh in #5754
- tofino: keep non-scratch parser match register slices by @aeron-gh in #5753
- Fix three small problems in the tofino build by @aeron-gh in #5763
- Run the tofino P4Testgen compile step through the p4c driver by @aeron-gh in #5766
- Compute 1/x^2 for the RSQR math unit table by @aeron-gh in #5767
- Prefix the tofino-only ctest names with tofino by @aeron-gh in #5769
Other Changes
- Convert Path from find_file to str in the driver by @aeron-gh in #5750
- Updates for already-installed-in-docker uv, and aarch64 builds by @jafingerhut in #5755
- Fix the metrics gtest paths for build dirs outside the source root by @aeron-gh in #5757
- Bump thrift from 0.21.0 to 0.24.0 by @dependabot[bot] in #5748
- Automated Release v1.2.5.18 by @github-actions[bot] in #5813
New Contributors
- @blackdragoon26 made their first contribution in #5756
Full Changelog: v1.2.5.17...v1.2.5.18