Skip to content

Releases: JuliaIO/TranscodingStreams.jl

TestsForCodecPackages-v0.1.1

13 Dec 20:12
709967d
Compare
Choose a tag to compare

TestsForCodecPackages v0.1.1

Merged pull requests:

  • Add test for reusing encoder after finalize (#243) (@nhz2)

Closed issues:

  • Test reusing a compressor (#241)

v0.11.3

06 Oct 18:26
b0ff252
Compare
Choose a tag to compare

TranscodingStreams v0.11.3

Diff since v0.11.2

Merged pull requests:

  • Add optional pledgeinsize function to transcoding protocol (#239) (@nhz2)
  • Bump version to 0.11.3 (#240) (@nhz2)

v0.11.2

12 Aug 01:54
130a1ff
Compare
Choose a tag to compare

TranscodingStreams v0.11.2

Diff since v0.11.1

Merged pull requests:

  • Copy testing utilities into separate package (#235) (@nhz2)
  • Copy license to subdir package (#237) (@nhz2)
  • remove TestExt.jl (#238) (@nhz2)

Closed issues:

  • Error during loading of extension TestExt of TranscodingStreams, use Base.retry_load_extensions() to retry (#234)

v0.11.1

20 Jul 20:43
466b6d0
Compare
Choose a tag to compare

TranscodingStreams v0.11.1

Diff since v0.11.0

Merged pull requests:

Closed issues:

  • Deprecate generic seekend method (#183)
  • Precompiling TestExt errors with test_roundtrip_seekstart not defined (#223)

v0.11.0

02 Jul 15:07
76543ed
Compare
Choose a tag to compare

TranscodingStreams v0.11.0

Diff since v0.10.10

Breaking changes

v0.11 has a few subtle breaking changes to eof and seekend.

Memory(data::ByteData)

The Memory(data::ByteData) constructor was removed.
Use Memory(pointer(data), sizeof(data)) instead.

seekend(stream::TranscodingStream)

Generic seekend for TranscodingStream was removed.
If the objective is to discard all remaining data in the stream, use skip(stream, typemax(Int64)) instead where typemax(Int64) is meant to be a large number to exhaust the stream.
Ideally, specific implementations of TranscodingStream will implement seekend only if efficient means exist to avoid fully processing the stream.
NoopStream still supports seekend.

The previous behavior of the generic seekend was something like
(seekstart(stream); seekend(stream.stream); stream) but this led to
inconsistencies with the position of the stream.

eof(stream::TranscodingStream)

eof now throws an error if called on a stream that is closed or in writing mode.
Use !isreadable(stream) || eof(stream) if you need to more closely match previous behavior.

Merged pull requests:

  • BREAKING: remove generic seekend method (#229) (@nhz2)
  • BREAKING: eof errors if stream isn't readable (#230) (@nhz2)
  • Bump version to 0.11.0 (#232) (@nhz2)

Closed issues:

  • seekstart/seek/seekend leads to invalid position (#109)

v0.10.10

24 Jun 23:38
f62b761
Compare
Choose a tag to compare

TranscodingStreams v0.10.10

Diff since v0.10.9

Merged pull requests:

  • Allow non 1-based arrays in readbytes! (#200) (@nhz2)
  • Avoid double counting in stats out when writing to nested streams (#204) (@nhz2)
  • Remove Memory(::ByteData) constructor (#219) (@nhz2)
  • Add GC.@preserve when using pointers (#221) (@nhz2)
  • Fix position of underlying stream when sharing buffers (#222) (@nhz2)
  • Fix peek Char (#225) (@nhz2)
  • Fix printing of fuzz.jl results (#226) (@nhz2)
  • Reset position in seekstart (#227) (@nhz2)
  • Add missing ready_to_read! to unread (#228) (@nhz2)
  • Bump version to 0.10.10 (#231) (@nhz2)

Closed issues:

  • ByteData may not be densely stored in memory (#211)
  • peek(s::TranscodingStream, ::Type{Char}) errors (#224)

v0.10.9

31 May 15:09
7988463
Compare
Choose a tag to compare

TranscodingStreams v0.10.9

Diff since v0.10.8

Merged pull requests:

  • Bump julia-actions/cache from 1 to 2 (#214) (@dependabot[bot])
  • Add a GC.@preserve when calling unsafe_transcode! (#216) (@mkitti)
  • Add test_roundtrip_seekstart function to help test that seekstart resets the state of the codec (#218) (@nhz2)
  • Bump version to 0.10.9 (#220) (@nhz2)

Closed issues:

  • Add function to test seekstart resets the state of a codec (#217)

v0.10.8

06 May 13:55
a32fdfe
Compare
Choose a tag to compare

TranscodingStreams v0.10.8

Diff since v0.10.7

Merged pull requests:

  • Add HTTP.jl to downstream tests (#197) (@nhz2)
  • Remove unneeded Base.unsafe_read NoopStream method (#199) (@nhz2)
  • Make mark consistent with skip and IOBuffer (#201) (@nhz2)
  • Fixes for position with nested NoopStreams (#203) (@nhz2)
  • Bump julia-actions/setup-julia from 1 to 2 (#205) (@dependabot[bot])
  • Add ZipStreams.jl to downstream tests (#206) (@nhz2)
  • Fix interaction between unread and mark (#208) (@nhz2)
  • Unread extra data when stopping (#209) (@nhz2)
  • Allow unread of AbstractVector{UInt8} (#212) (@nhz2)
  • Bump version to 0.10.8 (#213) (@nhz2)

Closed issues:

  • Allow unread of AbstractVector{UInt8} (#210)

v0.10.7

28 Mar 15:27
c493215
Compare
Choose a tag to compare

TranscodingStreams v0.10.7

Diff since v0.10.6

Merged pull requests:

  • Close underlying stream after process failure in close (#182) (@nhz2)
  • Remove internal checkmode macro (#184) (@nhz2)
  • Implement isreadable and iswritable (#185) (@nhz2)
  • Add basic Supposition.jl tests (#190) (@nhz2)
  • Fix reading nested streams with stop_on_end=true set. (#191) (@nhz2)
  • Formatting: align arguments (#192) (@nhz2)
  • Avoid infinite loop in readbytes!(s, UInt8[], 1) (#194) (@nhz2)
  • Bump version to 0.10.7 (#195) (@nhz2)

Closed issues:

  • missing isreadable and iswritable (#93)
  • Safely close compressor stream after failure (#160)
  • Infinite loop in readbytes!(s, UInt8[], 1) (#193)

v0.10.6

22 Mar 15:57
3c187f4
Compare
Choose a tag to compare

TranscodingStreams v0.10.6

Diff since v0.10.5

Merged pull requests:

  • Fix reading nested NoopStreams with sharebuf=false produces garbage data (#187) (@nhz2)
  • Bump version to 0.10.6 (#189) (@nhz2)

Closed issues:

  • Reading nested NoopStreams with sharebuf=false produces garbage data (#186)