Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Releases: dogmatiq/dodeca

Version 1.4.2

02 Dec 00:18
v1.4.2
f3da9f7
Compare
Choose a tag to compare

Changed

  • Improved the mechanism used by to Zap() detect whether debug-level logging is enabled

Version 1.4.1

29 Nov 04:39
v1.4.1
ac6a74d
Compare
Choose a tag to compare

This release simply removes the package-level deprecation notices, as they are caught by aggressive linter configurations. The deprecation notice in go.mod has been retained. We will re-add these deprecation notices when we are closer to ceasing support for this module altogether.

Version 1.4.0

28 Nov 23:48
v1.4.0
84f50b0
Compare
Choose a tag to compare

The Dodeca project is deprecated as of this version.

  • All Dogmatiq projects that use the Dodeca logging package are transitioning to use go.uber.org/zap instead.
  • The Dodeca config package has been superceded by dogmatiq/ferrite.

This repository will be archived once it is no longer used by other Dogmatiq projects.

Added

  • Add logging.Zap() to adapt an Uber Zap logger to a logging.Logger

Version 1.3.1

11 Jan 00:43
Compare
Choose a tag to compare

Fixed

  • logging.StreamWriter now correctly handles Windows newlines (CRLF)
  • logging.StreamWriter now treats a single CR character as a newline

Version 1.3.0

02 Jan 02:56
Compare
Choose a tag to compare

Added

  • Add logging.Tee(), which returns a logger that dispatches all messages to multiple other loggers

Version 1.2.0

26 Aug 02:47
Compare
Choose a tag to compare

Added

  • Add config.NotDefined, InvalidValue and InvalidDefaultValue errors

Changed

  • Use new config error types as panic values instead of arbitrary strings

Version 1.1.0

06 Jul 23:18
Compare
Choose a tag to compare

Added

  • Add config.AsURL() and AsURLDefault()

Version 1.0.0

21 Dec 00:06
Compare
Choose a tag to compare

This is the first stable release. There have been no changes to the API since the 1.0.0-rc.1 release.

Version 1.0.0-rc.1

07 Nov 03:51
Compare
Choose a tag to compare
Version 1.0.0-rc.1 Pre-release
Pre-release

Added

  • Add StreamWriter, which logs each line of text in a stream as a log message
  • Add LineWriter, which logs each call to Write() as a log message

Removed

  • [BC] Remove NewWriter(), use a StreamWriter instead
  • [BC] Remove NewDebugWriter(), use a StreamWriter with Demote() instead

Version 1.0.0-rc.0

10 Sep 04:34
Compare
Choose a tag to compare
Version 1.0.0-rc.0 Pre-release
Pre-release

Added

  • Add Map, an in-memory implementation of Bucket
  • Add As[Type]() and As[Type]Default() convenience functions