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

chore(deps): Bump github.com/jmattheis/goverter from 1.3.0 to 1.5.0 #182

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 24, 2024

Bumps github.com/jmattheis/goverter from 1.3.0 to 1.5.0.

Release notes

Sourced from github.com/jmattheis/goverter's releases.

v1.5.0

See https://goverter.jmattheis.de/changelog

v1.4.1

See https://goverter.jmattheis.de/changelog

v1.4.0

See https://goverter.jmattheis.de/changelog

v1.3.2

See https://goverter.jmattheis.de/changelog

v1.3.1

See https://goverter.jmattheis.de/changelog

Changelog

Sourced from github.com/jmattheis/goverter's changelog.

v1.5.0

  • Add two input-output formats. See Guide: Input/Output formats for help to choose a format. The new formats allow you to call top level functions without the need to instantiate a struct to call methods on it.
  • Add line numbers of originating definitions to all error messages.

v1.4.1

  • Error when the settings enum and useUnderlyingTypeMethods conflict.
  • Add CLI commands help and version.
  • Improve generation by assigning variables directly if possible. :::details Examples
     func (c *ConverterImpl) Convert(source execution.Input) execution.Output {
         var structsOutput execution.Output
    -    var pString *string
         if source.Nested.Name != nil {
             xstring := *source.Nested.Name
    -        pString = &xstring
    +        structsOutput.Name = &xstring
         }
    -    structsOutput.Name = pString
         return structsOutput
     }

     func (c *ConverterImpl) ConvertPToP(source []*int) []*int {
         var pIntList []*int
         if source != nil {
             pIntList = make([]*int, len(source))
             for i := 0; i < len(source); i++ {
    -            var pInt *int
                 if source[i] != nil {
                     xint := *source[i]
    -                pInt = &xint
    +                pIntList[i] = &xint
                 }
    -            pIntList[i] = pInt
             }
         }

... (truncated)

Commits
  • 595aa02 Merge pull request #149 from jmattheis/variables-v4
  • b8d3708 docs: input/output formats
  • c286948 feat: add input/output formats
  • ff137c6 fix: limit packages.Load mode for comment parsing
  • 57fb57d fix: show only line number in errors
  • 67b707b test: no global output:package
  • d32e388 refactor: simplify global config parsing
  • 4f99aca docs: v1.4.1
  • 6bcdb92 Merge pull request #148 from jmattheis/assign-not-nil
  • c3a52d6 fix: if possible assign directly to struct fields, slices, maps
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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/jmattheis/goverter](https://github.com/jmattheis/goverter) from 1.3.0 to 1.5.0.
- [Release notes](https://github.com/jmattheis/goverter/releases)
- [Changelog](https://github.com/jmattheis/goverter/blob/main/docs/changelog.md)
- [Commits](jmattheis/goverter@v1.3.0...v1.5.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 24, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 18, 2024

Superseded by #196.

@dependabot dependabot bot closed this Sep 18, 2024
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/jmattheis/goverter-1.5.0 branch September 18, 2024 22:40
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants