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: protocolbuffers/protobuf-go
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.30.0
Choose a base ref
...
head repository: protocolbuffers/protobuf-go
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.31.0
Choose a head ref
  • 10 commits
  • 34 files changed
  • 8 contributors

Commits on Mar 16, 2023

  1. all: start v1.30.0-devel

    Change-Id: I36d043a08b60783360dfca21f100b697fe7e3e8d
    Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/476836
    Reviewed-by: Michael Stapelberg <[email protected]>
    lfolger committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    808c664 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2023

  1. all: update protobuf release version to fix macOS tests

    Update to a protobuf version that contains a fix for
    protocolbuffers/protobuf#12173
    (macOS build error).
    
    Set "CC=clang" when building the protobuf repo on macOS,
    which fixes build errors on my machine (macOS 13.3.1, M1).
    
    Change-Id: Id8abb054479454b7ccbded5a6fa4d74f3d3c236d
    Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/489315
    Run-TryBot: Damien Neil <[email protected]>
    Reviewed-by: Joseph Tsai <[email protected]>
    Reviewed-by: Lasse Folger <[email protected]>
    neild committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    736947c View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2023

  1. types/dynamicpb: add NewTypes

    Add a function to construct a dynamic type registry from a
    protoregistry.Files. The NewTypes constructor takes a concrete
    Files to permit future improvements based on changes to Files.
    (For example, we might add a Files.FindExtensionByNumber
    method, which Types could take advantage of.)
    
    Fixes golang/protobuf#1216
    
    Change-Id: I61edba0a94528829d40f69fad773ccb5912859e0
    Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/489316
    Run-TryBot: Damien Neil <[email protected]>
    Reviewed-by: Lasse Folger <[email protected]>
    Reviewed-by: Joseph Tsai <[email protected]>
    neild authored and stapelberg committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    1bca6d9 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2023

  1. encoding: add MarshalAppend to protojson and prototext

    Adds MarshalAppend methods to allow for byte slices to be reused.
    Copies signature from the binary encoding.
    
    Small changes to internal json and text libraries to use strconv
    AppendInt and AppendUint for number encoding.
    
    Change-Id: Ife7c8979c1c153a0a0bf9b70b296b8158d38dffc
    Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/489615
    Reviewed-by: Edward McFarlane <[email protected]>
    Reviewed-by: Joseph Tsai <[email protected]>
    Reviewed-by: Lasse Folger <[email protected]>
    Reviewed-by: Damien Neil <[email protected]>
    emcfarlane authored and neild committed May 1, 2023
    Configuration menu
    Copy the full SHA
    05cbe34 View commit details
    Browse the repository at this point in the history
  2. compiler/protogen: add Semantic.SET to setter annotations

    Provide an API to add the GeneratedCodeInfo.Annotation.Semantic enum to
    annotations.
    
    Change-Id: I92ab30619a94a117679a0eb16d8cb5b3a1352586
    Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/489795
    Reviewed-by: Lasse Folger <[email protected]>
    Reviewed-by: Damien Neil <[email protected]>
    schroederc authored and neild committed May 1, 2023
    Configuration menu
    Copy the full SHA
    cf06b0c View commit details
    Browse the repository at this point in the history

Commits on May 8, 2023

  1. encoding/protodelim: If UnmarshalFrom gets a bufio.Reader, try to reu…

    …se its buffer instead of creating a new one
    
    When unmarshalling many messages, this reduces the amount of memory allocated and saves CPU time.
    
    Change-Id: I440b8b223319ba2ed31ce559c125b1d640d5880c
    Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/491596
    Reviewed-by: Joseph Tsai <[email protected]>
    Reviewed-by: Lasse Folger <[email protected]>
    Reviewed-by: Damien Neil <[email protected]>
    vanja-pejovic authored and neild committed May 8, 2023
    Configuration menu
    Copy the full SHA
    b8fc770 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2023

  1. internal/order: fix sorting of synthetic oneofs to be deterministic

    Before this change, synthetic oneofs were ignored in the inOneof() helper
    function, but not in the remainder of the LegacyFieldOrder function.
    
    Change-Id: Ia60e5244ae1000e98bbba9dd26f1d1583337fab4
    Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/497935
    Reviewed-by: Damien Neil <[email protected]>
    Reviewed-by: Lasse Folger <[email protected]>
    Reviewed-by: Cassondra Foesch <[email protected]>
    stapelberg committed May 25, 2023
    Configuration menu
    Copy the full SHA
    cc524c9 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2023

  1. proto: store the size of tag to avoid multiple calculations

    Change-Id: I001c2c6996e92d69234431f3463b5558840da948
    Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/500695
    Reviewed-by: Lasse Folger <[email protected]>
    Reviewed-by: Michael Stapelberg <[email protected]>
    chenyahui authored and stapelberg committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    fc47fdd View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2023

  1. encoding/protodelim: fix handling of io.EOF

    Before this change, when encountering an io.EOF after reading at least
    one byte, the zero value byte was — incorrectly — appended to sizeBuf,
    and the io.EOF was ignored, resulting in a complete varint (0 has no
    continuation bit), which in turn resulted in incorrect unmarshalling.
    
    Change-Id: If06d45039d998eaddf91d0864814bb31d4cb7ae0
    Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/505555
    Reviewed-by: Lasse Folger <[email protected]>
    Reviewed-by: Damien Neil <[email protected]>
    stapelberg committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    59a8581 View commit details
    Browse the repository at this point in the history
  2. all: release v1.31.0

    Change-Id: Ic67237749015f22a8657b65ad7250a6f95b742b4
    Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/506155
    Reviewed-by: Michael Stapelberg <[email protected]>
    lfolger committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    68463f0 View commit details
    Browse the repository at this point in the history
Loading