Repository navigation
What's Changed
- Run the release task through Bundler by @hsbt in #149
- Use rb_len_t for string lengths by @hsbt in #150
- Fix Zlib::Inflate#inflate(buffer:) when the buffer changes between calls by @mame in #153
- Document the restrictions on the :buffer keyword of Zlib::Inflate#inflate by @mame in #154
- Fix Zlib.gunzip with a header truncated in the file name or comment by @hsbt in #170
- Fix Zlib::Inflate#sync with input over UINT_MAX bytes by @hsbt in #169
- Raise InProgressError from Zlib::Inflate#sync during inflate by @hsbt in #168
- Pass the input beyond UINT_MAX bytes to zlib by @hsbt in #167
- Update the buffer length before expanding it in Deflate#params by @mame in #183
- Do not raise Zlib::BufError for a repeated flush with no new input by @segiddins in #175
- Fix Zlib::Deflate#params after breaking out of #deflate by @hsbt in #172
- Use
rb_len_tfor crc32 conversions by @nobu in #184 - Fix Zlib::GzipReader#gets with a limit shorter than the separator by @mame in #155
- Reject negative Zlib output buffer sizes by @imattas in #195
- Keep the inflated member alive in GzipReader.zcat by @vytautaskubilius in #191
- Keep ZSTREAM_IN_PROGRESS when raising InProgressError by @mame in #156
- Allocate the output buffer before Zlib::Deflate#params by @mame in #159
- Do not share the output buffer in Zlib::Deflate#initialize_copy by @mame in #161
- Fix outbuf handling in Zlib::GzipReader#read by @hsbt in #198
- Detect a separator modified during Zlib::GzipReader#gets by @mame in #162
- Close the encoding converter when a GzipFile is freed by @mame in #164
- Do not match the line separator inside a multibyte character in GzipReader#gets by @segiddins in #180
- Pass keywords through in Zlib::GzipReader.zcat by @ksss in #193
- Count Zlib::Deflate#params output before warning about Z_BUF_ERROR by @hsbt in #197
- Do not unlock an output buffer locked by another thread by @hsbt in #187
- Keep the input when the inflate block exits on pending output by @hsbt in #188
- Keep the encoding of GzipReader#read at EOF by @hsbt in #189
- Carry over pending output when
buffer:is given mid-stream by @hsbt in #196 - Do not write through a shared buffer in GzipReader#read and #readpartial by @aristocratte in #190
- Do not raise Zlib::BufError when the dictionary id ends the available input by @segiddins in #173
- Return the external encoding from GzipReader#external_encoding when converting by @segiddins in #177
- Test mswin-head and mswin-4.0 on CI by @hsbt in #199
- Hide the dictionaries of Zlib::Inflate from Ruby by @mame in #158
- Fix intermittent failure of test_gets_separator_modified_by_io on mswin by @hsbt in #200
- Raise ArgumentError for a zero limit in GzipReader#each_line and #readlines by @segiddins in #174
- Fix GzipReader#gets(limit) splitting a multibyte character at the buffer end by @segiddins in #178
- Use the external encoding for character boundaries in GzipReader by @mame in #163
- Alias Zlib.deflate as Zlib.dump and Zlib.inflate as Zlib.load by @casperisfine in #25
- Fix test_gets_separator_modified_by_io with mmtk by @hsbt in #201
- Reject a negative length in Zlib.crc32_combine by @mame in #160
- Keep the arguments of GzipReader#each_line when returning an enumerator by @segiddins in #179
- Read as UTF-8 in test_gets_limit_multibyte_boundary by @hsbt in #202
- Bump ruby/setup-ruby in the release workflow to v1.345.0 by @hsbt in #203
New Contributors
- @mame made their first contribution in #153
- @imattas made their first contribution in #195
- @vytautaskubilius made their first contribution in #191
- @ksss made their first contribution in #193
- @aristocratte made their first contribution in #190
- @casperisfine made their first contribution in #25
Full Changelog: v3.2.4...v3.3.0