Hypha

Latest version: v0.20.47.post1

Safety actively analyzes 696866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

0.20.19

- Support invoke token
- Add basic web ui for the workspace
- BREAKING Change: Change the signature, now you need to pass a dictionary as options for `get_service`, `get_service_info`, `register_service` etc.

0.20.15

- Add `revoke_token` to the workspace api.
- Simplify http endpoints to a fixed pattern such as "{workspace}/services/*" and "{workspace}/apps/*".
- To avoid naming convension, workspace names now must contain at least one hyphens, and only lowercase letters, numbers and hyphens are allowed.

0.20.14

- Make `get_service` more restricted to support only service id string, see [migration guide](./docs/migration-guide.md) for more details.
- Clean up http endpoints for the services.
- Remove local cache of the server apps, we now always use s3 as the primary storage.

0.20.12

- New Feature: In order to support large language models' function calling feature, hypha support built-in type annotation. With `hypha-rpc>=0.20.12`, we also support type annotation for the service functions in JSON Schema format. In Python, you can use `Pydantic` or simple python type hint, or directly write the json schema for Javascript service functions. This allows you to specify the inputs spec for functions.
- Add type support for the `hypha` module. It allows you to register a type in the workspace using `register_service_type`, `get_service_type`, `list_service_types`. When registering a new service, you can specify the type and enable type check for the service. The type check will be performed when calling the service function. The type check is only available in Python.
- Fix reconnecton issue in the client.
- Support case conversion, which allows converting the service functions to snake_case or camelCase in `get_service` (Python) or `getService` (JavaScript).
- **Breaking Changes**: In Python, all the function names uses snake case, and in JavaScript, all the function names uses camel case. For example, you should call `server.getService` instead of `server.get_service` in JavaScript, and `server.get_service` instead of `server.getService` in Python.
- **Breaking Changes**: The new version of Hypha (0.20.0+) improves the RPC connection to make it more stable and secure, most importantly it supports automatic reconnection when the connection is lost. This also means breaking changes to the previous version. In the new version you will need a new library called `hypha-rpc` (instead of the hypha submodule in the `imjoy-rpc` module) to connect to the server.

Page 3 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.