3.2: source_address, context and check_hostname were added.
3.2: This class now supports HTTPS virtual hosts if possible (that is, if ssl.HAS_SNI is true).
3.4: The strict parameter was removed. HTTP 0.9-style “Simple Responses” are no longer supported.
3.4.3: This class now performs all the necessary certificate and hostname checks by default. To revert to the previous, unverified, behavior ssl._create_unverified_context() can be passed to the context parameter.
3.8: This class now enables TLS 1.3 ssl.SSLContext.post_handshake_auth for the default context or when cert_file is passed with a custom context.
3.10: This class now sends an ALPN extension with protocol indicator http/1.1 when no context is given. Custom context should set ALPN protocols with set_alpn_protocols().
3.12: The deprecated key_file, cert_file and check_hostname parameters have been removed.