Revision history for SPVM::IO::Socket::SSL

0.030 2026-12-03
  [Requirement Changes]
    - Require SPVM::IO 0.265.
  [Internal Changes]
    - Use Go::OS::Poll instead of Go->gosched_xxx.
0.029 2026-12-01
  [Test Improvement]
    - Use Go::Context::Error instead of Go::Error::IOTimeout.
  [Document Improvement]
    - Rewrite document.
    
0.028 2026-11-30
  [Requirement Changes]
    - Require SPVM::Go 0.057.

0.027 2026-11-27
  [Requirement Changes]
    - Require SPVM::Go 0.055.

0.026 2026-11-18
  [Incompatible Changes]
    - Remove write_deadline and read_dealine logic from connect/accept/read/write codes.
  [Warning Fix]
    - Fix shutdown_SSL warning in DESTROY.
0.024 2026-11-18
  [Internal Changes]
    - Catch up with latest SPVM::IO.
    - Remove _v2 methods.
0.023 2026-11-18
  [Incompatible Changes]
    - Methods that read or write sockets must needs Go::Context.
0.022 2026-11-18
  [Internal Changes]
    - Add v2 methods for Go::Context.
0.021 2026-10-16
  [Requirement Changes]
    - Require SPVM::IO 0.255
    - Require SPVM::Net::SSLeay 0.047
    - Require SPVM::Sys 0.584
    - Require SPVM::Regex 0.262
    - Require SPVM::Go 0.047
  [Internal Changes]
    - Use default SocketCategory in IO::Socket::IP.
    - Remove SocketCategory field from IO::Socket::SSL and remove the constants.

0.020 2026-10-07
  [Test Improvement]
    - Remove Test::SPVM::Sys::Socket::XXX classes from tests.
      I've rewritten the server tests from the unreliable implementation using Perl's fork to a portable test suite using only SPVM::Go.
0.019 2026-02-09
  [Incompatible Changes]
    - Remove Deadline field and update set_deadline to set both ReadDeadline and WriteDeadline for Go compatibility.
    - Change I/O timeout exception from Go::Context::Error::DeadlineExceeded to Go::Error::IOTimeout.
  [Requirement Changes]
    - Require SPVM::IO SPVM::IO.
    
0.018 2026-02-06
  [Changes]
    - Implement strict deadline handling in IO::Socket::SSL#shutdown_SSL by using get_remaining_duration and catching IOTimeout.
    
0.017 2026-02-06
  [Requirement Changes]
    - Require SPVM::Net::SSLeay 0.042.
  [Test Improvement]
    - test: update online tests to use httpbin.org instead of google.com
  [Changes]
    - Support deadline for SSL operations in IO::Socket::SSL
    
0.016 2026-01-17
  [Internal Changes]
    - Catch up with latest Go.
    
0.015 2026-01-07
  [Test Chanes]
    - Catch up with latest SPVM::Go.
0.014 2025-12-10
  [Incompatible Changes]
    - Rename IO::Socket::SSL#write method to syswrite.
    - Rename IO::Socket::SSL#read method to sysread.
    
0.013 2025-10-14
  [Internal Changes]
    - Refactor options.
    
0.012 2025-10-13
  [Incompatible Changes]
    - Change the following fields.
    [Before]
    has before_connect_SSL_cbs_list : ro List of IO::Socket::SSL::Callback::BeforeConnectSSL;
    
    has before_accept_SSL_cbs_list : ro List of IO::Socket::SSL::Callback::BeforeAcceptSSL;
    
    [After]
    has before_connect_SSL_cbs : ro IO::Socket::SSL::Callback::BeforeConnectSSL[];
    
    has before_accept_SSL_cbs : ro IO::Socket::SSL::Callback::BeforeAcceptSSL[];
    
0.011 2025-10-13
  [Internal Changes]
    - Do internal changes to catch up latest SPVM.
  [Requirement Changes]
    - Require SPVM 0.990102.
0.010 2025-01-30
  [Internal Changes]
    - Use Re class instead of Regex class.
    
0.009 2025-01-27
  [Requirement Changes]
    - Require SPVM 0.990042.
    - Require SPVM::Regex 0.246.
  [Test Improvement]
    - Call Fn#destroy_runtime_permanent_vars method in the end of tests.
    
0.008 2024-12-27
  [Bug Fix]
    - Fix a bug that accept method does not work well.
    - Fix a bug of SSL_crl_file option.
  [Test Improvement]
    - Add many tests.
  [Stability Improvement]
    - Improve stability. Finish writing tests and documents.
  [Incompatible Changes]
    - Remove IP address verification.
  [Requirement Changes]
    - Require SPVM::File::Temp 0.022 for tests.
0.007 2024-12-25
  [New Features]
    - Add IO::Socket::SSL#DESTROY method.
    - Add SSL_passwd_cb option.
  [Incompatible Changes]
    - Remove IO::Socket::SSL#close method.
    - Remove SSL_server option.
    - Remove SSL_cipherlist option.
    - Remove SSL_ciphersuites option.
    - Default cipherlist is used.
    - Default SSL options are used.
    - Remove SSL_honor_cipher_order option.
    - Use TSL_server_method for server sockets. Use TSL_client_method for client sockets.
0.006 2024-12-24
  [New Features]
    - Add IO::Socket::SSL#shutdown_SSL method. And IO::Socket::SSL#close method calls this method if the socket is client socket or accepted socket.
    - Add IO::Socket::SSL#ssl_ctx field.
    - Add SSL_cert_file option.
    - Add SSL_verify_callback option.
    - Add add_before_connect_SSL_cb method.
    - Add add_before_accept_SSL_cb method.
    - Support IP address verification.
    - Support SSL_alpn_protocols option in client.
    - Add SSL_ca_file, SSL_ca_path, SSL_ca options.
  [Changes]
    - Improve IO::Socket::SSL#write logic.
    - Improve IO::Socket::SSL#read logic.
    - Improve IO::Socket::SSL#accept_SSL logic.
    - Improve IO::Socket::SSL#connect_SSL logic.
    - Use Windows CA ROOT in Windows.
  [Requirement Changes]
    - Require SPVM::Net::SSLeay 0.034.
    - Require SPVM::Regex 0.244.
  [Incompatible Changes]
    - Remove IO::Socket::SSL#get_fingerprint_bin method.
    - Remove IO::Socket::SSL#get_fingerprint method.
    - Remove SSL_version option.
0.005 2024-12-12
  [Changes]
    - Use TLS_method instead of SSLv23_method.
  [Requirement Changes]
    - Require SPVM::Net::SSLeay 0.026.
    - Require SPVM 0.990032.
    - Require SPVM::Sys 0.528.
  [Incompatible Changes]
    - Remove IO::Socket::SSL#next_proto_negotiated method.
  [Bug Fix]
    - Fix bugs of IO::Socket::SSL#get_fingerprint method.
0.004 2024-11-25
  [New Features]
    - Add IO::Socket::SSL#ssl method.
  [Changes]
    - SSL_honor_cipher_order is set to 1 if a socket is server and this option is not specified.
  [Incompatible Changes]
    - Remove SSL_passwd_cb option from IO::Socket::SSL#init method.
    - Remove IO::Socket::SSL#get_session_reused method.
    - Remove SSL_ticket_keycb option.
    - Remove SSL_npn_protocols option.
0.003 2024-11-27
  [New Features]
    - Add IO::Socket::SSL#dump_peer_certificate method.
    - Add IO::Socket::SSL#next_proto_negotiated method.
    - Add IO::Socket::SSL#alpn_selected method.
    - Add IO::Socket::SSL#get_session_reused method.
    - Add IO::Socket::SSL#get_sslversion method.
    - Add IO::Socket::SSL#get_sslversion_int method.
    - Add IO::Socket::SSL#get_cipher method.
    - Add IO::Socket::SSL#get_servername method.
    - Add SSL_startHandshake option to IO::Socket::SSL#init method.
    - Add SSL_honor_cipher_order option to IO::Socket::SSL#init method.
    - Add IO::Socket::SSL#peer_certificate method.
    - Add IO::Socket::SSL#peer_certificates method.
    - Add IO::Socket::SSL#sock_certificate method.
    - Add IO::Socket::SSL#get_fingerprint_bin method.
    - Add IO::Socket::SSL#get_fingerprint method.
  [Changes]
    - IO::Socket::SSL#connect_SSL becomes a public method.
    - IO::Socket::SSL#accept_SSL becomes a public method.
    - If a socket is for a server, SSL_verify_mode is set to SSL_VERIFY_NONE.
0.002 2024-11-23
  [New Features]
    - Add SSL_version option to IO::Socket::SSL#init method.
    - Add SSL_cipher_list option IO::Socket::SSL#init method.
    - Add SSL_ciphersuites option IO::Socket::SSL#init method.
    - Add SSL_crl_file option to IO::Socket::SSL#init method.
    - Add SSL_passwd_cb option to IO::Socket::SSL#init method.
    - Add SSL_server option to IO::Socket::SSL#init method.
    - Add SSL_npn_protocols option to IO::Socket::SSL#init method.
    - Add SSL_alpn_protocols option to IO::Socket::SSL#init method.
    - Add SSL_ticket_keycb option to IO::Socket::SSL#init method.
    
  [Requirement Changes]
    - Require SPVM::Net::SSLeay 0.017.
  [Internal Changes]
    - set_tlsext_host_name is called only in a client.
  [Changes]
    - Call set_options method given SSL->SSL_OP_ALL | SSL->SSL_OP_SINGLE_DH_USE | SSL->SSL_OP_SINGLE_ECDH_USE.
  [Bug Fix]
    - Fix a bug that SSL_hostname option does not work well.
    
0.001 2024-10-22
  [Changes]
    - First release.
  
