Repository navigation
Commit f68144f
committed
fix(v2.1): re-enable Zstd on net11 - .NET 11 RC1 DOES ship ZstandardStream
Previous commit wrongly disabled Zstd: the ref-pack XML search missed the type, but reflection against System.IO.Compression.dll (11.0.0-rc.1) confirms ZstandardStream(Stream, CompressionLevel, bool) and ZstandardCompressionOptions exist. Restore the original #if NET11_0_OR_GREATER implementation; Zstd tests now pass on net11 (0 skipped). net10.0 unchanged (PlatformNotSupportedException fallback, 1679 tests green).1 parent 3a88dbe commit f68144f
3 files changed
Lines changed: 12 additions & 35 deletions
File tree
- src/SharpCoreDB
- Services
- Storage
- tests/SharpCoreDB.Tests/Storage
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
58 | 61 | | |
59 | | - | |
| 62 | + | |
| 63 | + | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
66 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
67 | 74 | | |
68 | | - | |
| 75 | + | |
| 76 | + | |
69 | 77 | | |
70 | 78 | | |
71 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
| 33 | + | |
| 34 | + | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | 96 | | |
119 | 97 | | |
120 | 98 | | |
121 | 99 | | |
122 | | - | |
123 | | - | |
124 | 100 | | |
125 | 101 | | |
126 | 102 | | |
| |||
141 | 117 | | |
142 | 118 | | |
143 | 119 | | |
144 | | - | |
145 | | - | |
146 | 120 | | |
147 | 121 | | |
148 | 122 | | |
| |||
315 | 289 | | |
316 | 290 | | |
317 | 291 | | |
318 | | - | |
319 | | - | |
320 | 292 | | |
321 | 293 | | |
322 | 294 | | |
| |||
366 | 338 | | |
367 | 339 | | |
368 | 340 | | |
369 | | - | |
370 | | - | |
371 | 341 | | |
372 | 342 | | |
373 | 343 | | |
| |||
0 commit comments