Skip to content
This repository was archived by the owner on Sep 26, 2024. It is now read-only.

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 16, 2023

Bumps github.com/bufbuild/protocompile from 0.1.0 to 0.2.0.

Release notes

Sourced from github.com/bufbuild/protocompile's releases.

v0.2.0

This release contains a couple of bug-fixes and one minor addition.

Fixes:

  1. If a protocompile.SourceResolver has an Accessor function that returns an error that wraps an ErrNotExist, it could incorrectly abort searching through import paths. It instead required that the function directly return that error sentinel, without wrapping. Now it correctly handles if the ErrNotExist error is wrapped.
  2. When using an error reporter that accumulates many errors (vs. failing after the first one) and parsing source with an invalid string literal that contained incorrect escape sequences, the lexer could get into an incorrect state and report many confusing errors. It effectively behaved as if the incorrect escape sequence was the end of the string literal; it would then report tokenization errors about the rest of the string literal contents, as if they were regular source code not inside a string literal. This has been fixed, and error messages in these situations are now intuitive.

Additions:

  1. The protocompile.SearchResult type has a new field ParseResult. This allows the compiler to make more efficient use of the result if the resolver already has an instance of parser.Result. Previously, the resolver would have to decide to return either the file descriptor proto or the AST. Now it can return both.
Commits
  • 3774021 Bump github.com/bufbuild/buf from 1.9.0 to 1.10.0 in /internal/tools (#80)
  • ca04539 improve errors when string literal contains bad escapes (#78)
  • 9c5e46e Bump golang.org/x/tools from 0.2.0 to 0.3.0 in /internal/tools (#77)
  • c8bc575 handful of small API tweaks (#76)
  • e0ec128 Update Github Actions outputs to new format (#75)
  • 94413f6 Bump github.com/bufbuild/buf from 1.8.0 to 1.9.0 in /internal/tools (#74)
  • c932af4 Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (#71)
  • 79fa83f Bump github.com/golangci/golangci-lint from 1.50.0 to 1.50.1 in /internal/too...
  • 506d45f fix license (#70)
  • 2af80d0 make: fix generate rule when $PATH contains spaces (#69)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/bufbuild/protocompile](https://github.com/bufbuild/protocompile) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/bufbuild/protocompile/releases)
- [Commits](bufbuild/protocompile@v0.1.0...v0.2.0)

---
updated-dependencies:
- dependency-name: github.com/bufbuild/protocompile
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jan 16, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 6, 2023

Superseded by #19.

@dependabot dependabot bot closed this Mar 6, 2023
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/bufbuild/protocompile-0.2.0 branch March 6, 2023 10:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant