Stein Series Release Notes¶
1.37.0¶
New Features¶
Add support for profiling (capture function calltrace) service’s worker processes.
1.35.0¶
New Features¶
The ThreadGroup class has new add_timer_args() and add_dynamic_timer_args() methods to create timers passing the positional and keyword arguments to the callback as a sequence and a mapping. This API provides more flexibility for the addition of timer control options in the future.
The ThreadGroup add_timer_args() and add_dynamic_timer_args() methods now support passing a stop_on_exception=False argument to allow the timer to keep running even when an exception is raised by the callback function.
Deprecation Notes¶
The
ThreadGroup.cancel()
method is deprecated and will be removed in a future major release.
The API of the ThreadGroup add_timer() and add_dynamic_timer() methods has been identified as error-prone when passing arguments intended for the callback function. Passing callback arguments in this way is now deprecated. Callers should use the new add_timer_args() or add_dynamic_timer_args() methods (respectively) instead when it is necessary to pass arguments to the timer callback function.