Update ghcr.io/element-hq/lk-jwt-service Docker tag to v0.4.0 #230

Merged
renovate-bot merged 0 commits from refs/pull/230/head into master 2025-12-17 07:53:05 +00:00
renovate-bot commented 2025-12-17 00:01:38 +00:00 (Migrated from gitea.smittenfeld.nl)

This PR contains the following updates:

Package Update Change
ghcr.io/element-hq/lk-jwt-service minor 0.3.0 -> 0.4.0

Release Notes

element-hq/lk-jwt-service (ghcr.io/element-hq/lk-jwt-service)

v0.4.0

Compare Source

🚀 Towards Matrix 2.0 – MatrixRTC-Authorisation Service

This release brings major foundational work towards MSC4195: MatrixRTC Transport, introduces the new /get_token endpoint, improves validation and error-handling, and enhances deployment flexibility with improved bind controls.

What's New

Implementation of MSC4195: MatrixRTC Transport using LiveKit Backend

This release introduces the new MSC4195-compliant request flow and /get_token endpoint, while keeping /get/sfu available for a transition period.

Key changes:

  • Added unified error handling via writeMatrixError.
  • Introduced new Matrix 2.0 SFURequest type, alongside LegacySFURequest.
  • Refactored internal functions for better testability and structure.
  • Added extensive new tests across request mapping, processing, and JSON handling.
  • Updated logging, error codes, and user-identity checks.
🔌 Allow Binding of Arbitrary Addresses

This release improves deployment flexibility by allowing the service to bind to any or a specific address.

Features & Fixes
  • feat: Introduced support for binding to arbitrary addresses.
    Contributed by @​matdup
  • fix: Documentation updated for environment variable changes.
  • feat: Reintroduced LIVEKIT_JWT_PORT for backward compatibility.
    • Now mutually exclusive with LIVEKIT_JWT_BIND.
    • Emits a warning when used.
  • feat: Enforced mutual exclusivity between LIVEKIT_JWT_BIND and LIVEKIT_JWT_PORT.

⚙️ Configuration

Environment Variables
Variable Description
LIVEKIT_JWT_BIND Binds the service to a specific host:port (new preferred method). Defaults to :8080
LIVEKIT_JWT_PORT Deprecated but still supported. Mutually exclusive with LIVEKIT_JWT_BIND.
Endpoint Changes
Endpoint Status Notes
/get_token New (Primary) Conforms to MSC4195.
/get/sfu Legacy (Transitional) Auto-maps request types; will be removed in a future release.

🤝 Client Compatibility

  • Legacy MatrixRTC clients continue functioning via /sfu/get.
  • MSC4195-aware clients should migrate to /get_token.
  • Both request formats remain supported during the transition.
  • Stricter validation may require client-side updates:
    • Correct request field shapes
    • Accurate user identity claims (claimed_user_id vs OpenID sub)

Docker image

The service is available as a Docker image from the GitHub Container Registry.

docker pull ghcr.io/element-hq/lk-jwt-service:0.4.0

Precompiled binaries

The service is available as static precompiled binaries for amd64 and arm64 on linux attached to this release below.

What's Changed

New Contributors

Full Changelog: https://github.com/element-hq/lk-jwt-service/compare/v0.3.0...v0.4.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/element-hq/lk-jwt-service](https://github.com/element-hq/lk-jwt-service) | minor | `0.3.0` -> `0.4.0` | --- ### Release Notes <details> <summary>element-hq/lk-jwt-service (ghcr.io/element-hq/lk-jwt-service)</summary> ### [`v0.4.0`](https://github.com/element-hq/lk-jwt-service/releases/tag/v0.4.0) [Compare Source](https://github.com/element-hq/lk-jwt-service/compare/v0.3.0...v0.4.0) ### 🚀 Towards Matrix 2.0 – MatrixRTC-Authorisation Service This release brings major foundational work towards **MSC4195: MatrixRTC Transport**, introduces the new `/get_token` endpoint, improves validation and error-handling, and enhances deployment flexibility with improved bind controls. #### ✨ What's New ##### **Implementation of MSC4195: MatrixRTC Transport using LiveKit Backend** This release introduces the new MSC4195-compliant request flow and `/get_token` endpoint, while keeping `/get/sfu` available for a transition period. Key changes: - Added unified error handling via `writeMatrixError`. - Introduced new Matrix 2.0 `SFURequest` type, alongside `LegacySFURequest`. - Refactored internal functions for better testability and structure. - Added extensive new tests across request mapping, processing, and JSON handling. - Updated logging, error codes, and user-identity checks. ##### **🔌 Allow Binding of Arbitrary Addresses** This release improves deployment flexibility by allowing the service to bind to any or a specific address. ##### Features & Fixes - **feat:** Introduced support for binding to arbitrary addresses.\ *Contributed by [@&#8203;matdup](https://github.com/matdup)* - **fix:** Documentation updated for environment variable changes. - **feat:** Reintroduced `LIVEKIT_JWT_PORT` for backward compatibility. - Now mutually exclusive with `LIVEKIT_JWT_BIND`. - Emits a warning when used. - **feat:** Enforced mutual exclusivity between `LIVEKIT_JWT_BIND` and `LIVEKIT_JWT_PORT`. #### ⚙️ Configuration ##### Environment Variables | Variable | Description | | ------------------ | ------------------------------------------------------------------------------------- | | `LIVEKIT_JWT_BIND` | Binds the service to a specific host:port (new preferred method). Defaults to `:8080` | | `LIVEKIT_JWT_PORT` | Deprecated but still supported. Mutually exclusive with `LIVEKIT_JWT_BIND`. | ##### Endpoint Changes | Endpoint | Status | Notes | | ------------ | ------------------------- | ------------------------------------------------------------- | | `/get_token` | **New (Primary)** | Conforms to MSC4195. | | `/get/sfu` | **Legacy (Transitional)** | Auto-maps request types; will be removed in a future release. | #### 🤝 Client Compatibility - Legacy MatrixRTC clients continue functioning via `/sfu/get`. - MSC4195-aware clients should migrate to **`/get_token`**. - Both request formats remain supported during the transition. - Stricter validation may require client-side updates: - Correct request field shapes - Accurate user identity claims (`claimed_user_id` vs OpenID `sub`) #### Docker image The service is available as a Docker image from the [GitHub Container Registry](https://github.com/element-hq/lk-jwt-service/pkgs/container/lk-jwt-service). ``` docker pull ghcr.io/element-hq/lk-jwt-service:0.4.0 ``` #### Precompiled binaries The service is available as static precompiled binaries for amd64 and arm64 on linux attached to this release below. #### What's Changed - ci: add static go releases for linux arm64 and amd64 by [@&#8203;csett86](https://github.com/csett86) in [#&#8203;111](https://github.com/element-hq/lk-jwt-service/pull/111) - fix(deps): update github.com/matrix-org/gomatrixserverlib digest to [`a234d6d`](https://github.com/element-hq/lk-jwt-service/commit/a234d6d) by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;113](https://github.com/element-hq/lk-jwt-service/pull/113) - chore(deps): update dependency go to v1.24.5 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;114](https://github.com/element-hq/lk-jwt-service/pull/114) - refactor README.md by [@&#8203;fkwp](https://github.com/fkwp) in [#&#8203;115](https://github.com/element-hq/lk-jwt-service/pull/115) - feat: allow binding of arbitrary addresses by [@&#8203;MatthieuCoder](https://github.com/MatthieuCoder) in [#&#8203;118](https://github.com/element-hq/lk-jwt-service/pull/118) - fix(deps): update github.com/matrix-org/gomatrixserverlib digest to [`6697d93`](https://github.com/element-hq/lk-jwt-service/commit/6697d93) by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;120](https://github.com/element-hq/lk-jwt-service/pull/120) - chore(deps): update dependency go to v1.25.3 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;121](https://github.com/element-hq/lk-jwt-service/pull/121) - Refactor config parsing by [@&#8203;fkwp](https://github.com/fkwp) in [#&#8203;125](https://github.com/element-hq/lk-jwt-service/pull/125) - fix(deps): update module github.com/golang-jwt/jwt/v5 to v5.3.0 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;127](https://github.com/element-hq/lk-jwt-service/pull/127) - chore(deps): update github actions by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;126](https://github.com/element-hq/lk-jwt-service/pull/126) - Implementation of MSC4195: MatrixRTC Transport using LiveKit Backend by [@&#8203;fkwp](https://github.com/fkwp) in [#&#8203;128](https://github.com/element-hq/lk-jwt-service/pull/128) - fix: add `expires_in` field to `OpenIDTokenType` by [@&#8203;fkwp](https://github.com/fkwp) in [#&#8203;130](https://github.com/element-hq/lk-jwt-service/pull/130) #### New Contributors - [@&#8203;csett86](https://github.com/csett86) made their first contribution in [#&#8203;111](https://github.com/element-hq/lk-jwt-service/pull/111) - [@&#8203;MatthieuCoder](https://github.com/MatthieuCoder) made their first contribution in [#&#8203;118](https://github.com/element-hq/lk-jwt-service/pull/118) **Full Changelog**: <https://github.com/element-hq/lk-jwt-service/compare/v0.3.0...v0.4.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4xMS4wIiwidXBkYXRlZEluVmVyIjoiNDIuMTEuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
peter/homelab-docker-config!230
No description provided.