Skip to content

Update module github.com/brianvoe/gofakeit/v6 to v7 - #334

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-brianvoe-gofakeit-v6-7.x
Closed

Update module github.com/brianvoe/gofakeit/v6 to v7#334
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-brianvoe-gofakeit-v6-7.x

Conversation

@renovate

@renovate renovate Bot commented Mar 13, 2024

Copy link
Copy Markdown
Contributor

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/brianvoe/gofakeit/v6 v6.28.0 -> v7.0.2 age adoption passing confidence

Release Notes

brianvoe/gofakeit (github.com/brianvoe/gofakeit/v6)

v7.0.2

Compare Source

v7.0.1

Compare Source

v7.0.0: - math/rand/v2

Compare Source

Gofakeit v7: What's New!

🎲 math/rand/v2 Integration

  • Better RNG 🔒: Now using math/rand/v2 for a more simplistic implementation and two new source types(pcg, chacha8).
  • Simplified faker 🧹: Refined faker struct for ease of use, mirroring the simplicity improvements of math/rand/v2.

✨ Highlights

  • New Sources : math/rand/v2 added PCG and ChaCha8. Gofakeit also added a sub package called source with additional sources in it.

Example New and NewFaker usage

import (
	"github.com/brianvoe/gofakeit/v7"
	"github.com/brianvoe/gofakeit/v7/source"
	"math/rand/v2"
)

// Uses math/rand/v2(PCG Pseudo) with mutex locking
faker := gofakeit.New(0)

// NewFaker takes in a source and whether or not it should be thread safe
faker := gofakeit.NewFaker(source rand.Source, threadSafe bool)

// PCG Pseudo
faker := gofakeit.NewFaker(rand.NewPCG(11, 11), true)

// ChaCha8
faker := gofakeit.NewFaker(rand.NewChaCha8([32]byte{0, 1, 2, 3, 4, 5}), true)

// Additional from Gofakeit sub package source

// JSF(Jenkins Small Fast)
faker := gofakeit.NewFaker(source.NewJSF(11), true)

// SFC(Simple Fast Counter)
faker := gofakeit.NewFaker(source.NewSFC(11), true)

// Crypto - Uses crypto/rand
faker := gofakeit.NewFaker(source.NewCrypto(), true)

// Dumb - simple incrementing number
faker := gofakeit.NewFaker(source.NewDumb(11), true)

🙏 Acknowledgments

A huge shoutout to our contributors and users! Your feedback and support have been invaluable. 🌟


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate
renovate Bot requested review from a team as code owners March 13, 2024 17:26
@github-actions

Copy link
Copy Markdown

GraphQL Schema Check

Compared 0 schema changes against 0 operations

✅ Found no changes

🔗 View full schema check details

@rizzza rizzza closed this Mar 13, 2024
@rizzza
rizzza deleted the renovate/github.com-brianvoe-gofakeit-v6-7.x branch March 13, 2024 17:32
@renovate

renovate Bot commented Mar 13, 2024

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 7.x releases. But if you manually upgrade to 7.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant