Skip to content

Releases: kucjac/cleango

Release v0.0.28

03 Nov 10:05

Choose a tag to compare

Breaking Changes:

  • moved xlog -> pkg/xlog
  • moved xmeta -> pkg/xmeta
  • moved xauth -> pkg/xauth
  • moved livetemplates -> ide/livetemplates/{IDE_NAME}

Changes

all:

  • updated dependencies

xservice:

  • defined HealthCheckStatus
  • xhttp - ResponseWithDebug - option that prints the stack and internal errors details
  • xquery - defined Cursors structure

pkg/xlog:

  • defined CallerHook which sets proper *logrus.Entry.Caller for the xlog package

Release v0.0.27

02 Nov 10:31

Choose a tag to compare

all:

  • replaced deprecated cgerrors.ErrorCode names
  • updated module dependencies

cgerrors:

  • deprecates error code names starting with the ErrorCode_XXX. New code names has a prefix CodeXXX
  • wrapped error value is being shown in the metadata of the *cgerrors.Error.Error() at the key x-wrapped

xpubsub:

  • pubsubmock: Changed directory and package name to github.com/kucjac/cleango/xpubsub/mock. The package identifier persisted as pubsubmock
  • pubsubmiddleware: Changed directory and package name to github.com/kucjac/cleango/xpubsub/middleware. The package identifier persisted as pubsubmiddleware
  • natsmiddleware: Changed directory and package name to github.com/kucjac/cleango/xpubsub/middleware/nats. The package identifier persisted as natsmiddleware
  • Implemented xpubsub.SubjectSubscription struct
  • pubsubmux - implemented SubjectSubscription method that registers a new xpubsub.SubjectSubscription

codec:

  • added Name method to the Codec interface. Provided name for the codecs: json, gob, protobuf
  • provided TestMessagesEncoding as a test helper for the message multi encoder checker.

database:

  • xmongo: Implemented driver ErrWrap and ErrWrapf methods.

pkg:

  • bytesize: implemented Bytes type, that provides an easy human-readable API for multi-byte parsing.