Releases: dogmatiq/enginekit
Releases · dogmatiq/enginekit
Version 0.16.1
Added
- Added
message
package, which is a largely drop-in replacement for configkit/message
.
Version 0.16.0
Added
- Added
maps.NewFromSeq()
(and variants) which construct map types from iter.Seq2
sequences.
- Added
sets.NewFromSeq()
(and variants) which construct set types from iter.Seq
sequences.
- Added
sets.NewFromKeys()
(and variants) which construct set types from the keys of iter.Seq2
sequences.
- Added
sets.NewFromValues()
(and variants) which construct set types from the values of iter.Seq2
sequences.
- Added
Intersection()
method to all set types.
Changed
- [BC] Changed message stubs to accept validation scopes.
- The results of
Clone()
, Merge()
, Select()
and Project()
on any map type are now guaranteed to be non-nil.
- The results of
Clone()
, Union()
and Project()
on any set type are now guaranteed to be non-nil.
Removed
- [BC] Removed
cmp
parameter from maps.NewOrderedByComparator()
and its variants. The comparator logic must now be totally encapsulated by the comparator type alone.
Version 0.15.1
Removed
- Removed
nocopy
protection from collection types.
Version 0.15.0
Added
- Added
sets.Proto
which is an unordered set of [proto.Message] values.
- Added
maps.Proto
which is an unordered map of [proto.Message] keys to arbitrary values.
Changed
- [BC] Split
collection
package into separate collections/maps
and collections/sets
packages.
Version 0.14.0
Added
- Added
collection.OrderedSet
and UnorderedSet
.
- Added
collection.OrderedMap
.
Removed
- [BC] Removed
uuidpb.OrderedSet
and Map
, use collections.OrderedSet
and OrderedMap
instead.
Version 0.13.0
Added
- Added
Marshaler.UnmarshalTypeFromMediaType()
.
Removed
- Removed
Envelope.PortableName
. The MediaType
field is now guaranteed to include the portable name as a parameter.
- Removed
Packet.PortableName()
.
Version 0.12.2
Fixed
- Fixed error in
Marshaler.MarshalAs()
when passed a media-type that is unsupported because it does not have a type
parameter. The implementation now correctly returns false
instead.
Version 0.12.1
Added
- Added
identitypb.Identity.Equal()
.
- Added
envelopepb.Packer
and Transcoder
types.
Version 0.12.0
Changed
- [BC] Renamed
uuidpb.FromString()
to Parse()
.
Added
- Added
uuidpb.MustParse()
.
- Added
marshaler
package as a replacement for dogmatiq/marshalkit
.
Version 0.11.1
Added
- Added JSON struct tags to stub types.