Skip to content

Latest commit

 

History

History
100 lines (61 loc) · 2.79 KB

ReleaseNotes.md

File metadata and controls

100 lines (61 loc) · 2.79 KB

Pallet-Common Release Notes

The latest release is 0.4.0.

0.4.0

  • Remove slf4j-logback-status

  • Remove reflection warnings

  • Use lein as the build tool Switch to clojars, with a com.palletops group id.

0.3.1

  • Update logback test configuration to use encoder The layout element is no longer valid.

  • Depend on clojure 1.4 and remove slingshot

0.3.0

  • Add cause to context exceptions

  • Allow setting of multiple contexts at one time This is useful if you wish to save and restore contexts.

  • Repurpose with-logged-context, and move to with-context-logging with-logged-context logs the current context entry. with-context-logging will add logging to every context entry and exit.

  • Add root-cause and exception-map to wrapped exceptions

0.2.1

Features

  • Propogate exception message when context exception wrapping

  • Upgrade to tools.logging 0.2.0 Introduce tools-logging-compat implementation macro to provide implementation details across 0.1.2 and 0.2.0

  • Add pallet.common.context for hierarchical contexts Provides a facility for maintaining hierarchical contexts, with extensible behaviour on entering and exiting a context.

    Add try-context, with-context, with-logged-context and throw+ Remove atom from common.context, and made on-enter and on-exit callbacks composed with juxt.

  • Add logging-to-string to pallet.common.logging.logutils Logs to a string via with-out-str, and logging-to-stdount

  • Add strint from clojure.contrib

  • Add map-utils/deep-merge-with from clojure.contrib

Fixes

  • Change forward-no-warn to generate a forwarding function The forwarding was failing when used with protocol functions, due to lack of metadata on the forwarded var

  • Remove extraneous println's from context-test

  • Improve robustness of logger specific namespace loading The loading of namespaces from a macro was leading to unbound vars. Requiring the namespaces at the top level seems to fix this.

0.2.0

  • Add name-with-attributes from monolithic clojure contrib

  • Make content optional for with-temp-file

  • Remove use of clojure.contrib

  • Fixes for switch to tools.logging and logback

  • Add pallet.common.logging.logutils Utility functions for manipulating loggers and levels, with either log4j or slf4j/logback

  • Add logging context support based on slf4j

  • Update common.string to follow clojure.string design Changed type hints to accept CharSequence arguments and return String. Changed argument order to take the string object as the first argument. Renamed add-quotes to quoted. Added two index version of substring.

  • Added underscore

  • Moved utility functions from stevedore

0.1.0

This is the initial standalone release. The library has been extracted based on functions from the main pallet repository.