22
33All notable changes to this project will be documented in this file.
44
5- The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
6- and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
5+ The format is based on [ Keep a Changelog] and this project adheres to [ Semantic Versioning] .
76
8- ## [ Unreleased] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/compare/v0.5.0...develop )
7+ ## [ Unreleased]
8+
9+ * None
10+
11+ ## [ Version 0.6.0] - 2023-10-20
912
1013### Changed
1114
12- - None
15+ - Writing to a file no longer flushes file metadata to the Directory Entry.
16+ Instead closing a file now flushes file metadata to the Directory Entry.
17+ Requires mutable access to the Volume ([ #94 ] ).
18+ - Files now have the correct length when modified, not appended ([ #72 ] ).
19+ - Calling ` SdCard::get_card_type ` will now perform card initialisation ([ #87 ] and [ #90 ] ).
20+ - Removed warning about unused arguments.
21+ - Types are now documented at the top level ([ #86 ] ).
22+ - Renamed ` Cluster ` to ` ClusterId ` and stopped you adding two together
23+
24+ [ #72 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/issues/72
25+ [ #86 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/issues/86
26+ [ #87 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/issues/87
27+ [ #90 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/issues/90
28+ [ #94 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/issues/94
1329
1430### Added
1531
16- - None
32+ - New examples, ` append_file ` , ` create_file ` , ` delete_file ` , ` list_dir ` , ` shell `
33+ - New test cases ` tests/directories.rs ` , ` tests/read_file.rs `
1734
1835### Removed
1936
20- - None
37+ - __ Breaking Change__ : ` Controller ` alias for ` VolumeManager ` removed.
38+ - __ Breaking Change__ : ` VolumeManager::open_dir_entry ` removed, as it was unsafe to the user to randomly pick a starting cluster.
39+ - Old examples ` create_test ` , ` test_mount ` , ` write_test ` , ` delete_test `
2140
22- ## [ Version 0.5.0] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.5.0 ) - 2023-05-20
41+ ## [ Version 0.5.0] - 2023-05-20
2342
24- ### Changes
43+ ### Changed
2544
2645- __ Breaking Change__ : Renamed ` Controller ` to ` VolumeManager ` , to better describe what it does.
2746- __ Breaking Change__ : Renamed ` SdMmcSpi ` to ` SdCard `
@@ -39,13 +58,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
3958
4059- __ Breaking Change__ : Removed ` BlockSpi ` type - card initialisation now handled as an internal state variable
4160
42- ## [ Version 0.4.0] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.4.0 ) - 2023-01-18
61+ ## [ Version 0.4.0] - 2023-01-18
62+
63+ ### Changed
4364
44- ### Changes
45- - Optionally use [ defmt] ( https://github.com/knurling-rs/defmt ) for logging.
65+ - Optionally use [ defmt] s/defmt) for logging.
4666 Controlled by ` defmt-log ` feature flag.
4767- __ 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
68+ See: < https://github.com/rust-embedded-community/embedded-sdmmc-rs/issues/28 >
4969- Added ` Controller::has_open_handles ` and ` Controller::free ` methods.
5070- __ Breaking Change__ : Changed interface to enforce correct SD state at compile time.
5171- __ Breaking Change__ : Added custom error type for ` File ` operations.
@@ -56,35 +76,46 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
5676- Add new constructor method ` Controller::new_with_limits(block_device: D, timesource: T) -> Controller<D, T, MAX_DIRS, MAX_FILES> `
5777 to create a ` Controller ` with custom limits.
5878
59- ## [ Version 0.3.0] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.3.0 ) - 2019-12-16
79+ ## [ Version 0.3.0] - 2019-12-16
6080
61- ### Changes
81+ ### Changed
6282
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 )
83+ - Updated to ` v2 ` embedded-hal traits.
84+ - Added open support for all modes.
85+ - Added write support for files.
86+ - Added ` Info_Sector ` tracking for FAT32.
87+ - Change directory iteration to look in all the directory's clusters.
88+ - Added ` write_test ` and ` create_test ` .
89+ - De-duplicated FAT16 and FAT32 code (< https://github.com/thejpster/embedded-sdmmc-rs/issues/10 > )
7090
71- ## [ Version 0.2.1] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.2.1 ) - 2019-02-19
91+ ## [ Version 0.2.1] - 2019-02-19
7292
73- ### Changes
93+ ### Changed
7494
75- * Added ` readme=README.md ` to ` Cargo.toml `
95+ - Added ` readme=README.md ` to ` Cargo.toml `
7696
77- ## [ Version 0.2.0] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.2.0 ) - 2019-01-24
97+ ## [ Version 0.2.0] - 2019-01-24
7898
79- ### Changes
99+ ### Changed
80100
81- * Reduce delay waiting for response. Big speed improvements.
101+ - Reduce delay waiting for response. Big speed improvements.
82102
83- ## [ Version 0.1.0] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.1.1 ) - 2018-12-23
103+ ## [ Version 0.1.0] - 2018-12-23
84104
85- ### Changes
105+ ### Changed
86106
87- * Can read blocks from an SD Card using an ` embedded_hal::SPI ` device and a
107+ - Can read blocks from an SD Card using an ` embedded_hal::SPI ` device and a
88108 ` 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.
109+ - Can read partition tables and open a FAT32 or FAT16 formatted partition.
110+ - Can open and iterate the root directory of a FAT16 formatted partition.
111+
112+ [ Keep a Changelog ] : http://keepachangelog.com/en/1.0.0/
113+ [ Semantic Versioning ] : http://semver.org/spec/v2.0.0.html
114+ [ Unreleased ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/compare/v0.6.0...develop
115+ [ Version 0.6.0 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/compare/v0.6.0...v0.5.0
116+ [ Version 0.5.0 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/compare/v0.5.0...v0.4.0
117+ [ Version 0.4.0 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/compare/v0.4.0...v0.3.0
118+ [ Version 0.3.0 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/compare/v0.3.0...v0.2.1
119+ [ Version 0.2.1 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/compare/v0.2.1...v0.2.0
120+ [ Version 0.2.0 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/compare/v0.2.0...v0.1.1
121+ [ Version 0.1.1 ] : https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.1.1
0 commit comments