multi_compress 0.2.4 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9faa0c73c6b3926604e7d3477c5a519a8898fd8a08e0f9d71b84c6fce87a815d
4
- data.tar.gz: '0818b9fa5ea7cf2958910150185571a9855a1728f44c6f425ac590a2256298a0'
3
+ metadata.gz: f801c58708b34a23e3348b12d482ce3afbbf12208bdfa7d8454b20d4afbf55f4
4
+ data.tar.gz: 666eee26931519bf0069d451767053bc87cf91cede44cfe69a87408dc4b08736
5
5
  SHA512:
6
- metadata.gz: b94255c0103f3f89ae4099627a61a972b6da00220ace21d9fbd6d0c3f1641cb46d2ae79126c75f738e21ebd5359c80f6bdee11d958200731e5d402e1058d9fad
7
- data.tar.gz: c5ce6f3cb3e6c7d1b2fe08666dd916e66646f8077669f9908f61e2de64e311be1f7052345617faa045526c26136f38cc659bfabd92b596e826dd79224a1962fe
6
+ metadata.gz: 39c03d5ce59b250947c9c91a61926d5ac2bdad8193cdd0b5d38bdb639e7ad38921a26e439729c0ea55cebe133a3724bd3010e3d83147aa4ce00a66909f34d7e6
7
+ data.tar.gz: d633ab7a2257c71d741b66c598aef4924ca99ef62dbaa01185aa1efdaaae93e7ffcaaec0205a300bc6291e279d8fafc34560a203e71da3c9ae6825c69819faa6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.3.0]
4
+
5
+ ### Added
6
+ - `MultiCompress.configure` with global decompression defaults:
7
+ - `config.max_output_size` for one-shot `MultiCompress.decompress`
8
+ - `config.streaming_max_output_size` for `MultiCompress::Inflater` / `MultiCompress::Reader`
9
+ - Per-call `max_output_size:` overrides continue to work and now take precedence over global defaults
10
+
11
+ ### Changed
12
+ - One-shot and streaming decompression now use separate defaults out of the box:
13
+ - one-shot `max_output_size`: `512MB`
14
+ - streaming cumulative `max_output_size`: `2GB`
15
+ - Size limits are now the primary default UX for decompression while the existing ratio guard behavior remains unchanged.
16
+ - Reader/Writer IO parity was tightened for stream wrappers:
17
+ - `Reader#read(n)` now returns `nil` at EOF
18
+ - `Reader#gets` correctly preserves multi-byte separators
19
+ - `Reader#each_chunk` no longer yields an empty trailing chunk at EOF
20
+ - `Writer#puts` now flattens nested arrays like `IO#puts`
21
+
3
22
  ## [0.2.4]
4
23
 
5
24
  ### Added
@@ -25,9 +44,8 @@
25
44
  - Cumulative streaming output budget enforcement
26
45
  - Dictionary file size cap (`32MB`) for `MultiCompress::Dictionary.load`
27
46
  - New docs/code parity and limits tests
28
- - Linux-only ASAN/UBSAN CI job
29
47
  - Local `script/valgrind.sh` helper for developer verification (with Ruby VM suppressions)
30
- - Local `script/sanitize.sh` helper for reproducing the ASAN/UBSAN CI job locally on Linux
48
+ - Local `script/sanitize.sh` helper for running ASAN/UBSAN checks on Linux
31
49
  - Optional `./build.sh --test`, `./build.sh --valgrind`, and `./build.sh --sanitize` modes
32
50
 
33
51
  ### Changed