- feat: throw DtlsExceptions instead of StateErrors on error
- fix!: don't throw StateErrors for unknown alert parameters
This version contains breaking API changes.
- fix!: use
Uint8List
instead of String forPSKCredentials
- feat!: let client and server handle fatal DTLS alerts
- Refactored handling of ECDSA keys and DTLS events using enhanced enums
- Increased minimum required Dart SDK version to 2.17
- Added missing override of the
toString()
method toTinyDtlsLoadException
- Added getters for
closed
class members to client and server - Changed parameters of credentials constructors to named ones
- Replaced pskCredentials parameter of
DtlsClient
constructor with callback - Added callback for indicating PSK identity hints to
DtlsServer
class
- Fixed bug that prevented the use of ECDSA keys with the
DtlsServer
- Improved documentation of library and
DtlsConnection
class
- Reworked and fixed the internal mechanism for finding tinyDTLS binaries
- Applied minor refactorings and style changes
- The
DtlsClient
andDtlsServer
should now handle connections closed by the peer correctly - When generating bindings,
CPATH
is now used in place of-I
compiler option to find headers
- Reworked server API using a generic DtlsConnection interface
- Improved documentation
- Expanded package description in pubspec.yaml
- Refactored tests and example
- Renamed the
data
field of theDtlsServerEvent
class todatagram
- Initial version.