Releases: NVIDIA/gontainer
Release of v2.0.0
🎉 We are happy to announce gontainer v2! 🎉
This new major release is all about maximum simplicity. We’ve stripped away everything unnecessary to deliver the cleanest API — giving you a library that is both extremely simple to use and powerful in practice.
Feel free to explore the brand new README to get started.
What's Changed
- V2 devel: use concrete types instead of interfaces by @pavelpatrin in #63
- V2 devel: remove the built-in events broker feature by @pavelpatrin in #64
- V2 devel: rid of service functions support by @pavelpatrin in #65
- V2 devel: support for the container root context by @pavelpatrin in #66
- V2 devel: readme actualization by @pavelpatrin in #67
- V2 devel: rid of the container services API by @pavelpatrin in #68
- V2 devel: simplification of the resolver and invoker methods by @pavelpatrin in #69
- V2 devel: stricter factory interface by @pavelpatrin in #70
- V2 devel: pass context to factories by @pavelpatrin in #71
- V2 devel: simplified module interface by @pavelpatrin in #75
- V2 devel: remove factory metadata support by @pavelpatrin in #76
- V2 devel: switch to container options from the factory type by @pavelpatrin in #77
- V2 devel: errors refactor by @pavelpatrin in #78
- V2 devel: support for invocable factories by @pavelpatrin in #73
- V2 devel: explicit API for closing of factories by @pavelpatrin in #79
- V2 devel: readme improvement by @pavelpatrin in #80
- V2 devel: switch to the new module by @pavelpatrin in #81
- V2 devel: entrypoints terminology instead of functions by @pavelpatrin in #83
- V2 devel: options interface improvement by @pavelpatrin in #85
- V2 devel: invoker improvements by @pavelpatrin in #86
- Gontainer V2 release by @pavelpatrin in #82
Full Changelog: v1.14.1...v2.0.0
v1.14.1
What's Changed
- Fix of locking on concurrent factory spawn by @pavelpatrin in #72
Full Changelog: v1.14.0...v1.14.1
v1.14.0
What's Changed
- Complete webapp example by @pavelpatrin in #55
- Improvement of factory function documentation and refinement by @pavelpatrin in #56
- Internal names refinement by @pavelpatrin in #60
- Support for concurrent spawn of services from multiple goroutines by @pavelpatrin in #59
- Support for function-based services by @pavelpatrin in #58
Full Changelog: v1.13.1...v1.14.0
v1.13.1
What's Changed
- Documentation and examples improvement by @pavelpatrin in #53
Full Changelog: v1.13.0...v1.13.1
v1.13.0
What's Changed
- Improvement and refactoring of service functions by @pavelpatrin in #52
Full Changelog: v1.12.2...v1.13.0
v1.12.2
What's Changed
- Fix of panic on invalid factory function signature reaction. by @pavelpatrin in #50
Full Changelog: v1.12.1...v1.12.2
v1.12.1
What's Changed
- Complete factories validation by @pavelpatrin in #45
- Proposal of Multiple[T] type to get multiple implementers by @pavelpatrin in #47
- Several new error types which could be used with
errors.Is().
Full Changelog: v1.11.2...v1.12.1
v1.11.2
What's Changed
- Refactoring of the registry and error variables by @pavelpatrin in #41
Defined errors
ErrFactoryReturnedErrorwhen the factory function returns an error on invocation.ErrServiceNotResolvedwhen resolve of a service failed in case of not registered type.ErrHandlerArgTypeMismatchwhen the event handler has inconsistent arguments with an event.ErrStackLimitReachedwhen the service container faces infinite recursion.
Full Changelog: v1.10.1...v1.11.2
v1.10.1
What's Changed
- Typed signatures for event handlers by @pavelpatrin in #37
- Update README.md by @pavelpatrin in #36
Full Changelog: v1.9.1...v1.10.1
Typed Event Handlers
Please check this docs: https://github.com/NVIDIA/gontainer?tab=readme-ov-file#events-broker.
Please check the tests: https://github.com/NVIDIA/gontainer/blob/main/events_test.go#L9.
v1.9.0
What's Changed
- Implement function invoker service by @pavelpatrin in #31
- Readme update by @pavelpatrin in #32
Full Changelog: v1.8.0...v1.9.0