Skip to content

Releases: BioJulia/BufferIO.jl

v0.2.1

15 Oct 07:48
f58e582

Choose a tag to compare

Add methods of the type Base.unsafe_write(::AbstractBufWriter, args...)

v0.2.0

12 Oct 10:46
043efd5

Choose a tag to compare

0.2.0

This is a breaking release. Expect more breaking releases until the BufferIO interface stabilizes, probably in early 2026.

Breaking changes

  • VecWriter no longer wraps a Vector{UInt8}, but instead the new, exported type
    ByteVector. This is so the code no longer relies on Base internals.
    ByteVector is largely backwards compatible with Vector{UInt8}, and is
    guaranteed forward compatible. It may be aliased to Vector{UInt8} in the future.
  • The definition of filesize(::AbstractBufWriter) has changed, and now does not
    include unflushed, but committed data. Further, implementers should also
    implement position
  • The definition of seek(::AbstractBufWriter) has changed, and it must now also
    flush before seeking.

New features

  • New type IOWriter <: IO that wraps an AbstractBufWriter and forwards its methods,
    while being a subtype of IO.
  • On Julia 1.11 and 1.12, a new function takestring! has been added

Other

  • The requirements of growth behaviour for grow_buffer has been loosened
  • The definition of position has been clarified

v0.1.0

04 Oct 06:38

Choose a tag to compare

Initial release