jaswdr / faker

:rocket: Ultimate fake data generator for Go with zero dependencies
https://pkg.go.dev/github.com/jaswdr/faker
MIT License
566 stars 59 forks source link

Version 2.X #155

Closed jaswdr closed 11 months ago

jaswdr commented 1 year ago

Description

This PR creates v2.0.0. The main goal of this version is to remove support for unmaintained versions of Go (aka.: < 1.20). Requiring 1.20 as the minimum version also unblock us to use the latest features of the language, like generics which will heavily help in the removal of duplicated code. Other changes also include:

  1. [ ] #136 fixes the fill of inner structs, not requiring the manual use of "skip"
  2. [ ] Remove deprecated crypto methods from #154
  3. [ ] Refactoring of common methods in faker.go

more to be added...

Additionally, I'm adding a proposal to follow Go's Release Policy and only support the latest 2 major versions, which by the time of this writing is 1.20 and 1.21.

Are you trying to fix an existing issue?

Require Go >= 1.20 to use latest language features.

Go Version

N/A

Go Tests

N/A

RenatoLopes771 commented 7 months ago

Additionally, I'm adding a proposal to follow Go's Release Policy and only support the latest 2 major versions, which by the time of this writing is 1.20 and 1.21.

I suggest every release include the supported versions

I'm reading the changelogs and I can't find any breaking changes between v1 and v2. So is it safe to upgrade?