crossplane-contrib / provider-argocd

Crossplane provider to provision and manage Argo CD objects
Apache License 2.0
68 stars 35 forks source link

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

Open dependabot[bot] opened 2 months ago

dependabot[bot] commented 2 months ago

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 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)