Skip to content

Latest commit

 

History

History
132 lines (92 loc) · 4.27 KB

CHANGELOG.md

File metadata and controls

132 lines (92 loc) · 4.27 KB

Change Log

All notable changes to this project will be documented in this file, which follows the conventions of keepachangelog.com. This project adheres to Semantic Versioning.

...

2.0.115 - 2023-03-24

This is a major release which switches Dialog from the 1.7 SLF4J APIs to 2.0. Pure Clojure consumers should see little direct change here, but this will impact the logging dependencies pulled in.

Changed

  • Migrate library from SLF4J 1.7 to 2.0. #18 PR#19 (credit @ieugen)
  • Update other dependency versions.

Added

  • Include log4j-over-slf4j bridge dependency by default. #32

1.1.104 - 2023-01-06

Added

  • Custom output writers and formatters can be used by providing a symbol for the output's :type and :format keys. The symbol will be resolved to a var at config time and called with the output map. PR#20
  • Outputs support customized logger levels via the :level and :levels options, mirroring the global config levels. PR#31

Changed

  • Patch version numbers now count the total number of commits to the repository.
  • Logger level matching rewritten to be approximately 6x faster.

Fixed

  • Cached logger levels are reset when configuration is re-initialized. #26 PR#28

1.0.1 - 2022-06-01

No major behavioral changes in this release, but it does mark the "officially stable" version of the library after much production usage.

Changed

  • Updated a handful of dependencies. PR#9

Fixed

  • Fixed a ClassCastException when setting the root logger level with an environment or system property override. PR#10

0.3.2 - 2022-04-08

Changed

  • Remove shell call to hostname to infer the default computer hostname. This caused the Clojure Agent send-off pool to be started at logging init time, which was an unacceptable side-effect. PR#8

Added

  • The default hostname can now be modified with dialog.util/set-hostname! if necessary.

0.3.1 - 2022-02-25

Fixed

  • Use SLF4J message formatter to correctly interpret formatting anchors ({}) and throwables in the DialogLogger implementation. #6 PR#7

0.3.0 - 2022-02-22

Added

  • Add support for output-specific middleware. PR#4

Changed

  • The JSON formatter is much more defensive about unknown types and will default to stringifying them when found. PR#5

0.2.0 - 2022-01-14

Added

  • Added :padding option for the :simple and :pretty formatters to allow control of the fixed-width printing for the thread, level, and logger names. PR#2

Changed

  • The canonical configuration file is now dialog.edn instead of dialog/config.edn, though the original path is still loaded as a fallback.

Fixed

  • Ensure that dialog is initialized when events are logged. This fixes standalone usage without SLF4J.
  • Logger instances are now serializable, to support cases where a class being serialized declares a non-static logger field. PR#3

0.1.0 - 2021-12-29

Initial release.