Minor updates involving cosmetic changes have been omitted from this list. See commits for a full list.
- Removed dependency on Logback.
- Added SLF4J and Logback dependencies to warn about leaked child scopes.
- Updated
AbstractScope.removeChild(Scope)
to avoid throwingIllegalStateException
if the parent scope is closed. This change is necessary for the cleanup of leaked child scopes. - Updated
ConcurrentChildScope.add(Scope)
to throwIllegalArgumentException
instead of returning aboolean
to indicate that a child scope was already added to the parent.
- Breaking change:
ConcurrentChildScopes.add()
,remove()
now take aScope
argument instead ofAutoCloseable
. - Added
AbstractScope
. - Bugfix:
ConcurrentChildScopes.add()
was never returning true
- Added
Scope
.
- Javadoc fixes.
WrappedCheckedException.wrap(Runnable)
andwrap(Callable)
now returns a wrappedRunnable
/Callable
instead of executing the task immediately.
- Restored
WrappedCheckedException.wrap(Callable)
andwrap(Task)
- Changes
ConcurrentChildScopes.shutdown()
throws an exception if the thread is interrupted while waiting for child scopes to shut down.
- Improvements
- Removed slf4j dependency.
- Breaking changes
- Replaced
ConcurrentChildScopes.createChildScope()
withadd()
, andConcurrentChildScopes.onClosed()
withremove()
. Scopes.runAll()
now accepts tasks that throw checked exceptions.
- Replaced
- Breaking changes
- Replaced
Closeables
withWrappedCheckedException
.
- Replaced
- Improvements
- The library now requires JDK 8 instead of JDK 11.
- Breaking changes
- Changed groupId from
com.github.cowwoc
tocom.github.cowwoc.pouch
. - Changed artifactId from
pouch.core
tocore
.
- Changed groupId from
- Breaking changes
- Migrated to GitHub. The new groupId is
com.github.cowwoc
. The new package name iscom.github.cowwoc.pouch.core
.
- Migrated to GitHub. The new groupId is