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: bufbuild/buf
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.25.1
Choose a base ref
...
head repository: bufbuild/buf
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.26.1
Choose a head ref
  • 12 commits
  • 24 files changed
  • 10 contributors

Commits on Aug 2, 2023

  1. Return to development (#2339)

    Release complete for v1.25.1
    
    ---------
    
    Co-authored-by: buf-release-bot[bot] <buf-release-bot[bot]@users.noreply.github.com>
    Co-authored-by: joshcarp <jcarpeggiani@buf.build>
    3 people authored Aug 2, 2023
    Configuration menu
    Copy the full SHA
    047ecb6 View commit details
    Browse the repository at this point in the history
  2. Remove go 1.18 compatibility code (#2340)

    We've updated to go 1.19 in the go.mod file for some time. We can now
    remove go 1.18 and earlier compatibility code.
    pkwarren authored Aug 2, 2023
    Configuration menu
    Copy the full SHA
    4ed6eb6 View commit details
    Browse the repository at this point in the history
  3. Return better errors for unavailable error codes (#2336)

    If we can determine that the error from login is due to a connect
    unavailable error, we should return more details to aid in
    troubleshooting. Update wrapError to return a better error message in
    case of a TLS certificate error (could be a MITM attack or an untrusted
    certificate).
    pkwarren authored Aug 2, 2023
    Configuration menu
    Copy the full SHA
    3bd5bea View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2023

  1. Configuration menu
    Copy the full SHA
    43dbe53 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b0a2fd8 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2023

  1. Sync a single module by default, at the root of the repo (#2330)

    This PR sets a much saner default behavior and sync rules when running
    `buf alpha repo sync`:
    
    - Don't force users to pass `--module` flag each time for all module
    dirs. If they don't, then assume a single module, at the root of the git
    repo.
    - Read module identities from the HEAD commit for each branch, and only
    sync commits in the branch history that match those names.
    - Skip commits with read module failures like:
      - Module not found
      - Module with invalid config
      - Module unnamed
      - Module name different than HEAD
      - Module does not build
    - Improve sync output every time a git commit is synced to a new more
    readable format
    unmultimedio authored Aug 8, 2023
    Configuration menu
    Copy the full SHA
    25da2f0 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2023

  1. Buf sync: support module identity overrides (#2356)

    Accept an **optional** module identity override for the module flag.
    This is useful when syncing a repository, to set a target module
    identity, regardless of what HEAD content has.
    
    This will be useful for dog fooding the sync command on our own repos,
    or other community repositories with valid Buf modules, in case we don't
    want or can't write to the git history, but still want to sync all
    activity across all branches.
    
    Before:
    
    ```sh
    buf alpha repo sync \
      # This would read the module name in the HEAD commit,
      # and only sync commits back in time that matched that name.
      --module my/proto/dir
    ```
    
    Now:
    
    ```sh
    buf alpha repo sync \
      # This will read the module name in the HEAD commit,
      # and only sync commits back in time that matched that name.
      --module my/proto/dir
      # This will use "buf.build/acme/foo" as the module target
      # identity for all branches, regardless of the module name
      # they have in the git commits, or even if they are unnamed.
      --module other/proto/dir:buf.build/acme/foo
    ```
    unmultimedio authored Aug 9, 2023
    Configuration menu
    Copy the full SHA
    af32dec View commit details
    Browse the repository at this point in the history
  2. Release v1.26.0 (#2358)

    Release prepared for 1.26.0
    
    Reminder: Update the changelog
    
    ---------
    
    Co-authored-by: unmultimedio <unmultimedio@users.noreply.github.com>
    Co-authored-by: Julian Figueroa <jfigueroa@buf.build>
    3 people authored Aug 9, 2023
    Configuration menu
    Copy the full SHA
    893a9b7 View commit details
    Browse the repository at this point in the history
  3. Return to development (#2359)

    Release complete for v1.26.0
    
    ---------
    
    Co-authored-by: buf-release-bot[bot] <buf-release-bot[bot]@users.noreply.github.com>
    Co-authored-by: Julian Figueroa <jfigueroa@buf.build>
    3 people authored Aug 9, 2023
    Configuration menu
    Copy the full SHA
    2d14c83 View commit details
    Browse the repository at this point in the history
  4. Fix rename module when no module identity (#2360)

    Missing nil-check catched when syncing `bufbuild/buf`.
    unmultimedio authored Aug 9, 2023
    Configuration menu
    Copy the full SHA
    3a58ee6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    efdd563 View commit details
    Browse the repository at this point in the history
  6. Release v1.26.1 (#2362)

    Release prepared for 1.26.1
    
    Co-authored-by: joshcarp <joshcarp@users.noreply.github.com>
    Co-authored-by: joshcarp <jcarpeggiani@buf.build>
    3 people authored Aug 9, 2023
    Configuration menu
    Copy the full SHA
    37e7b11 View commit details
    Browse the repository at this point in the history
Loading