Releases: kalaspuff/tomodachi
Releases · kalaspuff/tomodachi
0.20.7
0.20.6
0.20.5
0.20.4
0.20.3
- Corrects an issue with having multiple invoker decorators to the same service function / task.
- Fixed the
http.client_max_size
option, which invalidly always defaulted to(1024 ** 2) * 100
(100MB
), even though specified to another value. - Fixes backward compatibility with
aiohttp
3.5.x.
0.20.2
0.20.1
0.20.0
- Lazy loading of dependencies to lower memory footprint and to make services launch quicker as they usually don't use all built-in implementations. Reference services launch noticeable faster now.
- Optimizations and refactoring of middleware for all service function calls of all built-in invokers, saving somewhere around 10-20% on CPU time in average.
- New option:
http.max_keepalive_requests
. An optional number (int) of requests which is allowed for a keep-alive connection. After the specified number of requests has been done, the connection will be closed. A value of0
orNone
(default) will allow any number of requests over an open keep-alive connection. - New option:
http.max_keepalive_time
. An optional maximum time in seconds (int) for which keep-alive connections are kept open. If a keep-alive connection has been kept open for more thanhttp.max_keepalive_time
seconds, the following request will be closed upon returning a response. The feature is not used by default and won't be used if the value is0
orNone
. A keep-alive connection may otherwise be open unless inactive for more than the keep-alive timeout. - Improved type hint annotations for invoker decorators.
- Preparations to be able to loosen dependencies and in the future make the related packages into optional extras instead.
- Printed hints (in development) on missing packages that haven't been installed or couldn't be imported and in turn causing fatal errors.
0.19.2
0.19.1
- Documentation related updates. External documentation is available at https://tomodachi.dev/docs.