Skip to content

Latest commit

 

History

History
191 lines (136 loc) · 7.46 KB

CHANGELOG.md

File metadata and controls

191 lines (136 loc) · 7.46 KB

Change Log

All notable changes to this project will be documented in this file. This project does its best to adhere to Semantic Versioning.


0.9.0 - 2019-11-02

Added

  • FileFilterUtil.standardSeparator(String, char) overload

Changed

  • FileFilterUtil.standardizePathName() -> FileFilterUtil.standardSeparator()
  • Clarified Bytes documentation

Removed

  • Unused WriteToFile class

0.8.3 - 2019-04-01

Fixed

  • Fix FileReadUtil.decode(), readText(), readChars(), and readString() overrides failing for empty streams/files

0.8.2 - 2019-03-30

Changed

  • Rewrite FileReadUtil:
    • Less array allocations
    • Text decoding methods from InputStream -> char[] or String with optimized direct CharsetDecoder.decode() calls
    • More helper methods for File, InputStream, and overloads with default chunkSize and charsetDecoder overrides
    • Static default ChunkSize and charsetDecoder fields with setters to allow the threadLocalInst() constructor defaults to be set
    • Bug fixes and better unit testing with LimitedByteArrayInputStream to replicate input stream read() calls that only return partial and require subseqent calls

0.8.1 - 2017-12-30

Changed


0.8.0 - 2017-05-28

Removed

  • Moved/removed Locations class to new JLoadApp library

0.7.1 - 2016-10-08

Changed

  • Updated dependency json-stringify to 0.2.0 latest version (use new instance based JsonStringify class)

0.7.0 - 2016-10-01

Added

  • Added json-stringify dependency (since JsonWrite was moved from this project to json-stringify)

Changed

  • Updated dependency paths

Removed

  • Removed twg2.io.write.JsonWrite, moved to new json-stringify library

0.6.4 - 2016-08-21

Changed

  • Updated jcollection-util dependency to latest 0.7.0 version

0.6.3 - 2016-08-18

Added

  • Matches interface with getMatches() and getFailedMatches() (implemented by FileFilterUtil.Cache)
  • Additional comments/documentation

0.6.2 - 2016-08-14

Added

  • ExecuteCmd getInputReader() and getErrorReader() and marked the input and error reader fields volatile

Changed

  • compiled jar file path from package-lib.json now matches where it's stored (in the /bin/ directory)

0.6.1 - 2016-08-07

Added

  • twg2.io.fileLoading.ValidInvalid

0.6.0 - 2016-08-07

Added

  • FileFilterUtil
    • standardizePathName() for file separator standardization
    • Builder.addFilter() for adding custom filters (previous add*() options were limited to certain string filters such as addFileExtensionFilter())

Changed

  • Renamed SourceInfo -> DirectorySearchInfo

0.5.0 - 2016-06-26

Added

  • FileUtil.getFileNameWithoutExtension()

Changed

  • Renamed FileUtility -> FileUtil
  • Renamed FileUtil methods:
    • toURL() -> toUrl()
    • removeFileExtension() -> getFileWithoutExtension()
  • Added JCollectionInterfaces dependency and updated JCollectionFiller dependency to latest 0.5.x version

Fixed

  • FileUtil getFileExtension(String), getFileWithoutExtension(String), getFileNameWithoutExtension(String) methods so that they handle paths correctly, not just file names

0.4.3 - 2016-06-21

Added

  • Additional twg2.io.fileLoading documentation
  • compiled jar file to bin/

Changed


0.4.2 - 2016-04-06

Added

  • FileUtility getFileExtension() and removeFileExtension()
  • FileFormatException constructors with fileName argument

0.4.1 - 2016-02-27

Added

  • twg2.io.write utilities for writing serializable objects to an Appendable destination
  • Refactored twg2.io.fileLoading (SourceFiles and SourceInfo) from JParserTools library into this library

Changed

  • Use latest version of JTwg2Logging (LoggingPrefixFormat instead of LoggingImpl.PrefixFormat)

0.4.0 - 2016-02-24

Changed


0.3.0 - 2016-02-17

Changed

  • Moved file/directory recursive traversal from FileUtility to new FileRecursion class
  • Updated FileReadUtil to only use thread local caches to prevent bugs when calling these static methods from multiple threads

Removed

  • Removed some unused CharsetUtil methods

0.2.1 - 2016-01-27

Changed

  • Twg2Logs.createLog() reuses one underlying log

Fixed

  • Fixed Twg2Logs.defaultInst() not getting set after calling initialize()

0.2.0 - 2016-01-23

Added

  • Added thread local FileReadUtil instances via FileReadUtil.threadLocalInst().
  • Added Twg2Logs class with singleton like static methods for initializing a single logging instance for use across an application.
  • Added Logging.Formatter interface and renamed LoggingImpl.Format -> LoggingImpl.PrefixFormat. Used to format logging data into strings.

Changed

  • Changed public FileReadUtil.defaultInst field to FileReadUtil.defaultInst() method.

0.1.0 - 2016-01-19

Added

  • Initial versioning, includes process execution utilities (twg2.io.exec), simple logging (twg2.io.log), general I/O utilities, file filters, a rolling file renamer, and some other miscellaneous utilities (twg.io.files).
  • Removed unused dependency on JSimpleTypes
  • Removed test-check-util dependency in favor of eclipse project library reference, since it is not required at runtime unless calling methods from twg2.io.test.