AO IO Buffer Changelog

ao-io-buffer-4.1.0

Release Notes

  • Updated dependencies.
  • New interface NoClose along with static wrap(…) methods to avoid duplicate wrapping.

ao-io-buffer-4.0.0

Release Notes

  • Now supports Java 9+ modules with included module-info.class.
  • Maven artifact relocated from com.aoindustries:ao-io-buffer to com.aoapps:ao-io-buffer.
  • Package renamed from com.aoindustries.io.buffer to com.aoapps.io.buffer.

ao-io-buffer-3.3.0

Release Notes

  • New buffer result type StringResult.
  • BufferResult.isFastToString() now true for all empty buffers of all types.
  • All BufferResult implementations are now thread-safe.
  • All BufferResult.trim() implementations now cache the result for constant-time secondary access to trim().
  • Improved support for maintaining String identity for in-context translation tools. The implementations of BufferWriter now track the first string written, and use that string in place of the result where appropriate.

    This may also provide a tiny performance boost, since more places in the code convert results to the new StringResult.

ao-io-buffer-3.2.0

Release Notes

  • Minimum Java version changed from 1.7 to 1.8.
  • Reduced use of property substitutions in pom.xml. This is to help 3rd-party parsers that fail to perform full Maven-compatible substitutions.
  • Implemented new appendTo(…) methods of Writable, where default interface implementations are suboptimal.
  • BufferResult now trims based on code points, with a value considered whitespace when it is either <= '\u0020' (for compatibility with String.trim()) or Character.isWhitespace(int).
  • Updated dependencies.

ao-io-buffer-3.1.0

Release Notes

  • BufferResult implements the new Writable.trim() method.
  • TempFileResult caches result of trim() to avoid repeated I/O on repeated trims.

ao-io-buffer-3.0.1

Release Notes

  • Using managed dependencies:
    1. This project uses managed dependencies.
    2. This project's managed dependencies may also be imported by other projects.

ao-io-buffer-3.0.0

Release Notes

ao-io-buffer-2.0.3

Release Notes

  • Updated dependencies.

ao-io-buffer-2.0.2

Release Notes

  • New AO OSS Parent POM to simplify pom.xml files.
  • Project documentation moved to per-project book in SemanticCMS format.
  • Added changelog as top-level project link.

ao-io-buffer-2.0.1

Release Notes

  • Improved Javadoc formatting.
  • Improved README formatting.

ao-io-buffer-2.0.0

Release Notes

  • Improved Javadoc formatting.
  • Switched to own implementation to recycle 4k buffers instead of creating a new array for each new buffer.

    This is used for very frequent small captures so we often won't need the full 4k buffer, but it's there to avoid resizing on middle-sized buffers.

ao-io-buffer-1.3.1

Release Notes

  • Minor release, only a packaging change.

ao-io-buffer-1.3

Release Notes

  • Efficient way to check if writables empty.

ao-io-buffer-1.2

Release Notes

  • Improved Javadoc formatting.

ao-io-buffer-1.1

Release Notes

  • Reverted to Java 1.6 for Android and Java EE 6 compatibility.

ao-io-buffer-1.0

Release Notes

  • Project moved to GitHub and Maven.