From a991195549c4ce3a56a2c4fd00aee3ed64183b57 Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Sun, 16 Aug 2015 11:19:55 +0700 Subject: [PATCH 1/2] [#127] Nb remove auto shutdown hook --- src/taoensso/timbre.cljx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/taoensso/timbre.cljx b/src/taoensso/timbre.cljx index ceba165..8a93b20 100644 --- a/src/taoensso/timbre.cljx +++ b/src/taoensso/timbre.cljx @@ -582,14 +582,6 @@ `(do (assert (<= 0 ~probability 1) "Probability: 0 <= p <= 1") (when (< (rand) ~probability) ~@body))) -;;;; EXPERIMENTAL shutdown hook -;; Workaround for http://dev.clojure.org/jira/browse/CLJ-124 - -#+clj -(defonce ^:private shutdown-hook - (.addShutdownHook (Runtime/getRuntime) - (Thread. (fn [] (shutdown-agents))))) - ;;;; Deprecated (defn str-println [& xs] (enc/spaced-str xs)) From 7ae6cfc16140c8a9ca7133c6c5136f2e5bbf01b4 Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Sun, 16 Aug 2015 11:22:54 +0700 Subject: [PATCH 2/2] v4.1.1 --- CHANGELOG.md | 11 +++++++++++ README.md | 4 ++-- project.clj | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e72d2da..076b0d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ > This project uses [Break Versioning](https://github.com/ptaoussanis/encore/blob/master/BREAK-VERSIONING.md) as of **Aug 16, 2014**. +## v4.1.1 / 2015 Aug 16 + +> This is a non-breaking hotfix release + +* **Fix**: shutdown-agents shutdown hook can interfere with other important hooks [#127 @hadronzoo] + +```clojure +[com.taoensso/timbre "4.1.1"] +``` + + ## v4.1.0 / 2015 Aug 7 > This is a non-breaking feature release diff --git a/README.md b/README.md index 9988c3c..603ebbc 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ **[API docs][]** | **[CHANGELOG][]** | [other Clojure libs][] | [Twitter][] | [contact/contrib](#contact--contributing) | current [Break Version][]: ```clojure -[com.taoensso/timbre "4.1.0"] ; Stable, see CHANGELOG for details +[com.taoensso/timbre "4.1.1"] ; Stable, see CHANGELOG for details [com.taoensso/timbre "3.4.0"] ; Legacy ``` @@ -36,7 +36,7 @@ Timbre offers an **all Clojure/Script** alternative that **works out the box**. Add the necessary dependency to your [Leiningen][] `project.clj` and `require` the necessary namespaces: ```clojure -[com.taoensso/timbre "4.1.0"] ; Add to your project.clj :dependencies +[com.taoensso/timbre "4.1.1"] ; Add to your project.clj :dependencies (ns my-clj-ns ; Clj ns => use `:refer` (:require diff --git a/project.clj b/project.clj index 8023b46..d042243 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject com.taoensso/timbre "4.1.0" +(defproject com.taoensso/timbre "4.1.1" :author "Peter Taoussanis " :description "Clojure/Script logging & profiling library" :url "https://github.com/ptaoussanis/timbre"