Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: p4lang/p4runtime
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.4.0
Choose a base ref
...
head repository: p4lang/p4runtime
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.4.1
Choose a head ref
  • 8 commits
  • 19 files changed
  • 4 contributors

Commits on Sep 14, 2024

  1. Pin the version of the rust code generation tool (#500)

    In the previous commit, the version of rust, protoc-gen-prost and so on
    are not pinned. That is, the latest version is used.
    This will cause unexpected CI failure for commits unrelated to rust gen.
    
    This commit pins the version in the Dockerfile:
    
    rust: 1.81.0
    protoc-gen-prost: 0.4.0
    protoc-gen-prost-crate: 0.4.1
    protoc-gen-tonic: 0.4.1
    
    The dependencies are also updated:
    
    prost: 0.13.1 -> 0.13.2
    tonic: 0.12.0 -> 0.12.1
    
    The rust code is regenerated and the version is bumped to 1.4.0
    
    Signed-off-by: Campbell He <kp.campbell.he@duskmoon314.com>
    duskmoon314 authored Sep 14, 2024
    Configuration menu
    Copy the full SHA
    4f1c841 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Version 1.4.0 rc updates to bazel and protobuf comments (#499)

    * Add v1.4.0 comments to protobufs - fix #487 (#490)
    
    * Added missing "Added/deprecated in v1.4.0" comments per convention.
    
    * Added missing "Added/deprecated in v1.4.0" comments per convention.
    
    * Refresh generated go files.
    
    Signed-off-by: chris <chris.sommers@keysight.com>
    
    * Update Bazel example to point to 1.4.0 (#493)
    
    Signed-off-by: Steffen Smolka <smolkaj@google.com>
    Signed-off-by: chris <chris.sommers@keysight.com>
    
    * Regenerate rust code.
    
    Signed-off-by: chris <chris.sommers@keysight.com>
    
    ---------
    
    Signed-off-by: chris <chris.sommers@keysight.com>
    Signed-off-by: Steffen Smolka <smolkaj@google.com>
    Co-authored-by: Steffen Smolka <smolkaj@google.com>
    chrispsommers and smolkaj authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    dda9d66 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Fix issue 491 - update changelog for 1.4.0 changes (#501)

    * Update 1.4.0 changelog per #491
    
    Signed-off-by: chris <chris.sommers@keysight.com>
    
    * Accentuate protobuf update procedure in README.
    
    Signed-off-by: chris <chris.sommers@keysight.com>
    
    * Fix section refs.
    
    Signed-off-by: chris <chris.sommers@keysight.com>
    
    * Added Rust code generation to changelog. Fixed some ref links.
    
    Signed-off-by: chris <chris.sommers@keysight.com>
    
    * Fixed 80-char column limit violations.
    
    Signed-off-by: chris <chris.sommers@keysight.com>
    
    ---------
    
    Signed-off-by: chris <chris.sommers@keysight.com>
    chrispsommers authored Sep 24, 2024
    Configuration menu
    Copy the full SHA
    f304ae3 View commit details
    Browse the repository at this point in the history
  2. Pin the dependencies of the Rust code gen tools (#502)

    In the previous commit, only the version of `protoc-gen-prost/tonic` was
    pinned. However, Cargo would still ignore the lock file and use the
    latest version of dependencies for `protoc-gen-prost/tonic`. This meant
    that any new release of dependencies (such as `prost-build`) could
    result in differences in the generated code.
    
    This commit addresses the issue by adding `--locked` to the `cargo
    install` command, ensuring Cargo respects the lock file when installing
    code generation tools.
    
    The Rust code has been regenerated using this updated configuration.
    
    Signed-off-by: Campbell He <kp.campbell.he@duskmoon314.com>
    duskmoon314 authored Sep 24, 2024
    Configuration menu
    Copy the full SHA
    31517d4 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. Added changelog for 1.4.1. (#503)

    Signed-off-by: chris <chris.sommers@keysight.com>
    chrispsommers authored Oct 11, 2024
    Configuration menu
    Copy the full SHA
    126bef2 View commit details
    Browse the repository at this point in the history
  2. Bump tonic from 0.12.2 to 0.12.3 in /rust (#504)

    Bumps [tonic](https://github.com/hyperium/tonic) from 0.12.2 to 0.12.3.
    - [Release notes](https://github.com/hyperium/tonic/releases)
    - [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md)
    - [Commits](hyperium/tonic@v0.12.2...v0.12.3)
    
    ---
    updated-dependencies:
    - dependency-name: tonic
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 11, 2024
    Configuration menu
    Copy the full SHA
    7963946 View commit details
    Browse the repository at this point in the history
  3. Update depdencies to latest versions. Fixes #505. (#506)

    Signed-off-by: smolkaj <smolkaj@google.com>
    smolkaj authored Oct 11, 2024
    Configuration menu
    Copy the full SHA
    fe85996 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. Final changes for 1.4.1 release, including version updates. (#507)

    I used #327 as an example, and followed the instructions mentioned in #327.
    
    Signed-off-by: smolkaj <smolkaj@google.com>
    smolkaj authored Oct 21, 2024
    Configuration menu
    Copy the full SHA
    36e8b46 View commit details
    Browse the repository at this point in the history
Loading