Skip to content

Releases: strider2038/digen

v0.4.0

Choose a tag to compare

@strider2038 strider2038 released this 20 Mar 15:50
4ffe784

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 lookup package now generated in root of DI work dir (outside of internal package) - this is required to use outer factories

Full Changelog: v0.3.1...v0.4.0

v0.3.1

Choose a tag to compare

@strider2038 strider2038 released this 17 Mar 16:37
d66776e

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

Choose a tag to compare

@strider2038 strider2038 released this 08 Dec 16:37
5d7b74f

What's Changed

  • handling service initialization errors by factories (method SetError marked as deprecated)
  • error handling options in config are rearranged to fine tune error code generation BC break
  • external option is removed for service definitions BC break
  • service ids now generated as constants to reduce merge conflicts
  • new option factories.returnError is 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

Choose a tag to compare

@strider2038 strider2038 released this 26 Nov 17:04
464d980

What's Changed

  • fix: hide timestamp when binary is build by go install
  • fix: incorrect bitmap size
  • fix: rename errorHandling.function option to errorHandling.wrapFunction

Full Changelog: v0.2.0...v0.2.1

v0.2.0

Choose a tag to compare

@strider2038 strider2038 released this 24 Nov 17:33
44eb3f4

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

Choose a tag to compare

@strider2038 strider2038 released this 07 May 20:15
04b1f96

What's Changed

Full Changelog: v0.1.0...v0.1.1

v0.1.0

Choose a tag to compare

@strider2038 strider2038 released this 21 Oct 19:51

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

v0.0.4

Choose a tag to compare

@strider2038 strider2038 released this 06 Feb 10:45
c8f80e3

What's Changed

New Contributors

Full Changelog: v0.0.3...v0.0.4

v0.0.3

Choose a tag to compare

@strider2038 strider2038 released this 18 Oct 18:26
  • config file updated:
    • option di.config_file to set container file name
    • option di.dir to set path to di package
  • fixes #1 Errors are handled incorrectly
  • fixes #2 Create is retried multiply times even on first error

v0.0.2

Choose a tag to compare

@strider2038 strider2038 released this 16 Sep 16:06

hotfix in parsing