v2.0.0-rc8

emscripten-core/emscriptenv2.0.0-rc8Nov 3, 2024by qdm12

Upgrading?

Release notes summary

Release candidate 8 refactors dialer logging and connection type strings, switching DNS-over-TLS to use tls.Dialer. Server shutdown no longer waits for connections to close, improving termination behavior. Exchanger errors now include request question context for better debugging.

Key Highlights

  • Removed dialer warning logger; parent dialer caller can log errors
  • Dialer string now returns connection type only, such as 'https' instead of 'dns over https'
  • DNS-over-TLS uses tls.Dialer instead of tls.Client
  • Server shutdown no longer waits for connections to close
  • Exchanger errors include request question context

Breaking Changes

  • Removed warner settings field for DoT and plain dialers
  • Dialer string now returns only the connection type, e.g. 'https' instead of 'dns over https'

New Features

  • Request question context added to exchanger error messages
  • Non-blocking server shutdown behavior for UDP connections

Full Release Notes

## Changelog
* 277e4bfdf0c155d2ece5a870b69f843deafa1d4c change: no dialer warning logger anymore - parent dialer caller can log the error - remove warner settings field for dot and plain dialers
* b2cf2c0d7215250c231d20833f9e84ef312afb35 chore(pkg): dialer string returns connection type only, i.e. `https` instead of `dns over https`
* 87b1fef2ea36f5e095126fbed73ab5dd069dfc81 chore(pkg/dot): use tls.Dialer instead of tls.Client
* fdd43730f11f5b0aea452eb6cdd77d45bc6668e7 chore(pkg/server): shutdown without waiting for connections to close - UDP server tend not to terminate connections on time
* 5326983eed764945dda7c055c9509f41f56cd0ea feat(exchanger): add request question context when encountering an error

Related Repositories