v2.1.0 - 2023-04-30
- Added
State.Errors
. #20
v2.0.1 - 2022-10-10
- Added
ContextWithHealth
andHealthFromContext
. #18
- Fixed wait group race condition. #17
v2.0.0 - 2021-05-31
- The
Finalize
methods on process instances are now invoked when defined. #5 - Added
WithInjecter
andWithHealth
. #14, #16 - Added
Logger
interface,LogFields
type, andNilLogger
variable, andWithMetaLogger
method. #15, #16
- Added context parameters to
Init
,Start
,Stop
, andFinalize
methods. #5 - Removed config parameters from
Init
methods. #7 - The
Init
methods of initializers and processors registered at the same priority initializer or process priority are now called concurrently. #9 - Initializers are now invoked before the processes of the same priority, but after the processes of the previous priority. #16
- Renamed
Process
toRunner
and itsStart
method toRun
. #16 - Extracted the
Stop
method from theRunner
into aStopper
interface. #16 - The
Runner
interface was replaced with aRun
function returning aState
value that abstracts application shutdown. #16 - The
ProcessContainer
,ProcessMeta
, andInitializerMeta
interfaces were replaced withContainer
,ContainerBuilder
, andMeta
structs. This localizes the differences between a process and an interface to registration (and not execution). #16 - The
Health
interface was replaced withHealth
andHealthComponentStatus
structs. #16 - Renamed
With{Initializer,Process}{Option}
toWithMeta{Option}
,WithProcessLogFields
toWithMetadata
,InjectHook
toInjecter
, andWithSilentExit
toWithEarlyExit
. #16
- Removed
ParallelInitializer
. #9 - Removed mocks package. #11
- Removed dependency on go-nacelle/service. #14
- Removed dependency on go-nacelle/log. #15
- Removed now irrelevant options
WithStartTimeout
,WithHealthCheckInterval
, andWithShutdownTimeout
. #16
v1.1.0 - 2020-10-03
- Added
WithInitializerLogFields
andWithProcessLogFields
. #2 - go-nacelle/[email protected] -> go-nacelle/[email protected]
- go-nacelle/[email protected] -> go-nacelle/[email protected]
- go-nacelle/[email protected] -> go-nacelle/[email protected]
- Added overlay container. #1
- Removed dependency on efritz/backoff. bd4092d
- Removed dependency on efritz/watchdog. 4121898
- Removed dependency on aphistic/sweet by rewriting tests to use testify. #3
- go-nacelle/[email protected] -> go-nacelle/[email protected]
- Removed dependency on aphistic/sweet by rewriting tests to use testify. #5
- go-nacelle/[email protected] -> go-nacelle/[email protected]
- Removed dependency on aphistic/sweet by rewriting tests to use testify. #3
- Removed dependency on aphistic/gomol by rewriting base logger internally. 4e537aa
- go-nacelle/[email protected] -> go-nacelle/[email protected]
- Removed dependency on aphistic/sweet by rewriting tests to use testify. #2
- go-nacelle/[email protected] -> go-nacelle/[email protected]
- Changed log field blacklist from a comma-separated list to a json-encoded array. 96b9d53
v1.0.1 - 2019-06-07
- Added
HasReason
toHealth
. #1
v1.0.0 - 2019-06-17
- Migrated from efritz/nacelle.