Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release draft 3.16.1 #5893

Closed
JoanFM opened this issue May 23, 2023 · 2 comments
Closed

Release draft 3.16.1 #5893

JoanFM opened this issue May 23, 2023 · 2 comments

Comments

@JoanFM
Copy link
Member

JoanFM commented May 23, 2023

Release Note (3.16.1)

This patch contains 1 refactoring, 4 bug fixes and 2 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

Before:
image

After:

image

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:

image

New behavior:

image

📗 Documentation Improvements

🤟 Contributors

We would like to thank all contributors to this release:

@wqh17101
Copy link

Looking forward to it

@JoanFM
Copy link
Member Author

JoanFM commented May 23, 2023

Released @wqh17101 !

@JoanFM JoanFM closed this as completed May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants