1
+ <!-- markdownlint-disable MD024 -->
1
2
# Changelog
2
3
3
- This document describes the changes to Minimq between releases .
4
+ All notable changes to this project will be documented in this file .
4
5
5
- # Unreleased
6
+ The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
7
+ and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
8
+
9
+ ## [ 0.10.0] ( https://github.com/quartiq/minimq/compare/v0.9.0...v0.10.0 ) - 2025-01-27
6
10
7
11
## Changed
12
+
8
13
* The ` Publication::finish() ` API was removed in favor of a new ` Publication::respond() ` API for
9
14
constructing replies to previously received messages.
10
15
* ` DeferredPublication ` has been removed: pass a ` FnOnce(&mut [u8]) ` as payload.
@@ -14,52 +19,58 @@ constructing replies to previously received messages.
14
19
# [ 0.9.0] - 2024-04-29
15
20
16
21
## Fixed
22
+
17
23
* Fixed an issue where a corrupted mqtt header length could result in a crash
18
24
* [ breaking] ` embedded-nal ` bumped
19
25
20
26
# [ 0.8.0] - 2023-11-01
21
27
22
28
## Changed
29
+
23
30
* [ breaking] Const generics for message size and allowable in-flight messages have been removed.
24
31
Instead, the user now supplies an RX buffer, a TX buffer, and a session state buffer.
25
- * Setup-only configuration APIs such as ` set_will() ` and ` set_keepalive_interval() ` have been moved
32
+ * Setup-only configuration APIs such as ` set_will() ` and ` set_keepalive_interval() ` have been moved
26
33
to a new ` Config ` structure that is supplied to the ` Minimq::new() ` constructor to simplify the
27
34
client.
28
35
* Added a new ` correlate() ` API to publication builder to easily add correlation data.
29
36
30
-
31
37
## Added
38
+
32
39
* Support for subscribing at ` QoS::ExactlyOnce `
33
40
* Support for downgrading the ` QoS ` to the maximum permitted by the server
34
41
* Brokers may now be provided using domain-name syntax or static IP addresses.
35
42
36
43
## Fixed
44
+
37
45
* Fixed an issue where PubComp was serialized with an incorrect control code
38
46
* Fixed an issue where some response control packets would be improperly serialized
39
47
* The client now respects the server max packet reception
40
48
41
-
42
49
# [ 0.7.0] - 2023-06-22
43
50
44
51
## Fixed
52
+
45
53
* [ breaking] Embedded-nal version updated to 0.7
46
54
* Fixed an issue where the MQTT client would become permanently inoperable when the broker
47
55
disconnected under certain conditions.
48
56
49
57
# [ 0.6.2] - 2023-04-05
50
58
51
59
## Fixed
60
+
52
61
* ` UserProperty ` now properly serializes key-then-value. Serialization order was previously
53
62
unintentionally inverted.
54
63
55
64
# [ 0.6.1] - 2022-11-03
56
65
57
66
## Fixed
67
+
58
68
* ` PubAck ` can now be deserialized when no properties are present, but a reason code is specified.
59
69
60
70
# [ 0.6.0] - 2022-11-03
61
71
62
72
## Added
73
+
63
74
* Allow configuration of non-default broker port numbers
64
75
* Support added for QoS::ExactlyOnce transmission
65
76
* ` poll() ` now supports returning from the closure. An ` Option::Some() ` will be generated whenever
@@ -72,6 +83,7 @@ constructing replies to previously received messages.
72
83
messages.
73
84
74
85
## Changed
86
+
75
87
* [ breaking] The client is no longer publicly exposed, and is instead accessible via ` Minimq::client() `
76
88
* Single MQTT packets are now processed per ` Minimq::poll() ` execution, reducing stack usage.
77
89
* [ breaking] External crate is now used for ` varint ` encoding. Varints changed to u32 format.
@@ -85,25 +97,29 @@ constructing replies to previously received messages.
85
97
the ` Publication ` builder utility.
86
98
87
99
## Fixed
100
+
88
101
* All unacknowledged messages will be guaranteed to be retransmitted upon connection with the
89
102
broker.
90
103
* The ` ReceiveMaximum ` property is now sent in the connection request to the broker
91
104
92
105
# [ 0.5.3] - 2022-02-14
93
106
94
107
## Added
108
+
95
109
* Property comparison now implements PartialEq
96
110
97
111
# [ 0.5.2] - 2021-12-14
98
112
99
113
## Fixed
114
+
100
115
* Made ` mqtt_client ` module public to correct documentation
101
116
* Partial packet writes no longer cause the connection to the broker to break down.
102
117
[ #74 ] ( https://github.com/quartiq/minimq/issues/74 )
103
118
104
119
# [ 0.5.1] - 2021-12-07
105
120
106
121
## Fixed
122
+
107
123
* Fixed an issue where the keepalive interval could not be set properly. See
108
124
[ #69 ] ( https://github.com/quartiq/minimq/issues/69 ) .
109
125
* Fixed an issue where the keepalive interval was not set properly. See
@@ -112,6 +128,7 @@ broker.
112
128
# [ 0.5.0] - 2021-12-06
113
129
114
130
## Added
131
+
115
132
* Support for the ` Will ` message specification.
116
133
* [ breaking] Adding ` retained ` flag to ` publish() ` to allow messages to be published in a retained
117
134
manner.
0 commit comments