Skip to content

Commit cc30429

Browse files
committed
ogg_pager: Make a separate changelog
1 parent e79aa08 commit cc30429

File tree

2 files changed

+46
-12
lines changed

2 files changed

+46
-12
lines changed

CHANGELOG.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,24 +43,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4343
- Previously, setting a year with `Tag::set_year` required a `RecordingDate`. Now it will check if the format
4444
supports the `Year` tag, and if not, then it will set a `RecordingDate`.
4545

46+
### ogg_pager
47+
See [ogg_pager's changelog](ogg_pager/CHANGELOG.md).
48+
4649
## [0.10.0] - 2022-12-27
4750

4851
### Added
4952
- **TagExt**: `TagExt::contains`
5053
- **Ilst**: `AtomData::Bool` for the various flag atoms such as `cpil`, `pcst`, etc.
51-
- **ogg_pager**: Support for reading packets with the new `Packets` struct. ([PR](https://github.com/Serial-ATA/lofty-rs/pull/76))
52-
- **ogg_pager**: `PageHeader` struct. ([PR](https://github.com/Serial-ATA/lofty-rs/pull/76))
5354
- **BoundTaggedFile**: A `TaggedFile` variant bound to a `File` handle. ([issue](https://github.com/Serial-ATA/lofty-rs/issues/73)) ([PR](https://github.com/Serial-ATA/lofty-rs/pull/80))
5455

5556
### Changed
5657
- **Files**: Return the removed tag from `<File>::remove(TagType)` ([PR](https://github.com/Serial-ATA/lofty-rs/pull/74))
5758
- Previously, the only way to remove and take ownership of a tag was through `TaggedFile::take`.
5859
This was not possible when using a concrete type, such as `OpusFile`.
5960
- **TaggedFile**: Renamed `TaggedFile::take` to `TaggedFile::remove` ([PR](https://github.com/Serial-ATA/lofty-rs/pull/74))
60-
- **OGG**: The reading of OGG files has switched to using packets opposed to pages, making it more
61-
spec-compliant and efficient.
62-
- **ogg_pager**: Most fields in `Page` have been separated out into the new `PageHeader` struct.
63-
- **ogg_pager**: `paginate` now works with a collection of packets. ([PR](https://github.com/Serial-ATA/lofty-rs/pull/79))
6461
- **lofty_attr**: The `lofty_attr::LoftyFile` derive proc macro is now exported as `lofty::LoftyFile`.
6562
- **TaggedFile**: All methods have been split out into a new trait, `TaggedFileExt`. ([PR](https://github.com/Serial-ATA/lofty-rs/pull/80))
6663
- **Accessor**: All methods returning string values now return `Cow<str>`. ([PR](https://github.com/Serial-ATA/lofty-rs/pull/83))
@@ -71,14 +68,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7168
we would overwrite the last one, losing all of its information. Now we preserve all of the information,
7269
overwriting frames as necessary.
7370

74-
### Removed
75-
- **ogg_pager**: Removed `Page::new`, now pages can only be created through `ogg_pager::paginate` or
76-
`Packets::paginate`. ([PR](https://github.com/Serial-ATA/lofty-rs/pull/79))
77-
7871
### Fixed
7972
- **ID3v2**: The `'/'` character is no longer used as a separator ([issue](https://github.com/Serial-ATA/lofty-rs/issues/82))
8073
- **MP4**: Stopped expecting certain flags for the `gnre` atom prior to upgrading it ([issue](https://github.com/Serial-ATA/lofty-rs/issues/84)) ([PR](https://github.com/Serial-ATA/lofty-rs/pull/85))
8174

75+
### ogg_pager
76+
See [ogg_pager's changelog](ogg_pager/CHANGELOG.md).
77+
8278
## [0.9.0] - 2022-10-30
8379

8480
### Added
@@ -338,8 +334,8 @@ This release mostly addresses issues uncovered by fuzzing, thanks to [@5225225](
338334

339335
## [0.5.3] - 2022-03-03
340336

341-
### Fixed
342-
- **OGG**: Segment tables are written correctly with data spanning multiple pages ([issue](https://github.com/Serial-ATA/lofty-rs/issues/37))
337+
### ogg_pager
338+
See [ogg_pager's changelog](ogg_pager/CHANGELOG.md).
343339

344340
## [0.5.2] - 2022-02-26
345341

ogg_pager/CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## [Unreleased]
8+
9+
### Added
10+
- `Packets::{len, is_empty}`
11+
12+
### Changed
13+
- `Packets::write_to` will now return the number of pages written
14+
- Segment tables are now stored in `PageHeader`
15+
- Limit maximum written page size to ~8KB
16+
17+
### Fixed
18+
- `Packets::read_count` will properly validate that the correct number of packets were read
19+
20+
## [0.4.0] - 2022-12-27
21+
22+
### Added
23+
- Support for reading packets with the new `Packets` struct. ([PR](https://github.com/Serial-ATA/lofty-rs/pull/76))
24+
- `PageHeader` struct. ([PR](https://github.com/Serial-ATA/lofty-rs/pull/76))
25+
26+
### Changed
27+
- The reading of OGG files has switched to using packets opposed to pages, making it more spec-compliant and efficient.
28+
- Most fields in `Page` have been separated out into the new `PageHeader` struct.
29+
- `paginate` now works with a collection of packets. ([PR](https://github.com/Serial-ATA/lofty-rs/pull/79))
30+
31+
### Removed
32+
- Removed `Page::new`, now pages can only be created through `ogg_pager::paginate` or
33+
`Packets::paginate`. ([PR](https://github.com/Serial-ATA/lofty-rs/pull/79))
34+
35+
## [0.3.1] - 2022-3-3
36+
37+
### Fixed
38+
- Segment tables are written correctly with data spanning multiple pages ([issue](https://github.com/Serial-ATA/lofty-rs/issues/37))

0 commit comments

Comments
 (0)