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.
- Removed a bad assertion when writing nil packets (PR)
- Updated
MAX_CONTENT_SIZEto the right value (PR)
- Writing a packet whose size is perfectly divisible by 255 would make the second to last segment have a size of 0, rather than 255 (issue) (PR)
- When writing large packets, the size would slowly shift out of sync, causing the pages to be written incorrectly. (issue) (PR)
Packets::iter()
Packets::{len, is_empty}
Packets::write_towill now return the number of pages written- Segment tables are now stored in
PageHeader - Limit maximum written page size to ~8KB
Packets::read_countwill properly validate that the correct number of packets were read
- The reading of OGG files has switched to using packets opposed to pages, making it more spec-compliant and efficient.
- Most fields in
Pagehave been separated out into the newPageHeaderstruct. paginatenow works with a collection of packets. (PR)
- Removed
Page::new, now pages can only be created throughogg_pager::paginateorPackets::paginate. (PR)
- Segment tables are written correctly with data spanning multiple pages (issue)