Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/alecthomas/participle/v2 from 2.0.0-alpha7 to 2.0.0 #461

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 25, 2023

Bumps github.com/alecthomas/participle/v2 from 2.0.0-alpha7 to 2.0.0.

Release notes

Sourced from github.com/alecthomas/participle/v2's releases.

v2.0.0

Changelog

  • f07d82d Allow custom types to be used for Pos, EndPos and Token.
  • 4ddfe8b chore(deps): update dependency golangci-lint to v1.52.1
  • 39d263e chore(deps): update dependency goreleaser to v1.16.2
  • 096f26a chore(deps): update dependency golangci-lint to v1.52.0
  • 2754010 chore(deps): update dependency goreleaser to v1.16.1
  • 3080db5 chore(deps): update dependency go to v1.20.2
  • 7396515 chore(deps): update dependency goreleaser to v1.16.0
  • ef998eb fix(deps): update module github.com/alecthomas/assert/v2 to v2.2.2
  • 3a0bfd1 Automerge Renovate branches
  • e6cb455 fix(deps): update module github.com/alecthomas/kong to v0.7.1 (#318)
  • bf34e54 Upgrade to latest kong
  • cb6e249 chore(deps): update actions/checkout action to v3 (#317)
  • a4237b2 fix(deps): update module github.com/alecthomas/assert/v2 to v2.2.1 (#314)
  • ba08a47 chore(deps): update dependency goreleaser to v1.15.2 (#313)
  • e44e4b9 Upgrade go+golangci-lint and fix lint rules
  • 73f08be fix(deps): update github.com/alecthomas/go-thrift digest to b383ff0 (#304)
  • 92326ce fix(deps): update module github.com/alecthomas/participle/v2 to v2.0.0-beta.5 (#305)
  • 1d6255b Minimise Renovate changes.
  • 8955295 Add automerge.
  • e6706fb Add renovate.json (#299)
  • 5e8523d change square brackets to parenthesis and add missing wildcard (#294)
  • 1f05da7 Bug fixes, improvements, optimization & refactoring before parser generation (#288)
  • 5adbb7c Peeking lexer optimizations (#263)
  • e748387 refactor: change PeekingLexer to return internal pointers
  • c854074 More README details on codegen lexer
  • 4fbbf51 A couple of minor optimisations for the generated lexer.
  • 088de44 chore: get rid of spurious debug print
  • 6ca58cf More tests and fixes for gen lexer word boundary
  • fb225ea Fix gen lexer word boundary, case insensitive, and literal matching cases (plus conformance tests) (#274)
  • 92cfb1a docs: update parser creation in tutorial to use Union
  • 7fdf6e9 docs: use Union option in tutorial
  • d4035d3 Conformance tests for the runtime and generated lexers. (#270)
  • 3c918a1 fix: report the offending type when invalid @ is used on a struct
  • 0d264e9 Extract codegen template to an embedded file.
  • a314b80 Remove lexer options.
  • e080216 fix: linter issue in generated lexer code
  • a083c4e fix: proper generated struct name for state change (#268)
  • bfe7c69 Allow lexers to be code-generated from JSON.
Changelog

Sourced from github.com/alecthomas/participle/v2's changelog.

v2

v2 was released in November 2020. It contains the following changes, some of which are backwards-incompatible:

  • Added optional LexString() and LexBytes() methods that lexer definitions can implement to fast-path lexing of bytes and strings.

  • A new stateful lexer has been added.

  • A filename must now be passed to all Parse*() and Lex*() methods.

  • The text/scanner lexer no longer automatically unquotes strings or supports arbitary length single quoted strings. The tokens it produces are identical to that of the text/scanner package. Use Unquote() to remove quotes.

  • Tok and EndTok will no longer be populated.

  • If a field named Token []lexer.Token exists it will be populated with the raw tokens that the node parsed from the lexer.

  • Support capturing directly into lexer.Token fields. eg.

    type ast struct {
        Head lexer.Token   `@Ident`
        Tail []lexer.Token `@(Ident*)`
    }
    
  • Add an experimental/codegen for stateful lexers. This provides ~10x performance improvement with zero garbage when lexing strings.

  • The regex lexer has been removed.

  • The ebnf lexer has been removed.

  • All future work on lexing will be put into the stateful lexer.

  • The need for DropToken has been removed.

Commits
  • f07d82d Allow custom types to be used for Pos, EndPos and Token.
  • 4ddfe8b chore(deps): update dependency golangci-lint to v1.52.1
  • 39d263e chore(deps): update dependency goreleaser to v1.16.2
  • 096f26a chore(deps): update dependency golangci-lint to v1.52.0
  • 2754010 chore(deps): update dependency goreleaser to v1.16.1
  • 3080db5 chore(deps): update dependency go to v1.20.2
  • 7396515 chore(deps): update dependency goreleaser to v1.16.0
  • ef998eb fix(deps): update module github.com/alecthomas/assert/v2 to v2.2.2
  • 3a0bfd1 Automerge Renovate branches
  • e6cb455 fix(deps): update module github.com/alecthomas/kong to v0.7.1 (#318)
  • 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/alecthomas/participle/v2](https://github.com/alecthomas/participle) from 2.0.0-alpha7 to 2.0.0.
- [Release notes](https://github.com/alecthomas/participle/releases)
- [Changelog](https://github.com/alecthomas/participle/blob/master/CHANGES.md)
- [Commits](alecthomas/participle@v2.0.0-alpha7...v2.0.0)

---
updated-dependencies:
- dependency-name: github.com/alecthomas/participle/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 25, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 25, 2023

Dependabot tried to add @sunnyagg and @shivasishdas as reviewers to this PR, but received the following error from GitHub:

POST https://api.github.com/repos/razorpay/metro/pulls/461/requested_reviewers: 422 - Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the razorpay/metro repository. // See: https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.

None yet

0 participants