Skip to content

Latest commit

 

History

History
91 lines (75 loc) · 3.45 KB

CHANGELOG.md

File metadata and controls

91 lines (75 loc) · 3.45 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.2.0-alpha.3] - 2024-08-21

Added

  • Update to libspng 0.7.4
  • RawContext::get_gama_int
  • RawContext::decode_chunks
  • RawContext::set_option
  • RawContext::get_option

Changed

  • Updated the Decoder read_info and next_frame API to match recent changes in the PNG crate (v0.17.0).

0.2.0-alpha.2 - 2021-08-28

Changed

  • UnknownChunk::_type() now returns a Result instead of Option to be consistent with similar methods

Removed

  • Removed documentation safety notes that no longer apply due to lifetime constraints

Fixed

  • The FFI error codes SPNG_EWIDTH, SPNG_EHEIGHT, and SPNG_EUSER_WIDTH are now converted correctly.

0.2.0-alpha.1 - 2021-06-23

Added

  • Update to libspng 0.7.0-rc2
  • Limits, Info, and OutputInfo now implment Debug, Copy, Clone, PartialEq, Eq, Hash
  • RawContext::get_hist
  • RawContext::get_unknown_chunks
  • The libspng major, minor, and patch version can be queried with spng::version()

0.1.0 - 2021-03-14

Changed

  • Rename Format::{GA8, GA16} to Format::{Ga8, Ga16} to be consistent with other Format enum values
  • Rename raw::IfPresent to raw::ChunkAvailable
  • Create type aliases for non-wrapped chunks and move all to raw::chunk

Added

  • Added Reader<T>::raw_context() to enable access to &RawContext.

0.1.0-alpha.6 - 2021-03-14

Changed

  • Update libspng to 264476a
  • Now zlib is linked to statically
  • Added zlib-ng crate feature to opt-in to zlib-ng, a fork of zlib with better performance

Fixed

  • Now the DEP_SPNG_INCLUDE environment variable is correctly set to the include directory that contains libspng headers

0.1.0-alpha.5 - 2020-06-14

Changed

  • Update libspng to 71a71a6

Added

  • Grayscale output formats

0.1.0-alpha.4 - 2020-05-29

Added

  • Expose the RawContext API
  • Add spng::decode for simple use cases

Changed

  • Update libspng to f47ed26

Added

  • Detect CPU target features and enable corresponding options in libspng

0.1.0-alpha.3 - 2020-03-13

0.1.0-alpha+2 - 2020-03-13

Fixed

  • Buffered stream decoding now reads from the source buffer until the destination buffer is full.

0.1.0-alpha+1 - 2020-03-13

Added

  • Initial rust wrapper with minimal API surface
  • Initial native bindings to libspng master (2079ef6)