Skip to content

Refactor#3

Open
RandomHashTags wants to merge 11 commits intomainfrom
refactor
Open

Refactor#3
RandomHashTags wants to merge 11 commits intomainfrom
refactor

Conversation

@RandomHashTags
Copy link
Copy Markdown
Owner

@RandomHashTags RandomHashTags commented Apr 7, 2026

  • refactor Compressor and Decompressor protocols
  • add zlib deflate and gzip support
  • add brotli support
  • add compression support using Span<UInt8>
  • readme updates
  • remove minifiers as this library should only contain compressors/decompressors

- remove minifiers
- move compressors to global scope instead of behind `CompressionTechnique`
- fix Swift 6.0 error
- move compression & decompression to their own files
- remove `DecompressionError.unsupportedOperation` parameter
- remove `@inlinable` annotations
- support noncopyable types in protocols
@RandomHashTags RandomHashTags self-assigned this Apr 7, 2026
@RandomHashTags RandomHashTags added enhancement New feature or request semver/major Semantic Version MAJOR changes (made incompatible API changes) labels Apr 7, 2026
- add static `default` variable to `Compressor` and `Decompressor`
- rename `CompressionConfiguration` to `ConcreteCompressionConfiguration`
- add and adopt `CompressionConfiguration` & `DecompressionConfiguration` protocols
- added span compression
- rename `CompressionSnappy` module to `Snappy`
- rename `quality` variable to `compressionQuality`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request semver/major Semantic Version MAJOR changes (made incompatible API changes)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant