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: jhump/protoreflect
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.14.1
Choose a base ref
...
head repository: jhump/protoreflect
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.15.2
Choose a head ref
  • 18 commits
  • 153 files changed
  • 2 contributors

Commits on Jan 11, 2023

  1. desc.Descriptor wraps protoreflect.Descriptor (#354)

    This is a major change that has some fallout in many packages in this module.
    - Most of the changes are to canonicalize imports to use the packages in google.golang.org/protobuf/types
    - The desc/protoprint package now has custom logic to print message literals for custom options. This allows
       it to respect line-breaking options on the printer.
    - The desc package, and all of the descriptor implementations, now wrap implementations of protoreflect.Descriptor in the protobuf API v2 runtime. This does add some overhead since converting from descriptor protos now must undergo two conversions: one to protoreflect.Descriptor and then another to wrap that with a desc.Descriptor. But the benefit is now much better interop with the API v2 protoreflect functionality. It is now easy to convert between the two representations.
    - The desc/protoparse package is heavily overhauled. Most of the implementation code has been removed. It is now an API shim to provide the same API as before, but to use github.com/bufbuild/protocompile under the hood for the actual parsing/compiling. That package has a different AST representation, so using the ParseToAST entry point now has extra overhead to convert the protocompile AST to this module's AST types.
    
    Since this is such a huge change, I will be creating a release candidate first, and hoping users can put that to work and report any bugs/breakages before I make an official release.
    jhump authored Jan 11, 2023
    Configuration menu
    Copy the full SHA
    bc899ec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    746ed7b View commit details
    Browse the repository at this point in the history
  3. many validation rules previously unimplemented are now implemented (#542

    )
    
    thanks to underlying protoreflect.Descriptor impl being used to construct descriptors
    jhump authored Jan 11, 2023
    Configuration menu
    Copy the full SHA
    0400f4d View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2023

  1. protocompile v0.2.0 (#543)

    jhump authored Jan 13, 2023
    Configuration menu
    Copy the full SHA
    384ff0e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d2a36df View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2023

  1. Configuration menu
    Copy the full SHA
    fea8ba4 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2023

  1. Configuration menu
    Copy the full SHA
    220303e View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2023

  1. Configuration menu
    Copy the full SHA
    1d63728 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2023

  1. build(deps): bump golang.org/x/text from 0.3.2 to 0.3.8 (#548)

    Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.2 to 0.3.8.
    - [Release notes](https://github.com/golang/text/releases)
    - [Commits](golang/text@v0.3.2...v0.3.8)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Feb 24, 2023
    Configuration menu
    Copy the full SHA
    7fcc3b0 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2023

  1. build(deps): bump golang.org/x/net (#551)

    Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20200625001655-4c5254603344 to 0.7.0.
    - [Release notes](https://github.com/golang/net/releases)
    - [Commits](https://github.com/golang/net/commits/v0.7.0)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Feb 26, 2023
    Configuration menu
    Copy the full SHA
    bc601ae View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. protoparse: fixes to issues reported in v1.15.0 (#554)

    * update protocompile to latest, to resolve data races
    * also updates to latest (v22.0) version descriptor.proto
    * should resolve regression in protoparse related to returning dynamic extension values
    jhump authored Mar 2, 2023
    Configuration menu
    Copy the full SHA
    7923b75 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2023

  1. Configuration menu
    Copy the full SHA
    81aa758 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2023

  1. Configuration menu
    Copy the full SHA
    5556ec8 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2023

  1. Configuration menu
    Copy the full SHA
    0880b17 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. Configuration menu
    Copy the full SHA
    f770609 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    00716cd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    27addec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8baa453 View commit details
    Browse the repository at this point in the history
Loading