As features have been added to this library the naming convention has changed and there have been a few mistakes along the way:
- There's little indication which classes are low-level wrappers around NNG types (like
AsyncCtx) and which are high-level C# implementations (likeAsyncContext) - Some low-level wrappers match NNG naming and some don't;
Messagevsnng_msg - Some interfaces match implementations and some don't;
Dialer/IDialervsAlloc/IMemory
Changes
- [email protected]
- Retiring Subor.nng.NETCore package, all further releases will be as nng.NET
- Breaking changes:
- fix #88 Enforce various
*AsyncContextwrappers use correct sockets*AsyncContext.Create()methods take ISocket when they should accept more specific (e.g. ISendSocket)
- Renamed classes:
- AsyncIO => NngAio
- AsyncCtx => NngCtx
- Alloc/IMemory => NngAlloc/INngAlloc
- Dialer/IDialer => NngDialer/INngDialer
- Listener/IListener => NngListener/INngListener
- Message/IMessage/NngMessageHeader/IMessagePart => NngMsg/INngMsg/NngMsgHeader/INngMsgPart
- Socket/ISocket => NngSocket/INngSocket
- Pipe/IPipe => NngPipe/INngPipe
- IStat => INngStat
- Renamed properties:
- Various properties providing access to
nng_*structs are now allNativeNngStruct
- Various properties providing access to
- Message
Dup()returnsNngResultrather than throwing anNngExceptionon failure
- fix #88 Enforce various
- Removed obsoleted code:
- .Net Framework support; only .NET Core and .NET 5 are supported
ICtx; instead of downcasting toICtxuseIHasCtx.Ctx- Factory
Pair0OpenandPair1Open; usePairOpen - NNG library binaries built with
-DNNG_ELIDE_DEPRECATED=ONto remove old getopt/setopt functions