@@ -9,19 +9,35 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
99
1010### Changed
1111
12- - None
12+ - Writing to a file no longer flushes file metadata to the Directory Entry.
13+ Instead closing a file now flushes file metadata to the Directory Entry.
14+ Requires mutable access to the Volume ([ #94 ] ).
15+ - Files now have the correct length when modified, not appended ([ #72 ] ).
16+ - Calling ` SdCard::get_card_type ` will now perform card initialisation ([ #87 ] and [ #90 ] ).
17+ - Removed warning about unused arguments.
18+ - Types are now documented at the top level ([ #86 ] ).
19+ - Renamed ` Cluster ` to ` ClusterId ` and stopped you adding two together
20+
21+ [ #72 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/issues/72
22+ [ #86 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/issues/86
23+ [ #87 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/issues/87
24+ [ #90 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/issues/90
25+ [ #94 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/issues/94
1326
1427### Added
1528
16- - None
29+ - New examples, ` append_file ` , ` create_file ` , ` delete_file ` , ` list_dir `
30+ - New test cases ` tests/directories.rs ` , ` tests/read_file.rs `
1731
1832### Removed
1933
20- - None
34+ - __ Breaking Change__ : ` Controller ` alias for ` VolumeManager ` removed.
35+ - __ Breaking Change__ : ` VolumeManager::open_dir_entry ` removed, as it was unsafe to the user to randomly pick a starting cluster.
36+ - Old examples ` create_test ` , ` test_mount ` , ` write_test ` , ` delete_test `
2137
2238## [ Version 0.5.0] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.5.0 ) - 2023-05-20
2339
24- ### Changes
40+ ### Changes in v0.5.0
2541
2642- __ Breaking Change__ : Renamed ` Controller ` to ` VolumeManager ` , to better describe what it does.
2743- __ Breaking Change__ : Renamed ` SdMmcSpi ` to ` SdCard `
@@ -31,21 +47,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
3147- More robust card intialisation procedure, with added retries
3248- Supports building with neither ` defmt ` nor ` log ` logging
3349
34- ### Added
50+ ### Added in v0.5.0
3551
3652- Added ` mark_card_as_init ` method, if you know the card is initialised and want to skip the initialisation step
3753
38- ### Removed
54+ ### Removed in v0.5.0
3955
4056- __ Breaking Change__ : Removed ` BlockSpi ` type - card initialisation now handled as an internal state variable
4157
4258## [ Version 0.4.0] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.4.0 ) - 2023-01-18
4359
44- ### Changes
60+ ### Changes in v0.4.0
61+
4562- Optionally use [ defmt] ( https://github.com/knurling-rs/defmt ) for logging.
4663 Controlled by ` defmt-log ` feature flag.
4764- __ Breaking Change__ : Use SPI blocking traits instead to ease SPI peripheral sharing.
48- See: https://github.com/rust-embedded-community/embedded-sdmmc-rs/issues/28
65+ See: < https://github.com/rust-embedded-community/embedded-sdmmc-rs/issues/28 >
4966- Added ` Controller::has_open_handles ` and ` Controller::free ` methods.
5067- __ Breaking Change__ : Changed interface to enforce correct SD state at compile time.
5168- __ Breaking Change__ : Added custom error type for ` File ` operations.
@@ -58,33 +75,33 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
5875
5976## [ Version 0.3.0] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.3.0 ) - 2019-12-16
6077
61- ### Changes
78+ ### Changes in v0.3.0
6279
63- * Updated to ` v2 ` embedded-hal traits.
64- * Added open support for all modes.
65- * Added write support for files.
66- * Added ` Info_Sector ` tracking for FAT32.
67- * Change directory iteration to look in all the directory's clusters.
68- * Added ` write_test ` and ` create_test ` .
69- * De-duplicated FAT16 and FAT32 code (https://github.com/thejpster/embedded-sdmmc-rs/issues/10 )
80+ - Updated to ` v2 ` embedded-hal traits.
81+ - Added open support for all modes.
82+ - Added write support for files.
83+ - Added ` Info_Sector ` tracking for FAT32.
84+ - Change directory iteration to look in all the directory's clusters.
85+ - Added ` write_test ` and ` create_test ` .
86+ - De-duplicated FAT16 and FAT32 code (< https://github.com/thejpster/embedded-sdmmc-rs/issues/10 > )
7087
7188## [ Version 0.2.1] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.2.1 ) - 2019-02-19
7289
73- ### Changes
90+ ### Changes in v0.2.1
7491
75- * Added ` readme=README.md ` to ` Cargo.toml `
92+ - Added ` readme=README.md ` to ` Cargo.toml `
7693
7794## [ Version 0.2.0] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.2.0 ) - 2019-01-24
7895
79- ### Changes
96+ ### Changes in v0.2.0
8097
81- * Reduce delay waiting for response. Big speed improvements.
98+ - Reduce delay waiting for response. Big speed improvements.
8299
83100## [ Version 0.1.0] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.1.1 ) - 2018-12-23
84101
85- ### Changes
102+ ### Changes in v0.1.0
86103
87- * Can read blocks from an SD Card using an ` embedded_hal::SPI ` device and a
104+ - Can read blocks from an SD Card using an ` embedded_hal::SPI ` device and a
88105 ` embedded_hal::OutputPin ` for Chip Select.
89- * Can read partition tables and open a FAT32 or FAT16 formatted partition.
90- * Can open and iterate the root directory of a FAT16 formatted partition.
106+ - Can read partition tables and open a FAT32 or FAT16 formatted partition.
107+ - Can open and iterate the root directory of a FAT16 formatted partition.
0 commit comments