Skip to content

Releases: i-love-flamingo/dingo

v0.2.10

04 Nov 09:28
Compare
Choose a tag to compare

Version v0.2.10 (2022-11-04)

Fixes

  • deps: update module github.com/stretchr/testify to v1.7.1 (75d2132)

Ops and CI/CD

  • adjust gloangci-lint config for github actions (72b6052)
  • make "new-from-rev" work for golangci-lint (76e21ab)
  • remove unnecessary static checks (now handled by golangci-lint) (2683828)
  • introduce golangci-lint (213edd3)
  • github: update CI pipeline (f8a4619)
  • semanticore: change default branch (263538d)
  • semanticore: add semanticore (10133af)
  • switch to GitHub Actions, bump go versions and deps (#24) (6df0d34)

Chores and tidying

  • deps: update irongut/codecoveragesummary action to v1.3.0 (#46) (7aae236)
  • deps: update module github.com/stretchr/testify to v1.8.1 (#49) (00c4e9e)
  • bump to go1.18 (a3c98a7)
  • bump to go1.18 (aae7696)
  • deps: update module github.com/stretchr/testify to v1.8.0 (#44) (b5fdfaa)
  • renovate: use chore commit message (c4ee666)
  • deps: update actions/setup-go action to v3 (47d41e9)
  • deps: update actions/checkout action to v3 (4a2de87)
  • deps: add renovate.json (6a6974a)
  • update readme (b6cd3f7)

Other

  • Add Testcase and handle pointer to interfaces in a guard clause (339d558)
  • [#7]: failing on usage of struct receiver in 'Inject' method (bea6ce0)
  • remove unnecessary continue in dingo.go (a85f833)
  • require go 1.13 (76908a0)

What's Changed

  • require go 1.13 by @bastianccm in #21
  • ci: switch to GitHub Actions, bump go versions and deps by @carstendietrich in #24
  • remove unnecessary continue in dingo.go by @eastfisher in #25
  • ci(semanticore): add semanticore by @bastianccm in #35
  • ci(semanticore): change default branch by @bastianccm in #36
  • ci(github): update CI pipeline by @bastianccm in #39
  • Configure Renovate by @renovate in #38
  • chore(deps): update actions/checkout action to v3 by @renovate in #41
  • fix(deps): update module github.com/stretchr/testify to v1.7.1 by @renovate in #40
  • chore(deps): update actions/setup-go action to v3 by @renovate in #43
  • chore(deps): update module github.com/stretchr/testify to v1.8.0 by @renovate in #44
  • chore: bump to go1.18 by @tessig in #47
  • ci: introduce golangci-lint by @tessig in #48
  • chore(deps): update module github.com/stretchr/testify to v1.8.1 by @renovate in #49
  • chore(deps): update irongut/codecoveragesummary action to v1.3.0 by @renovate in #46
  • 7 invalid inject by @tristanessquare in #52
  • Add Testcase and handle pointer to interfaces in a guard clause by @danielpoe in #50
  • Release v0.2.10 by @github-actions in #37

New Contributors

Full Changelog: v0.2.9...v0.2.10

v0.2.9

11 Feb 14:46
Compare
Choose a tag to compare
change license to MIT

v0.2.8

25 Feb 12:11
Compare
Choose a tag to compare

ModuleFunc

v0.2.0

16 Dec 09:42
Compare
Choose a tag to compare

Changes:
Dingo does not parse command line flags anymore, instead one has to set EnableCircularTracing.
Dingo now has errors in NewInjector, Child, GetInstance, GetAnnotatedInstance and RequestInjection.
Also the error handling has been revisited, to be more precise and clear in error situations.
panic() only happens in case of Bind(nil) and if providers don't accept errors.
Providers can now be of type somethingProvider() Something or somethingProvider() (Something, error), second case doesn't panic, but returns an error if resolving/providing fails.

Fix circular tracing for Providers

17 Apr 16:12
3d16a95
Compare
Choose a tag to compare
v0.1.5

do not trace circular dependencies with Providers (#9)

Example and proper go.mod

13 Mar 12:42
Compare
Choose a tag to compare
v0.1.4

add go.mod and example

Use sync.Map for singleton instances

06 Nov 17:49
Compare
Choose a tag to compare

Instead of managing multiple maps, the singleton's instances should be stored in a sync.Map to avoid races when reading/writing different singleton types at the same time.

Bugfix: singleton data race

06 Nov 17:01
Compare
Choose a tag to compare
Pre-release

Fixes a data race for singleton scoped instances

Initial Release

29 Oct 09:33
Compare
Choose a tag to compare
Initial Release Pre-release
Pre-release

Initial Release of Dingo