Releases: morimekta/utils
Release list
2.7.1: Keep FileWatcher method signatures
2.7.0: FileWatcher path handling
- FileWatcher get wathers with proper path params instead of just File.
ChangeLog
6328187 New minor versions, as new functionality.
fbcca21 Add develop to testing.
b9a5cd0 Update StongHashBuilder Object array to be templated.
13e3578 replaceSymbolicLink does not need the dir workaround.
15c9f34 Add TemporaryAssetFolder utility.
e90f6bc New FileWatcher constructor that provides the WatcherService.
e99d6d0 FileWatcher listener with path instead of file.
2.6.0: FileWatcher updates
ChangeLog
2116879 Javadoc trigger updates.
cf2f0b6 Update release procedure doc.
febb148 Updates guava and mockito.
6db34a2 Add notice when NOT to use the Base64 util.
140e8bf Make helper to trigger update of javadoc.io.
1660386 Updated versions and more.
4db1ea6 Use jekyll based site docs.
6054a93 Next version is 2.6.0
51f2ba0 Make FileWatcher handle multiple levels of symlinks.
2.5.1: JSON for HTML unescaping
Unescape '/' in JSON strings. This is allowed in order to ensure embedded JSON cannot contain the ending "</script>" tag.
2.5.0: File Handling
Notable Changes
- FileUtil class with "missing" java.nio.Files methods: to resolve absolute canonical path.
- FileWatcher can add watcher on individual file paths.
- Simple Tuple class meant to pass multiple arguments down streams.
ChangeLog
26b7424 ProcessExecutor tesintg.
7893da2 Correct doclint argument for new javadoc plugin.
b56989c Adding a simple tuple class.
04dc2c5 Update used plugins.
3c400ba Let FileWatcher add per file watching.
211a845 Fix Strings to be locale independent.
a6df8f5 Exclude all IDEA settings. I keep them in separate repo now.
2c4a349 Make FileWatcher use Path and FileUtil to enhance path stability.
0af49f2 Updated minor version.
d1433ca Add missing copyright notices.
87560e1 Add file utility for handling symlinks and reading canonical path.
2.4.2: FileWatcher NPE fix
Handle NPE on empty relative file paths.
if the incoming file if the relative file path does not have a parent, file.getParent() returns null and file.getParent().getCanonicalFile().getAbsoluteFile() throwse an NPE. By resolving the getAbsoluteFile() path before getParent() this is avoided. getAbsoluteFile() should not resolve any symlinks so functionality of handling symlinks should stay the same. Watching "/" will still cause NPE.
2.4.1: FileWatcher symlink support
Resolve FileWatcher directory, not file.
If the watched file's parent directory is resolved to canonical path,
but not the file itself we get more consistency to what we listen to:
change to the file we point to as seen from the directory we specify.
This means that given:
/path/link -> /other
/path/file -> /other/file
/other/file
If you listen to /path/link/file, you get notified to changed to the
file content.
If you listen to /path/file, you get notified of changes to the symlink
that points to /other/file, in case it points to a different file, but
not to changes to the content of that file.
Prior Behavior:
All files were resolved to canonical file paths, so only changes to the
content of the actual underlying file would be detected. Also the file
path would always be the full canonical path of the resolved file when
called back to the watchers.
2.4.0: LineBufferedReader
Separate out a LineBufferedReader Reader implementation from the JsonTokenizer, which can be used in other tokenizer-like classes that specifically read lines, but should not read more than what it consumes.
ChangeLog:
- Updated dependencies.
- Update codestyles for idea 2017.3.
- JsonTokenizer: Simplify EOF error position.
- LineBufferedReader fixes and more testing.
- Increase minor version.
- Add a line buffered reader.
2.3.2 ByteBufferIO read bug
- Fix ByteBufferIO bug bad byte read.
- Add a fixed num bached collector.
2.3.1: Fix JSON tokenizer bugs
- Missing method test on CharSlice.
- Lots more tests on JSON tokenizer.
- Fix bad test.
- Add skipUntil that consumes readers.
- Fix JSON line consolidation and nits.:
- Missing @nonnull annotation.