Samber Do Versions Save

⚙️ A dependency injection toolkit based on Go 1.18+ Generics.

v2.0.0-beta.7

2 weeks ago
  • Upgrade go-type-to-string (add support for arrays) - See #79
  • Fix error handling: add a TypeMismatch error when we invoke a service from an unexpected type - See #80

v2.0.0-beta.6

3 weeks ago
  • more tests
  • fix typo in doc
  • adding package abstraction (see doc)
  • fix memory leak for invocation stacktraces
  • shutdown services even if we detect a circular dependency
  • upgrade go-type-to-string (improved interface naming)
  • add support for multple hook handlers
  • add hook at runtime

v2.0.0-beta.5

3 months ago

v2.0.0-beta.4

3 months ago

See #45

v2.0.0-beta.3

4 months ago

See #45

v2.0.0-beta.2

5 months ago

v2.0.0-beta.1

5 months ago

See #45

v1.6.0

1 year ago

Adds injector.ShutdownOnSignals(...) helper that receives a custom list of signals to listen.

v1.5.1

1 year ago

Fix serviceLazy internal state on shutdown

v1.5.0

1 year ago

Chore:

  • Remove *_test.go files from releases, in order to clean up dev dependencies