Skip to content

Commit

Permalink
Release version 1.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lonnie Pryor committed Mar 10, 2014
1 parent d4e3435 commit 9d4eda4
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 11 deletions.
45 changes: 35 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,45 @@
1.3 (2014-??-??)
1.3 (2014-03-10)
================
Reworked `atmos.retries.EventMonitor.PrintEvents`:

- Converted `PrintEvents` into a trait and extracted two concrete subtypes, `PrintEventsWithStream` and `PrintEventsWithWriter`.
- Converted `PrintEvents` into a trait and extracted two concrete subtypes, `PrintEventsWithStream` and
`PrintEventsWithWriter`.

- Deprecated the use of booleans to signal whether a stack trace should be printed for a particular event. The booleans are replaced by `PrintEvents.PrintAction`, a `sealed trait` / `case object` enumeration capable of representing any number of printing strategies.
- Deprecated the use of booleans to signal whether a stack trace should be printed for a particular event. The
booleans are replaced by `PrintEvents.PrintAction`, a `sealed trait` / `case object` enumeration capable of
representing any number of printing strategies.

- Modified the retry DSL to support concise configuration of print actions on event monitors derived from print streams and print writers.
- Modified the retry DSL to support concise configuration of print actions on event monitors derived from print
streams and print writers.

Reworked `atmos.retries.EventMonitor.LogEvents`:

- Converted `LogEvents` into a trait and extracted the concrete
subtype `LogEventsWithJava`.
- Converted `LogEvents` into a trait and extracted the concrete subtype `LogEventsWithJava`.

- Deprecated the use of log levels to describe behavior when called with a particular event. The levels are replaced by
`LogEvents.LogAction`, a `sealed trait` / `case object` enumeration
capable of representing any number of logging strategies.
- Deprecated the use of log levels to describe behavior when called with a particular event. The levels are replaced
by `LogEvents.LogAction`, a `sealed trait` / `case object` enumeration capable of representing any number of logging
strategies.

- Modified the retry DSL to support concise configuration of log actions on event monitors derived from Java loggers.

Reworked the Slf4j support in `atmos.retries.EventMonitor`:

- Created `LogEventsWithSlf4j` as a subtype of `LogEvents`.

- Converted `LogEventsToSlf4j` into a deprecated collection of aliases to aspects of `LogEventsWithSlf4j`.

- Deprecated the use of log levels to describe behavior when called with a particular event, replacing them with
`LogEvents.LogAction`, a `sealed trait` / `case object` enumeration capable of representing any number of logging
strategies.

- Modified the retry DSL to support concise configuration of log actions on event monitors derived from Slf4j loggers.

Added support for asynchronous monitoring with Akka to `atmos.retries`:

- Created `LogEventsWithAkka` as a subtype of `LogEvents`.

- Modified the retry DSL to support concise configuration of log actions on event monitors derived from Akka logging
adapters.

1.2 (2014-02-18)
================
Expand All @@ -25,7 +49,8 @@ Enhancements to the backoff policies in `atmos.retries`:

- Added `BackoffPolicy.Randomized`, a policy that randomizes the result of another backoff policy.

- Removed the previous backoff value from the list of items provided to a `BackoffPolicy` when calculating a backoff and replaced it with the most recently thrown exception.
- Removed the previous backoff value from the list of items provided to a `BackoffPolicy` when calculating a backoff
and replaced it with the most recently thrown exception.

Enhancements to the termination policies in `atmos.retries`:

Expand Down
7 changes: 6 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import de.johoop.jacoco4sbt._
import JacocoPlugin._

//
// Basic project information.
//
Expand All @@ -6,7 +9,7 @@ organization := "atmos"

name := "atmos"

version := "1.3-SNAPSHOT"
version := "1.3"

scalaVersion := "2.10.3"

Expand All @@ -17,6 +20,8 @@ libraryDependencies ++= Seq(
"org.scalamock" %% "scalamock-scalatest-support" % "3.1.RC1" % "test"
)

jacoco.settings

//
// Documentation site generation.
//
Expand Down
2 changes: 2 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
addSbtPlugin("de.johoop" % "jacoco4sbt" % "2.1.4")

addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "0.7.1")

addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.5.2")

0 comments on commit 9d4eda4

Please sign in to comment.