Version 0.15.0
Pre-release
Pre-release
Added
- Added
message.Kind
enumeration to represent the different kinds of message, that isCommand
,Event
, andTimeout
. This is a replacement for themessage.Role
enumeration, which was removed in this release.Kind
andRole
have the same enumeration values, but whereas a message's "role" was a function of how it was used within a specific application, its "kind" is inherit to the message type itself. - Added
message.SwitchKind()
andMapKind()
to perform exhaustive switches and maps on aKind
. - Added
message.Switch()
,Map()
andTryMap()
to perform exchaustive switches on the kind of adogma.Message
.
Removed
- [BC] Removed
message.Role
. - [BC] Removed
message.NameRoles
andTypeRoles
. - [BC] Removed
message.NameSet
andTypeSet
, usemessage.Set
instead. - [BC] Removed
message.NameCollection
,NameSet
,TypeCollection
andTypeSet
, and their associated set functions, usemessage.Set
instead.
Changed
- [BC] Renamed
message.NameFromType()
toNameFromStaticType()
. - [BC] Changed
EntityMessage[Names|Types]
to use a new genericEntityMessages[K]
type. - [BC] Changed the
api
package to implement theconfiggrpc
APIs defined indogmatiq/enginekit
, instead of the (deprecated)interopspec/configspec
APIs.