Releases: kilianpaquier/go-builder-generator
Releases · kilianpaquier/go-builder-generator
v1.2.2
v1.2.1
v1.2.0
v1.1.2
v1.1.1
v1.1.0
v1.0.2
1.0.2 (2024-04-06)
Bug Fixes
- deps: upgrade to go1.22.2 (3dc05d7)
- generate: add unexported property to builder when generation is done in the same package and handle properly function name (cdf58da)
- generate: throw an error in case an unexported struct is given in generation in another package (4f60bb3)
Documentation
- readme: remove code section language to avoid weird colors (9c05df7)
Chores
- golangci: remove govet deleted option (6c690b9)
v1.0.1
v1.0.0
1.0.0 (2024-03-18)
⚠ BREAKING CHANGES
- generate: no prefix is applied by default on builder functions, while before this commit "Set" would be applied
- generate: use-validator has been removed, as such there's no integration of validate anymore. See updated examples.
Features
- ci: add release branches handling (b45e0cd)
- generate: add prefix option defaulting to empty meaning a builder function will just be the property name (cd790b9)
- generate: change use-validator to validate-func to allow one to use any library to validate its structs (8ebd755)
- gen: return shallow copy at the end of Build function (just like Copy) (a7c8050)
- handle remote git structs for builder generation (19ff472)
- handle tild go files path (to use with go/pkg) (6ebf990)
- import project from gitlab (0d432f9)
Bug Fixes
- bad slices import (296233b)
- ci: bad codecov configuration (2a4d14b)
- ci: bad coverage exclusions for codecov (d663392)
- ci: codecov config in subdir really doesn't work (2bd8eeb)
- ci: codecov in subdir .... (635e25d)
- ci: handle correctly dependabot codecov ignore (057df1c)
- deps: missing sprig dependency (3fdceb6)
- handle go files at root go.mod (0d11e09)
- handle keywords in SetXXX functions parameter name (59d8e76)
- imports: aliased imports not taken into account (8e19bd9)
- linting issues (e7e6130)
Documentation
- readme: update sections with just CC of binary commands (a894eb0)
- update indents on README (517b238)
- update README indents (75c8c5b)
Chores
- ci: add strategy execution for tests (20e53ef)
- ci: regenerate files (4a72690)
- ci: regenerate layout (0394d4a)
- ci: remove build/ci directory (9009ebf)
- ci: tune codecov configuration (e8db7ce)
- deps: add dependabot (12748cf)
- deps: update dependencies (ba16c36)
- deps: update dependencies (1a76018)
- examples: add remote builder generation example (db519d7)
- layout: regenerate project layout with craft (b28ce0c)
- testing: use latest version of filesystem to automatically ignore windows / linux diffs (543617c)