- Add
ByteMatchingRotationPolicy
(#222)
- Fix repeated rotations in time-sensitive policies when time resolution is not good enough (#207)
- Avoid using
FileInputStream
, since it requires a full-GC for clean-up. (#174, #175)
-
Guard against I/O failures while reading file length. (#70)
-
Propagate
IOException
s caught while opening the file. (#86)
- Fixed broken rolling support when
maxBackupCount > 2
. (#49)
-
Improved Javadocs.
-
Switched from
File#renameTo(File)
to the more robustFiles.move(Path, Path, CopyOptions...)
alternative. (#14) -
Add rolling support via
maxBackupCount
. (#14) -
Stop policies after stream close. (#26)
- Shutdown the default
ScheduledExecutorService
at JVM exit. (#12)
- Added explicit Java 9 module name. (#11)
-
Switched to semantic versioning scheme. (#10)
-
Overhauled tests.
-
Improved documentation.
-
Added
onOpen()
(#6) andonClose()
(#9) methods toRotationCallback
. -
Removed timer-based invocation from
SizeBasedRotationPolicy
. -
Replaced
Timer
andThread
usage with a sharedScheduledExecutorService
. -
Fixed license discrepancies. (#3)
-
Add Windows build to CI pipeline. (#4)
-
Switch from Travis CI to GitHub Actions. (#4)
-
Fix stream handling for Windows. (#4)
-
Upgraded to Java 8.
-
Replaced Joda Time with Java Date/Time API.
-
Added support for
Locale
andZoneId
inRotatingFilePattern
. -
Added pre-
write()
(that is, write-sensitive) policy execution support. -
Switched from GPL v3 to Apache License v2.0.
-
Upgrade dependency versions.