Releases: strider2038/digen
Releases · strider2038/digen
Release list
v0.4.0
What's Changed
new feature: outer factories
- now DI factories can be described outside of internal package of DI containers
- options for service definitions now can be descibed by comments
- breaking change
lookuppackage now generated in root of DI work dir (outside ofinternalpackage) - this is required to use outer factories
Full Changelog: v0.3.1...v0.4.0
v0.3.1
What's Changed
- small bug fixes by @strider2038 in #10
- fix version prefix when go install used
- fix factory generation error when file already exist
Full Changelog: v0.3.0...v0.3.1
v0.3.0
What's Changed
- handling service initialization errors by factories (method
SetErrormarked as deprecated) - error handling options in config are rearranged to fine tune error code generation BC break
externaloption is removed for service definitions BC break- service ids now generated as constants to reduce merge conflicts
- new option
factories.returnErroris presented in config to fine tune factories generation process - bugfix: now service is marked as initialize only when factory returns no error
Full Changelog: v0.2.1...v0.3.0
v0.2.1
What's Changed
- fix: hide timestamp when binary is build by go install
- fix: incorrect bitmap size
- fix: rename
errorHandling.functionoption toerrorHandling.wrapFunction
Full Changelog: v0.2.0...v0.2.1
v0.2.0
What's Changed
- breaking change new config structure
- update generation engine to use github.com/dave/jennifer package
- support for slices and maps
- safe service initialization (using init state)
- handling panics in public getters
- appending factory functions into existing files
- checking config compatibility across application versions
- error handling options in config
- various small bug fixes
Full Changelog: v0.1.1...v0.2.0
v0.1.1
v0.1.0
What's Changed
- structure reworked (breaks backwards compatibility)
- generate readme file for container package
- better README file
Full Changelog: v0.0.4...v0.1.0