chore: prepare v0.19.0-alpha release
This commit is contained in:
parent
ee3982e428
commit
0b2333d0ec
6 changed files with 9 additions and 9 deletions
|
|
@ -32,7 +32,7 @@ trusting an address supplied by the game client.
|
|||
"port": 7777,
|
||||
"current_players": 0,
|
||||
"max_players": 8,
|
||||
"game_version": "0.18.1-alpha",
|
||||
"game_version": "0.19.0-alpha",
|
||||
"protocol_version": 11
|
||||
}
|
||||
```
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||
|
||||
[project]
|
||||
name = "straywild-discovery-server"
|
||||
version = "0.18.1-alpha"
|
||||
version = "0.19.0-alpha"
|
||||
description = "Ephemeral public-room directory for straywild"
|
||||
requires-python = ">=3.11"
|
||||
dependencies = []
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
"""straywild discovery service."""
|
||||
|
||||
__version__ = "0.18.1-alpha"
|
||||
__version__ = "0.19.0-alpha"
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ VALID_ROOM = {
|
|||
"port": 7777,
|
||||
"current_players": 1,
|
||||
"max_players": 8,
|
||||
"game_version": "0.18.1-alpha",
|
||||
"game_version": "0.19.0-alpha",
|
||||
"protocol_version": 11,
|
||||
}
|
||||
|
||||
|
|
@ -102,7 +102,7 @@ class DiscoveryHTTPTests(unittest.TestCase):
|
|||
assert updated is not None
|
||||
self.assertEqual(updated["error"]["code"], "game_version_mismatch")
|
||||
self.assertEqual(
|
||||
updated["error"]["required_game_version"], "0.18.1-alpha"
|
||||
updated["error"]["required_game_version"], "0.19.0-alpha"
|
||||
)
|
||||
|
||||
status, updated = self.request(
|
||||
|
|
@ -135,7 +135,7 @@ class DiscoveryHTTPTests(unittest.TestCase):
|
|||
error = body["error"]
|
||||
assert isinstance(error, dict)
|
||||
self.assertEqual(error["code"], "game_version_mismatch")
|
||||
self.assertEqual(error["required_game_version"], "0.18.1-alpha")
|
||||
self.assertEqual(error["required_game_version"], "0.19.0-alpha")
|
||||
self.assertIn("will not be listed", str(error["message"]))
|
||||
|
||||
def test_empty_dedicated_room_can_be_listed(self) -> None:
|
||||
|
|
@ -201,7 +201,7 @@ class DiscoveryHTTPTests(unittest.TestCase):
|
|||
self.assertEqual(status, 200)
|
||||
assert body is not None
|
||||
self.assertEqual(body["status"], "ok")
|
||||
self.assertEqual(body["version"], "0.18.1-alpha")
|
||||
self.assertEqual(body["version"], "0.19.0-alpha")
|
||||
self.assertEqual(body["build_revision"], "test-build")
|
||||
|
||||
def test_live_friend_presence_and_invitation_endpoints(self) -> None:
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ VALID_ROOM = {
|
|||
"port": 7777,
|
||||
"current_players": 1,
|
||||
"max_players": 8,
|
||||
"game_version": "0.18.1-alpha",
|
||||
"game_version": "0.19.0-alpha",
|
||||
"protocol_version": 11,
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ from straywild_discovery.social_registry import (
|
|||
)
|
||||
|
||||
|
||||
GAME_VERSION = "0.18.1-alpha"
|
||||
GAME_VERSION = "0.19.0-alpha"
|
||||
PROTOCOL_VERSION = 11
|
||||
VALID_ROOM = {
|
||||
"room_name": "Pond Friends",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue