1.8.12 (2025-01-13)
- deps: bump github.com/go-playground/validator/v10 (019a1ee)
1.8.11 (2025-01-12)
- deps: migrate dependency cli-sdk to compare (a07d910)
1.8.10 (2024-12-25)
- log: migrate to charmbracelet (c0e1745)
1.8.9 (2024-12-11)
- deps: upgrade various dependencies (08603dc)
1.8.8 (2024-12-08)
- deps: bump golang.org/x/tools in the minor-patch group (0d43edf)
1.8.7 (2024-11-25)
- deps: bump github.com/go-playground/validator/v10 (1f38e87)
- deps: bump github.com/stretchr/testify in the minor-patch group (2d5b37c)
- deps: bump the minor-patch group across 1 directory with 2 updates (7650d19)
1.8.6 (2024-10-05)
- deps: bump golang.org/x/tools in the minor-patch group (f10408b)
1.8.5 (2024-09-10)
- deps: bump golang.org/x/tools in the minor-patch group (0ec8dd3)
1.8.4 (2024-09-09)
- deps: bump github.com/go-playground/validator/v10 (19bfb8a)
1.8.3 (2024-09-06)
- deps: bump golang.org/x/mod in the minor-patch group (2bde82a)
1.8.2 (2024-08-30)
- deps: bump github.com/Masterminds/sprig/v3 (1c6fb38)
1.8.1 (2024-08-17)
- upgrade: add default installation destination path in help (eb47cf3)
1.8.0 (2024-08-17)
- upgrade: add new command for easier upgrade of go-builder-generator (438e8d0)
- generate: show help when flag is provided (e5bc4ff)
1.7.2 (2024-08-14)
- comments: add missing --package-name when given (3adc1a4)
- comments: correctly parse args with cobra and strengthen regexp search (471a3f6)
1.7.1 (2024-08-11)
- incomplete regular expression to check whether go:generate is present in input file (c9e6089)
1.7.0 (2024-08-11)
- provide filepath to where the structs comes from in generated files and don't add go:generate command when it already exists in input file - #30 (ebff42c)
1.6.3 (2024-08-09)
- deps: upgrade go toolchain to go1.22.6 (ebdd36d)
1.6.2 (2024-08-07)
- deps: bump golang.org/x/tools in the minor-patch group (9849ce6)
1.6.1 (2024-08-05)
- deps: bump golang.org/x/mod in the minor-patch group (715dcec)
1.6.0 (2024-07-20)
- generate: add --package-name CLI arg (c884191)
- generate: add top comment 'go:generate' in generated files to easily regenerate files alongside disabling option --no-cmd to remove this comment - #28 (cd6c56d)
- generate: set the right package name when generating in the same package but with a package name difference from directory name (8f10fdd)
1.5.2 (2024-07-16)
- deps: bump github.com/samber/lo (f96f627)
1.5.1 (2024-07-08)
- deps: bump golang.org/x/tools in the minor-patch group (ba3ba18)
1.5.0 (2024-07-05)
- remove dependency to filesystem and logrus (2f8d537)
1.4.2 (2024-07-01)
- deps: bump github.com/samber/lo in the minor-patch group (7571304)
1.4.1 (2024-06-28)
- deps: bump github.com/samber/lo in the minor-patch group (836804f)
1.4.0 (2024-06-16)
- deps: upgrade xstrings to v1.5.0 which changes ToCamelCase to respect what the function should initially do (495434d)
1.3.3 (2024-06-01)
- deps: upgrade filesystem and validator dependencies (91f0e40)
1.3.2 (2024-05-08)
- deps: bump golang.org/x/tools in the minor-patch group (ab743c1)
- deps: upgrade toolchain to go1.22.3 (51a1716)
1.3.1 (2024-05-01)
- deps: upgrade both filesystem and go-validator dependencies (b5e8374)
1.3.0 (2024-04-26)
- options: add export function to export specific field's builder function (only work in certain cases, please check README.md) (c39e935)
1.2.2 (2024-04-25)
- prefix not taken into account anymore in generation (827b842)
1.2.1 (2024-04-25)
- generic: add unary (~) implementation for generic builders (08baa16)
- generic: handle acronyms and lowercase generic names (a642ea0)
- readme: add some cases examples (37d1bd8)
1.2.0 (2024-04-24)
- add generic struct builders generation (db5a8f1)
1.1.2 (2024-04-23)
- struct: add tags to builders around anonymous struct (712a4d9)
1.1.1 (2024-04-23)
- error when using generic field (5b322a7)
1.1.0 (2024-04-22)
- force function name (cfbbda7)
- option to return a copy of the builder each time a setter function is called (273030a)
- deps: bump github.com/hashicorp/go-getter in the all group (1143c00)
- go: update go to 1.22.2 (3b79e8e)
- module: remove ~ and git:: in favor of module:: to handle current module imported modules types generations - #9 (9b49445)
1.0.2 (2024-04-06)
- 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)
- readme: remove code section language to avoid weird colors (9c05df7)
- golangci: remove govet deleted option (6c690b9)
1.0.1 (2024-03-19)
- generate: ensure Build function returns a copy of built type (4c29c0d)
- 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.
- 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)
- 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)
- readme: update sections with just CC of binary commands (a894eb0)
- update indents on README (517b238)
- update README indents (75c8c5b)
- 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)