e2eeftp Changelog
version: 0.0.0
type: stable
total changes: 15
-
Fixed
AttributeErrorinCommsubclasses by ensuring all instance attributes are assigned before calling the base class constructor. (tag: fix) -
Prevented state leakage between client sessions by moving
command_handlersandreqfrom class attributes to instance-specific attributes inE2EEFTPRequestHandler. (tag: fix/security) -
Fixed a typo in
_send_listcommand registration that caused the server to incorrectly attempt a file transfer instead of a directory listing. (tag: fix) -
Corrected
match/casesyntax in_arg_paserto use the bitwise OR (|) for multiple patterns instead of a tuple-matching comma. (tag: fix) -
Fixed missing command registration in
custom_server.pyto ensureRENAMEandSTATare correctly dispatched to their handlers. (tag: fix) -
Renamed: (tag: rename)
e2eeftp.server.commands.Comm.__hlist__: str>>e2eeftp.server.commands.Comm.__comm__: stre2eeftp.server.commands.Comm.set_hlist() -> None>>e2eeftp.server.commands.Comm.set_comm() -> Nonee2eeftp.server.commands.Comm.get_hlist() -> str>>e2eeftp.server.commands.Comm.get_comm() -> str
-
Changed the arguments for
e2eeftp.server.commands.Comm. (tag: change)Comm(request, log: Logger) # Old Comm(request, log: Logger, comm: str) # New -
Added
e2eeftp.server.commands.StartSession(Comm)ande2eeftp.server.commands.EndSession(Comm). (tag: change) -
Added
e2eeftp.client.client.e2eeftpClient.start_session(user_id: str)ande2eeftp.client.client.e2eeftpClient.end_session(). (tag: feature) -
Added
e2eeftp.client.client.e2eeftpClient.__str__: str. (tag: feature) -
Removed
e2eeftp.server.server.main(). (tag: removal) -
Implemented automatic command registration for
E2EEFTPRequestHandlersubclasses using the__init_subclass__hook, allowing seamless inheritance and merging of command mappings. (tag: feature) -
Centralized application versioning by moving
__version__to the root__init__.py, ensuring a single source of truth for the server and client components. (tag: structure) -
Enhanced the CLI
PINGcommand to perform a TCP connection check when a port is provided, providing a more accurate status for the service than standard ICMP pings. (tag: feature) -
Added
src.benchmarker.bm.BenchMark._warmup() -> None. (tag: feature)