Release Note (3.16.1
)
Release time: 2023-05-23 14:59:35
This patch contains 1 refactoring, 3 bug fixes and 3 documentation improvements.
⚙ Refactoring
Remove aiostream dependency (#5891)
Remove aiostream dependency which could be the root of improper licensing.
🐞 Bug Fixes
Fix usage of ports
and protocols
alias (#5885)
You can now use plural ports
and protocols
:
from jina import Flow
f = Flow(ports=[12345, 12346], protocols=['grpc', 'http']).add()
with f:
f.block()
Previously, the arguments would correctly be applied to the inner Deployments
.
Fix endpoint printing (#5884)
Fix endpoint printing when no ports are specified with multi-protocol Deployments:
from jina import Deployment, Executor, requests, Client
d = Deployment(protocols=['grpc', 'http'])
with d:
pass
After:
Fix docs and redocs links (#5883)
Fix the printed links to docs
and redocs
pages when HTTP
protocol is used in combination with other protocols.
from jina import Deployment, Executor, requests, Client
d = Deployment(protocol=['grpc', 'http'], port=[12345, 12346])
with d:
pass
Old behavior:
New behavior:
📗 Documentation Improvements
- Fix import in notebook causing a crash (#5888)
- Add docs for Jina Cloud logs (#5892)
- Fix YAML specs links (#5887)
🤟 Contributors
We would like to thank all contributors to this release:
- Joan Fontanals (@JoanFM)
- Han Xiao (@hanxiao )
- Alex Cureton-Griffiths (@alexcg1)
- Nikolas Pitsillos (@npitsillos )