Releases: MobileTeleSystems/horizon
Releases · MobileTeleSystems/horizon
1.1.3 (2025-10-29)
Dependency updates only.
1.1.2 (2025-04-07)
Improvements
- Reduce image size down to x3.
- Change docker image user from
roottohorizon, to improve security. - SBOM file is generated on release.
1.1.1 (2025-01-28)
Improvements
- Add compatibility with
Python 3.13(94) - Replace outdated
python-josedependency withauthlib.jose, to fix security issues. (97)
Note: preliminary release 1.1.0 was yanked from PyPI because it has wrong horizon.__version__ value.
The source code of 1.1.1 and dependencies are just the same as 1.1.0.
1.0.2 (2024-11-21)
Bug fixes
-
Previously client after receiving 4xx responses from the server, raised
requests.exceptions.HTTPErrorlike:>>> client.update_namespace_permissions(namespace_id=234, changes=to_update) Traceback (most recent call last): File "horizon/horizon/client/base.py", line 135, in _handle_response response.raise_for_status() File "horizon/.venv/lib/python3.12/site-packages/requests/models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://localhost:8000/v1/namespaces/234/permissions
Now it wraps all these exceptions with
horizon.commons.exceptionsclasses, like:>>> client.update_namespace_permissions(namespace_id=234, changes=to_update) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "horizon/horizon/client/sync.py", line 914, in update_namespace_permissions return self._request( # type: ignore[return-value] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "horizon/horizon/client/sync.py", line 1031, in _request return self._handle_response(response, response_class) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "horizon/horizon/client/base.py", line 170, in _handle_response raise get_exception() from http_exception horizon.commons.exceptions.entity.EntityNotFoundError: Namespace with id=234 not found
horizon.commons.exceptionsexception types were documented long time ago, so this is not a breaking change, but a bug fix.
1.0.1 (2024-06-27)
Dependencies
- Bump minimal
urllib3version to1.26.0, to avoid exceptions like:
ValidationError: 1 validation error for HorizonClientSync__root__
__init__() got an unexpected keyword argument 'allowed_methods' (type=type_error)
1.0.0 (2024-06-10)
First production-ready release!
Improvements
- Update dependencies
0.2.1 (2024-05-29)
Improvements
- Fix LDAP connection pool configuration example.
- Update uvicorn to 0.30.0, including new multiprocessing workers manager.
- Update dependencies.
0.2.0 (2024-05-15)
Breaking Changes
- Rename
/v1/namespace/:id/permissionsendpoint to/v1/namespaces/:id/permissions. (#61)
Features
- Allow using Horizon with multiple uvicorn workers (#60):
- Add
pidto log formatters - Add
PROMETHEUS_MULTIPROC_DIRtodocker-compose.ymlexample
- Add
Bug Fixes
- Use connection timeout while creating LDAP connections in the pool. (#58)
- Fix response schema for invalid JSON input.
0.1.3 (2024-05-02)
Improvements
- Properly handle
SIGTERMsignals in Docker image entrypoint. - Update dependencies
0.1.2 (2024-04-02)
Features
- Add new environment variable
HORIZON__ENTRYPOINT__ADMIN_USERSto Docker image entrypoint. Here you can pass of usernames which should be automatically promoted toSUPERADMINrole during backend startup. (#45)