@@ -9,19 +9,35 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
9
9
10
10
### Changed
11
11
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
13
26
14
27
### Added
15
28
16
- - None
29
+ - New examples, ` append_file ` , ` create_file ` , ` delete_file ` , ` list_dir `
30
+ - New test cases ` tests/directories.rs ` , ` tests/read_file.rs `
17
31
18
32
### Removed
19
33
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 `
21
37
22
38
## [ Version 0.5.0] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.5.0 ) - 2023-05-20
23
39
24
- ### Changes
40
+ ### Changes in v0.5.0
25
41
26
42
- __ Breaking Change__ : Renamed ` Controller ` to ` VolumeManager ` , to better describe what it does.
27
43
- __ Breaking Change__ : Renamed ` SdMmcSpi ` to ` SdCard `
@@ -31,21 +47,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
31
47
- More robust card intialisation procedure, with added retries
32
48
- Supports building with neither ` defmt ` nor ` log ` logging
33
49
34
- ### Added
50
+ ### Added in v0.5.0
35
51
36
52
- Added ` mark_card_as_init ` method, if you know the card is initialised and want to skip the initialisation step
37
53
38
- ### Removed
54
+ ### Removed in v0.5.0
39
55
40
56
- __ Breaking Change__ : Removed ` BlockSpi ` type - card initialisation now handled as an internal state variable
41
57
42
58
## [ Version 0.4.0] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.4.0 ) - 2023-01-18
43
59
44
- ### Changes
60
+ ### Changes in v0.4.0
61
+
45
62
- Optionally use [ defmt] ( https://github.com/knurling-rs/defmt ) for logging.
46
63
Controlled by ` defmt-log ` feature flag.
47
64
- __ 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 >
49
66
- Added ` Controller::has_open_handles ` and ` Controller::free ` methods.
50
67
- __ Breaking Change__ : Changed interface to enforce correct SD state at compile time.
51
68
- __ 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.
58
75
59
76
## [ Version 0.3.0] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.3.0 ) - 2019-12-16
60
77
61
- ### Changes
78
+ ### Changes in v0.3.0
62
79
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 > )
70
87
71
88
## [ Version 0.2.1] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.2.1 ) - 2019-02-19
72
89
73
- ### Changes
90
+ ### Changes in v0.2.1
74
91
75
- * Added ` readme=README.md ` to ` Cargo.toml `
92
+ - Added ` readme=README.md ` to ` Cargo.toml `
76
93
77
94
## [ Version 0.2.0] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.2.0 ) - 2019-01-24
78
95
79
- ### Changes
96
+ ### Changes in v0.2.0
80
97
81
- * Reduce delay waiting for response. Big speed improvements.
98
+ - Reduce delay waiting for response. Big speed improvements.
82
99
83
100
## [ Version 0.1.0] ( https://github.com/rust-embedded-community/embedded-sdmmc-rs/releases/tag/v0.1.1 ) - 2018-12-23
84
101
85
- ### Changes
102
+ ### Changes in v0.1.0
86
103
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
88
105
` 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