Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions CHANGELOG.md

This file was deleted.

33 changes: 33 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Changes

## Version 0.2.0 (2025-11-10)

Breaking:

- Mipmap generation in `Encoder` is now controlled via the `mipmaps: MipmapOptions` field instead of a `WriteOptions` parameter. The parameter on `Encoder::write_surface_with` and `WriteOptions` have been removed.
- Renamed `Encoder::options` to `Encoder::encoding`.
- `decode_rect` and `Decoder::read_surface_rect` now take an `ImageViewMut` instead of a bare `&mut [u8]` + row pitch.
- Removed `DecodeError::RowPitchTooSmall` and `DecodeError::RectBufferTooSmall` errors.
- `ImageView` and `ImageViewMut` now support non-contiguous views. Consumers of those types need to adapt too.
- Renamed `SplitSurface` to `SplitView`. `SplitView` also lazily computes fragments on the fly instead of precomputing them. ([#69](https://github.com/image-rs/image-dds/pull/69))
- `Progress` tokens now support cancellation via the new `CancellationToken`s. ([#83](https://github.com/image-rs/image-dds/pull/83))

Added:

- Added BC7 encoding. ([#86](https://github.com/image-rs/image-dds/pull/86))
- Added `DataLayout::is_{texture,texture_array,volume}()` methods to check the kind of resource a layout holds.
- Added `new_with`, `cropped`, and `is_contiguous` methods to `ImageView{,Mut}` for handling and using non-contiguous views.
- Added `DecodeError::UnexpectedRectSize` error for when the decoded rectangle size does not match the expected size.
- `R1_UNROM` now supports dithering. ([#63](https://github.com/image-rs/image-dds/pull/63))
- All uncompressed formats (expect float32 formats) now support dithering. ([#63](https://github.com/image-rs/image-dds/pull/63))
- Fuzz untrusted inputs. ([#60](https://github.com/image-rs/image-dds/pull/60))
- Faster and higher quality BC1-5 encoding. ([#72](https://github.com/image-rs/image-dds/pull/72), [#73](https://github.com/image-rs/image-dds/pull/73), [#75](https://github.com/image-rs/image-dds/pull/75), [#76](https://github.com/image-rs/image-dds/pull/76), [#78](https://github.com/image-rs/image-dds/pull/78), [#80](https://github.com/image-rs/image-dds/pull/80), [#84](https://github.com/image-rs/image-dds/pull/84), [#90](https://github.com/image-rs/image-dds/pull/90))

Fixed:

- Minimum supported version of `resize` now compiles with MSRV.
- Handle allocation failures and fixed numeric overflow in decoders. ([#68](https://github.com/image-rs/image-dds/pull/68))

## Version 0.1.0 (2025-04-30)

Initial release of the project.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dds"
version = "0.1.0"
version = "0.2.0"
edition = "2021"
rust-version = "1.63.0"

Expand All @@ -16,7 +16,7 @@ include = [
"src/",
"benches/",
"README.md",
"CHANGELOG.md",
"CHANGES.md",
"supported-formats.md",
"LICENSE-APACHE",
"LICENSE-MIT",
Expand Down
Loading