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/thoas/go-funk from 0.6.0 to 0.9.3 #112

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps github.com/thoas/go-funk from 0.6.0 to 0.9.3.

Release notes

Sourced from github.com/thoas/go-funk's releases.

v0.9.3

No release notes provided.

v0.9.2

No release notes provided.

v0.9.1

Fix unix format for short_if.go.

v0.9.0

  • (BC) Typesafe Min*, Max* previously returned a nil pointer when the argument does not contain any items, it has been changed to have a typesafe signature and it panics
  • Add StringerJoin which joins an array of elements which implement the String() string function (thks @​arnovanliere)
  • Update Get to allows zero values with the option WithAllowZero (thks @​roneli)
  • Add typesafe bool functions FilterBool, ContainsBool, InBools, IndexOfBool, LastIndexOfBool, UniqBool, DropBool, ShuffleBool, ReverseBools (thks @​arnovanliere)
  • Update Zip to panic when the passing argument is not a slice / array

v0.8.0

  • Reduce now returns an interface
  • Add FlapMap which manipulates an iteratee (map, slice) and transforms it to to a flattened collection of another type
  • Add support for map when using Get
  • Add Set which sets value at a path of a struct
  • Add DifferenceInt64, DifferenceInt32, DifferenceInt, DifferenceUInt, DifferenceUInt32, DifferenceUInt64
  • Add Flatten which flattens a two-dimensional array.
  • Add Prune which returns a copy of "in" that only contains fields in "paths"

Thank you @​youyuanwu @​vellotis @​guyarb @​nohponex @​CengSin @​samber @​HarryWang29

v0.7.0

  • Add Join which combines two collections using the given join method (thks @​xunleii)
  • Add Without which creates an array excluding all given values (thks @​xunleii)
  • Add Subset which returns true if a collection is a subset of another (thks @​reetuparna)
  • Add Join operations, primitives (InnerJoin, OuterJoin, LeftJoin, RightJoin) and typesafe implementations (thks @​xunleii)
  • Fixed input mutation in Uniq, it returns a copy of the input without the duplicate
  • Fixed some typos (thks @​anukul)
  • Fixed SubtractString when an empty array is passed (thks @​alongat)
Commits
  • 4107456 chore: bump CI
  • 42808ee Merge pull request #153 from ethahae/master
  • e7efff4 Merge pull request #154 from icearith/master
  • 05e703f Merge pull request #156 from marcinc/get-map-support-complex-keys
  • df1ff15 Merge pull request #161 from erezrokah/fix/nil_indirection
  • df86593 Merge pull request #162 from ErfanMomeniii/master
  • b75b3f5 fix allow zero in get func and adding test for checking that
  • b9184fe fix allow zero problem
  • ad87c80 fixup! Adds funk.Get support for complex map keys
  • 64cf625 fix: Only consider pointer to structs when checking for embedded fields
  • 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/thoas/go-funk](https://github.com/thoas/go-funk) from 0.6.0 to 0.9.3.
- [Release notes](https://github.com/thoas/go-funk/releases)
- [Changelog](https://github.com/thoas/go-funk/blob/main/CHANGELOG.md)
- [Commits](thoas/go-funk@v0.6.0...v0.9.3)

---
updated-dependencies:
- dependency-name: github.com/thoas/go-funk
  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 May 24, 2024
@mickmister
Copy link
Contributor

I'm thinking we should just remove this dependency. We're using it for its Contains function, which just checks if a string array contains a given string. So this library seems unnecessary for this project

if funk.Contains(events, eventType) {

@mickmister
Copy link
Contributor

Closing in favor of #116

The issue fixed by the library is a nil pointer that our application won't run into based on our usage of the library thoas/go-funk@64cf625

@mickmister mickmister closed this Jun 10, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 10, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/go_modules/github.com/thoas/go-funk-0.9.3 branch June 10, 2024 20:04
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.

1 participant