@@ -113,7 +113,7 @@ def __str__(self) -> str:
113113
114114 @property
115115 def code (self ) -> int :
116- warnings .warn ( # deprecated in 13.1
116+ warnings .warn ( # deprecated in 13.1 - 2024-09-21
117117 "ConnectionClosed.code is deprecated; "
118118 "use Protocol.close_code or ConnectionClosed.rcvd.code" ,
119119 DeprecationWarning ,
@@ -124,7 +124,7 @@ def code(self) -> int:
124124
125125 @property
126126 def reason (self ) -> str :
127- warnings .warn ( # deprecated in 13.1
127+ warnings .warn ( # deprecated in 13.1 - 2024-09-21
128128 "ConnectionClosed.reason is deprecated; "
129129 "use Protocol.close_reason or ConnectionClosed.rcvd.reason" ,
130130 DeprecationWarning ,
@@ -343,7 +343,7 @@ def __init__(
343343 if isinstance (size_or_message , str ):
344344 assert max_size is None
345345 assert cur_size is None
346- warnings .warn ( # deprecated in 14.0
346+ warnings .warn ( # deprecated in 14.0 - 2024-11-09
347347 "PayloadTooBig(message) is deprecated; "
348348 "change to PayloadTooBig(size, max_size)" ,
349349 DeprecationWarning ,
@@ -408,7 +408,7 @@ class ConcurrencyError(WebSocketException, RuntimeError):
408408lazy_import (
409409 globals (),
410410 deprecated_aliases = {
411- # deprecated in 14.0
411+ # deprecated in 14.0 - 2024-11-09
412412 "AbortHandshake" : ".legacy.exceptions" ,
413413 "InvalidMessage" : ".legacy.exceptions" ,
414414 "InvalidStatusCode" : ".legacy.exceptions" ,
0 commit comments