Releases: Rcomian/bunyan-rotating-file-stream
Dependencies Refresh
Type definition file for typescript
Generously provided by scippio
Fixing basic support for rotateExisting
rotateExisting should now rotate a file on startup if required.
Compatibility with config modules
Allow passing in immutable options
objects to the stream constructor.
Support for non-json logs
Basic support for non-json logs.
No significant changes, just marking a point where this support should work.
Support for node v6
No changes needed to support node v6, just updating documentation.
Bugfix release to address filename handling issues
Bugfix - handling of date templates with dot characters in the name part was not working properly.
Compatibility Release
- Expanded node version compatibility and making a statement about which versions of node we offically support-
0.12.9
,0.12.latest
,4.latest
,5.latest
. - Full passing test suites running against each version using
nvm
. - Stress test in place, needs tuning.
Templated filenames
We now have the ability to specify templates in the log's filename. For full details see the templating section, but briefly: we can template where you put the number when rotating files (this allows you to preserve the extension so that the files open in the correct viewer), or give your log filename a timestamp in your preferred format.
All previous features are maintained and you should be able to use your existing configuration without change.
Field ordering in files
- New feature to allow the user to specify the order the fields of the log records are written to the log file, this can make manual browsing of the files easier if you put the timestamp and other relevant information first.
- Some clean ups and refactorings to try to remove some flags.