chore(release): bump version to 7.1.0 and refuse a remote session create that sends cdm_relay

This commit is contained in:
imSp4rky
2026-12-05 11:04:10 -07:00
parent 9de59f3142
commit 0d9050e68e
8 changed files with 244 additions and 15 deletions
@@ -3353,7 +3353,7 @@
"session create no session id": {
"body": {
"error_code": "CLIENT_OUTDATED",
"message": "This client is older than the server accepts: update unshackle to the current dev build (ref REF)",
"message": "This client is older than the server accepts: update unshackle to the latest dev build (ref REF)",
"ref": "REF",
"status": "error",
"timestamp": "TIMESTAMP"
@@ -3361,12 +3361,12 @@
"content_type": "application/json",
"leading_newlines": false,
"log": [
"Error ref REF: CLIENT_OUTDATED 426 POST /api/session/create service=EXAMPLE user=test\u2026: This client is older than the server accepts: update unshackle to the current dev build"
"Error ref REF: CLIENT_OUTDATED 426 POST /api/session/create service=EXAMPLE user=test\u2026: This client is older than the server accepts: update unshackle to the latest dev build"
],
"stats": {
"error": {
"code": "CLIENT_OUTDATED",
"message": "This client is older than the server accepts: update unshackle to the current dev build",
"message": "This client is older than the server accepts: update unshackle to the latest dev build",
"ref": "REF"
},
"late_status": null
@@ -3615,7 +3615,7 @@
"titles no channel": {
"body": {
"error_code": "CLIENT_OUTDATED",
"message": "This client is older than the server accepts: update unshackle to the current dev build (ref REF)",
"message": "This client is older than the server accepts: update unshackle to the latest dev build (ref REF)",
"ref": "REF",
"status": "error",
"timestamp": "TIMESTAMP"
@@ -3623,12 +3623,12 @@
"content_type": "application/json",
"leading_newlines": false,
"log": [
"Error ref REF: CLIENT_OUTDATED 426 GET /api/session/pinned-session/titles service=EXAMPLE user=test\u2026: This client is older than the server accepts: update unshackle to the current dev build"
"Error ref REF: CLIENT_OUTDATED 426 GET /api/session/pinned-session/titles service=EXAMPLE user=test\u2026: This client is older than the server accepts: update unshackle to the latest dev build"
],
"stats": {
"error": {
"code": "CLIENT_OUTDATED",
"message": "This client is older than the server accepts: update unshackle to the current dev build",
"message": "This client is older than the server accepts: update unshackle to the latest dev build",
"ref": "REF"
},
"late_status": null
@@ -562,6 +562,9 @@ def test_the_server_takes_the_id_that_the_client_names() -> None:
with pytest.raises(APIError) as e:
handlers.new_session_id({})
assert e.value.error_code == APIErrorCode.CLIENT_OUTDATED
with pytest.raises(APIError) as e:
handlers.new_session_id({"session_id": named, "cdm_relay": True})
assert e.value.error_code == APIErrorCode.CLIENT_OUTDATED
def test_a_create_that_times_out_is_deleted(build: SimpleNamespace) -> None: