Nameko v2.4.0 Release Notes
-
๐ Released 2016-08-30
- โ Add dictionary access to
standalone.rpc.ClusterProxy
to allow the proxy to call services whose name is not a legal identifier in python (e.g. name has a-
in it). - โ Add the ability to specify a custom
ServiceContainer
class via config key. Deprecate the keyword arguments toServiceRunner
andrun_services
for the same purpose. - ๐ Deprecate the keyword arguments to
run_services
,ServiceContainer
andServiceRunner.add_service
for specifying a customWorkerContext
class. CustomWorkerContext
classes can now only be specified with a customServiceContainer
class that defines theworker_ctx_cls
attribute. - โ Remove the
context_keys
attribute of theWorkerContext
, which was previously used to "whitelist" worker context data passed from call to call. It was a feature that leaked from a specific implementation into the main framework, and not useful enough in its own right to continue to be supported. - ๐จ Refactor
ServiceContainer
internals for better separation between "managed" and "worker" threads. Improved logging when threads are killed.
- โ Add dictionary access to