multi_compress 0.2.4 → 0.3.1

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: 404264c1ba462057374ad7a6a2a72565a16e1da607e47b1d3d91b727b4e74351
4
+ data.tar.gz: d23f9c3af016742a7aef3880209a2e68ba5ed2107c6c3eb3943a30802606c6ac
5
5
  SHA512:
6
- metadata.gz: b94255c0103f3f89ae4099627a61a972b6da00220ace21d9fbd6d0c3f1641cb46d2ae79126c75f738e21ebd5359c80f6bdee11d958200731e5d402e1058d9fad
7
- data.tar.gz: c5ce6f3cb3e6c7d1b2fe08666dd916e66646f8077669f9908f61e2de64e311be1f7052345617faa045526c26136f38cc659bfabd92b596e826dd79224a1962fe
6
+ metadata.gz: 91091ad2e184758916b7c79aa0ec82a3216f5d87798a7c597b43afe25b8eaa091fd7094c5de71e4eac5e01804f7b9928734514224cd0312edd1f60187d04c91b
7
+ data.tar.gz: 275044013ecacca6ee300ce8b980c252048f021acc2cf51e169722830add7301dbc4e9f6942c07845ea672c5e1dd9fe8074c7840b155096c3b40b2b1e3d5ebdc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.3.1]
4
+
5
+ ### Fixed
6
+ - Data race fix
7
+
8
+ ## [0.3.0]
9
+
10
+ ### Added
11
+ - `MultiCompress.configure` with global decompression defaults:
12
+ - `config.max_output_size` for one-shot `MultiCompress.decompress`
13
+ - `config.streaming_max_output_size` for `MultiCompress::Inflater` / `MultiCompress::Reader`
14
+ - Per-call `max_output_size:` overrides continue to work and now take precedence over global defaults
15
+
16
+ ### Changed
17
+ - One-shot and streaming decompression now use separate defaults out of the box:
18
+ - one-shot `max_output_size`: `512MB`
19
+ - streaming cumulative `max_output_size`: `2GB`
20
+ - Size limits are now the primary default UX for decompression while the existing ratio guard behavior remains unchanged.
21
+ - Reader/Writer IO parity was tightened for stream wrappers:
22
+ - `Reader#read(n)` now returns `nil` at EOF
23
+ - `Reader#gets` correctly preserves multi-byte separators
24
+ - `Reader#each_chunk` no longer yields an empty trailing chunk at EOF
25
+ - `Writer#puts` now flattens nested arrays like `IO#puts`
26
+
3
27
  ## [0.2.4]
4
28
 
5
29
  ### Added
@@ -25,9 +49,8 @@
25
49
  - Cumulative streaming output budget enforcement
26
50
  - Dictionary file size cap (`32MB`) for `MultiCompress::Dictionary.load`
27
51
  - New docs/code parity and limits tests
28
- - Linux-only ASAN/UBSAN CI job
29
52
  - 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
53
+ - Local `script/sanitize.sh` helper for running ASAN/UBSAN checks on Linux
31
54
  - Optional `./build.sh --test`, `./build.sh --valgrind`, and `./build.sh --sanitize` modes
32
55
 
33
56
  ### Changed