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.1 #196

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 18, 2024

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

Release notes

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

v1.5.1

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

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.1

  • Prevent duplicated enum cases.
  • Enable enum by default when using variables.

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]

... (truncated)

Commits
  • 076c25f docs: v1.5.1
  • 551dbe9 Merge pull request #155 from sublee/default-config-variables
  • efefb02 Don't set the same config value twice
  • 588f3c0 Set DefaultConfigVariables if interface name doesn't exist
  • 797a933 Add test scenario for enum conversion in goverter:variables mode
  • b046455 Merge pull request #154 from jmattheis/enum-duplicates
  • cee2d7f fix: compile error with duplicated enum source members
  • 1ec6a49 fix: disable deprecated linters
  • 595aa02 Merge pull request #149 from jmattheis/variables-v4
  • b8d3708 docs: input/output formats
  • 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.1.
- [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.1)

---
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 Sep 18, 2024
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