Skip to content

Releases: dogmatiq/configkit

Version 0.16.0

05 Oct 10:55
v0.16.0
87199b0
Compare
Choose a tag to compare
Version 0.16.0 Pre-release
Pre-release

Changed

  • [BC] Use enginekit/message.Type, Kind and Name throughout, replacing the deprecated and now removed message package.

Removed

  • [BC] Removed the deprecated message package.

Version 0.15.1

05 Oct 10:38
v0.15.1
82812c6
Compare
Choose a tag to compare
Version 0.15.1 Pre-release
Pre-release

Deprecated

  • The message package within this module is now deprecated and will be removed in a future release.

Version 0.15.0

03 Oct 02:44
v0.15.0
a51a107
Compare
Choose a tag to compare
Version 0.15.0 Pre-release
Pre-release

Added

  • Added message.Kind enumeration to represent the different kinds of message, that is Command, Event, and Timeout. This is a replacement for the message.Role enumeration, which was removed in this release. Kind and Role 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() and MapKind() to perform exhaustive switches and maps on a Kind.
  • Added message.Switch(), Map() and TryMap() to perform exchaustive switches on the kind of a dogma.Message.

Removed

  • [BC] Removed message.Role.
  • [BC] Removed message.NameRoles and TypeRoles.
  • [BC] Removed message.NameSet and TypeSet, use message.Set instead.
  • [BC] Removed message.NameCollection, NameSet, TypeCollection and TypeSet, and their associated set functions, use message.Set instead.

Changed

  • [BC] Renamed message.NameFromType() to NameFromStaticType().
  • [BC] Changed EntityMessage[Names|Types] to use a new generic EntityMessages[K] type.
  • [BC] Changed the api package to implement the configgrpc APIs defined in dogmatiq/enginekit, instead of the (deprecated) interopspec/configspec APIs.

Version 0.14.0

26 Sep 22:55
v0.14.0
738fd84
Compare
Choose a tag to compare
Version 0.14.0 Pre-release
Pre-release

Changed

  • Bumped minimum Go version to 1.23.

Removed

  • [BC] Removed deprecated fixtures package.

Version 0.13.8

22 Aug 22:11
v0.13.8
1891b53
Compare
Choose a tag to compare
Version 0.13.8 Pre-release
Pre-release

Fixed

  • Fixed bug that caused message.Type.String() to remove periods after package names when rendering the type of a pointer message.

Version 0.13.7

22 Aug 20:00
v0.13.7
592b8ca
Compare
Choose a tag to compare
Version 0.13.7 Pre-release
Pre-release

Added

  • Added message.NameFor().

Changed

  • Shorten generic message type names when the type parameter is in the same package as the generic type.

Deprecated

  • Deprecated the fixtures sub-package. This package will be removed in a future release.

Version 0.13.6

17 Aug 05:45
v0.13.6
922e79d
Compare
Choose a tag to compare
Version 0.13.6 Pre-release
Pre-release

Changed

  • Bump Dogma to v0.14.0.

Version 0.13.5

16 Aug 23:53
v0.13.5
cb13e28
Compare
Choose a tag to compare
Version 0.13.5 Pre-release
Pre-release

Added

  • Added static.PackagesLoadMode as a convenience for using Go's built-in packages.Load() with a mode suitable for static analysis.
  • Added static.FromDir() as a convenience for analyzing packages recursively from a directory.

Fixed

  • Handle alias types under Go v1.23 (or when using GODEBUG=gotypealias=1), which previously caused a panic.

Version 0.13.4

15 Aug 23:28
v0.13.4
df687b9
Compare
Choose a tag to compare
Version 0.13.4 Pre-release
Pre-release

Added

  • Added message.TypeFor().

Changed

  • Bumped minimum Go version to 1.22.
  • Use dogma.Command, Event and Timeout interfaces instead of dogma.Message where appropriate.

Version 0.13.3

15 Aug 07:13
v0.13.3
954e9ad
Compare
Choose a tag to compare
Version 0.13.3 Pre-release
Pre-release

Added

  • Added ToProto() and FromProto() to convert application configurations to and from their protocol buffers representations.