Jina Versions Save

☁️ Build multimodal AI applications with cloud-native stack

v3.25.1

3 weeks ago

Release Note (3.25.1)

Release time: 2024-04-10 14:39:02

This release contains 1 bug fix.

🐞 Bug Fixes

Fix input schema with --provider Azure (#6163)

When using --provider Azure, there was an error when using the input schema of an incorrect endpoint.

We would like to thank all contributors to this release:

  • Joan Fontanals (@JoanFM)

v3.25.0

1 month ago

Release Note (3.25.0)

Release time: 2024-04-02 13:02:31

This release contains 1 new feature.

🆕 Features

Executor to run in a Microsoft Azure custom container (#6159)

Executors can now run as a FastAPI app in a Microsoft Azure container when being served with AZURE as the provider argument.

🤟 Contributors

We would like to thank all contributors to this release:

  • Zac Li (@zac-li )

v3.24.1

1 month ago

Release Note (3.24.1)

Release time: 2024-03-20 09:35:52

This release contains 3 bug fixes.

🐞 Bug Fixes

Fix Flow deployment of Model with float field (#6155)

When serving a Flow with HTTP, serving failed because the model reconstructed in the Gateway interpreted the float field as an array. Now the model served in the Gateway uses the correct schema.

Expose only /invocations endpoint when serving with --provider SAGEMAKER (#6152)

When exposing an Executor with SAGEMAKER as the provider argument, only the /invocations endpoint should be used. However, previously all other endpoints were also exposed. This is now fixed.

Optional parameters when typed parameter has all default fields (#6152)

When using a strongly typed parameters argument with the Executor endpoint, even if the parameters model type had all fields with default values and not required, you still needed to pass an empty parameters={} field to the call when serving via HTTP. With this change, you no longer need to pass this empty dictionary.

🤟 Contributors

We would like to thank all contributors to this release:

  • Joan Fontanals (@JoanFM)

v3.24.0

1 month ago

Release Note (3.24.0)

Release time: 2024-03-11 09:48:35

This release contains 1 new feature.

🆕 Features

Support provider endpoint in Jina Executor (#6149)

This release adds the --provider-endpoint flag, which can only be used in conjunction with the --provider flag. The --provider-endpoint flag takes as a parameter a named endpoint supported in the Executor and sets the endpoint of the provider to map to that Executor endpoint.

At present, SageMaker is the only available provider option, so using the parameters --provider SAGEMAKER --provider-endpoint <named endpoint> will make the SageMaker invocations endpoint map to the named endpoint of the Executor.

🤟 Contributors

We would like to thank all contributors to this release:

  • Zac Li (@zac-li )

v3.23.5

2 months ago

Release Note (3.23.5)

Release time: 2024-02-29 14:36:02

This release contains 1 bug fix.

🐞 Bug Fixes

Fix batch transform endpoint for SageMaker with nested schemas (#6145)

This release improves the SageMaker Batch Transform input data parsing logic so that data with more complex schema can be interpreted as expected.

🤟 Contributors

We would like to thank all contributors to this release:

  • Zac Li (@zac-li )

v3.23.4

2 months ago

Release Note (3.23.4)

Release time: 2024-02-27 09:36:35

This release contains 1 bug fix.

🐞 Bug Fixes

In prior releases, to assess Flow connectivity Jina automatically bound an Executor to a _dry_run_ endpoint via an object method. This release changes that to a class-unbound method, thus avoiding a cyclic reference in the inner requests object of the Executor.

🤟 Contributors

We would like to thank all contributors to this release:

  • Joan Fontanals (@JoanFM)

v3.23.3

2 months ago

Release Note (3.23.3)

Release time: 2024-02-16 10:56:19

This release contains 1 bug fix and 1 documentation improvement.

🐞 Bug Fixes

Fix dynamic creation of schema with nested DocLists in Gateway (#6138)

Previously, nested document types with multiple DocList levels of nesting sometimes led to the schema exposed by the Gateway being incomplete because some references were lost.

Now schemas like this exposed through Flow work as expected:

class QuoteFile(BaseDoc):
    quote_file_id: int
    texts: DocList[TextDoc]
    images: DocList[ImageDoc]

class SearchResult(BaseDoc):
    results: DocList[QuoteFile]

📗 Documentation Improvements

  • Fix topology documentation (#6134)

🤟 Contributors

  • Joan Fontanals (@JoanFM )

v3.23.2

4 months ago

Release Note (3.23.2)

Release time: 2023-12-14 15:28:24

This release contains 1 dependency update and 2 bug fixes.

⚙ Dependency update

Update GRPC version requirements (#6110)

The grpc version requirements have been updated to allow grpcio<=1.57.0.

🐞 Bug Fixes

Better handling of Exceptions in dynamic batching (#6128)

An issue was identified when a dynamic batch raises an Exception that could affect some unrelated requests.

Load-balancing streaming based on response type (#6122)

When using Deployment locally with multiple replicas, a load-balancing process is added in front of the replicas. The load balancer assumed all GET requests to be streaming, but this may not be true for user-added FastAPI endpoints. We have fixed this assumption and now use the response type to determine if a request is streaming.

🤟 Contributors

We would like to thank all contributors to this release:

  • Narek Amirbekian (@NarekA )
  • Joan Fontanals (@JoanFM )

v3.23.1

5 months ago

Release Note (3.23.1)

Release time: 2023-12-01 09:24:22

This release contains 1 bug fix.

🐞 Bug Fixes

Fix dependency on OpenTelemetry Exporter Prometheus (#6118)

We fixed the dependency version with opentelemetry-exporter-prometheus to avoid using deprecated versions.

🤟 Contributors

We would like to thank all contributors to this release:

  • Joan Fontanals (@JoanFM)

v3.23.0

5 months ago

Release Note (3.23.0)

Release time: 2023-11-20 10:02:37

This release contains 1 new feature and 1 bug fix.

🆕 Features

Call extend rest interface in worker (#6108)

When running a Deployment with HTTP locally without docker you can now extend the API by using extend_rest_interface, the same as with Flow.

    import jina
    from jina import Deployment
    def extend_rest_function(app):
        @app.get('/hello', tags=['My Extended APIs'])
        async def foo():
            return {'msg': 'hello world'}

        return app

    jina.helper.extend_rest_interface = extend_rest_function
    d = Deployment(protocol='http', port=8080)

    with d:
        response = requests.get(f'http://localhost:8080/hello')
        assert response.status_code == 200
        assert response.json() == {'msg': 'hello world'}

🐞 Bug Fixes

Read CSV with escaped chars (#6102)

There was an issue when using Jina to do batch transformations on SageMaker. Parsing texts with escape characters was not working properly.

🤟 Contributors

We would like to thank all contributors to this release:

  • Joan Fontanals Martinez (@JoanFM )
  • Deepankar Mahapatro (@deepankarm )