logged?
to not emit an incorrect message when there are no matches, and clean up the output from multiple unexpected matches.logged?
that removes the restriction that only one log line must match the pattern, adds printing to the function and repo documentation to make users aware of this single line match restrictionThis is a minor dependency change release
This is a potentially breaking dependency version update release
This is a maintenance release
This is a minor feature release
puppetlabs.trapperkeeper.internal/shutdown!
function. Returns collection of exceptions caught during execution of shutdown sequence instead of nil.stop
method of puppetlabs.trapperkeeper.app/TrapperkeeperApp
protocol with an argument throw?
to handle cases where exceptions in shutdown sequence should be rethrown.puppetlabs.trapperkeeper.testutils.bootstrap
helper macroses to throw exception when shutdown finished abruptly.This is a maintenance release
This is a minor feature release
This is a maintenance release
This is a maintenance release
This is a maintenance release
This is a maintenance release
This is a maintenance release
This is a maintenance release.
This is a maintenance release.
This is a maintenance release.
lein-parent
plugin to inherit dependency versions from parent project.This is a minor feature release
This is a feature/bugfix/maintenance release
This is a bugfix release. It fixes a single issue
This is feature/bugfix release. It is a re-release of 1.3.2
This version was released by mistake, it was intended to be 1.4.0
This is a bugfix / maintenance / minor feature release
bootstrap-services-with-config
testutils macrowith-logged-event-maps
.This is a feature release.
app-context
API; all service
contexts are now stored under a key called :service-contexts
. This
shouldn't affect any consuming code unless you were digging into the
internal app-context
API for really low-level tests or similar.This is a minor feature release.
This is a bugfix release.
isStarted
method.This is a bugfix / minor feature release.
(is (logged?
test assertion
now captures log messages that were logged by other (non-Clojure) threads.logs-matching
now has an additional signature that accepts a log levelmain
functionThis is a maintenance / minor feature release.
This is a minor feature release.
EvaluatorFilter
, which allows users to configure
the logging to filter log messages based on regular expression patterns.This is a minor feature and bugfix release.
service-symbol
function in lifecycle error messages to make it easier
to determine which service caused the errormain
function.This is a bugfix release.
defservice
from working with protocols that were defined in a different namespace.This is a feature release with a minor breaking API change.
puppetlabs.trapperkeeper.services/Service
protocol - namely, service-context
.
References to these functions are no longer automatically in scope inside a
service
or defservice
definition as they were previously (via macro magic),
and they must be require
d like any other function -
(require '[puppetlabs.trapperkeeper.services :refer [service-context]])
.service
macroThis is a minor feature release.
--config
command-line argumentservice-symbol
and get-services
functions to protocolsThis is a minor feature release.
middlewares
to the nREPL service, to allow
registration of nREPL middleware (e.g. for compatibility with LightTable).
(Thanks to exi
for this contribution!)This is a maintenance/bugfix release.
shutdown-agents
on trapperkeeper exit, to prevent the JVM from
hanging for 60 seconds on shutdown (if any services were using future
).This release includes improved error handling and logic for shutting down Trapperkeeper applications.
init
or start
functions:
stop
functions are now called, even when an error is thrown by any service's
init
or start
function. This means that stop
implementations must now be resilient
to invocation even when init
or start
has not executed.boot-services-with-cli-data
, boot-services-with-config
, and boot-with-cli-data
to return the TrapperkeeperApp
instance rather than propagating the Throwable
.check-for-errors!
function on the TrapperkeeperApp
instance to detect any errors that may have occurred
while services were being bootstrapped.This is a maintenance release.
This is a maintenance/bugfix release.
This is a maintenance release.
This is a maintenance release.
This is a bugfix and maintenance release.
This is a bugfix and maintenance release.
This is a bugfix and maintenance release.
shutdown-on-error
.service
/defservice
macros.shutdown-on-error
.service-id
from being called from a service's init
function.testutils/bootstrap
namespace, to make it easier to write tests for servicesget-service
to the Service
protocol, which allows service authors to get a reference to the protocol instance of a service if they prefer that to the prismatic-style function injectionsdefservice
API so that it supports service lifecycles more explicitly,
and now uses clojure protocols as the means for specifying functions provided
by a service.Can you improve this documentation? These fine people already did:
Chris Price, Kevin Corcoran, Joe Pinsonault, Maggie Dreyer, Preben Ingvaldsen, Russell Mull, rileynewton, Rob Browning, Jeremy Barlow, Patrick Carlisle, Kirill Chernyshov, Nate Wolfe, Arthur Lawson, Jonathan Morris, jonathannewman & nathaniel smithEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close