Releases: quartiq/miniconf
Releases · quartiq/miniconf
v0.15.0
v0.14.1
v0.14.0
What's Changed
- release v0.13.0 by @jordens in #228
- export discover_one by @jordens in #229
- misc by @jordens in #230
- remove KeyLookup::NAMES and apply dependencies update by @jordens in #231
- examples by @jordens in #232
- derive support for enums with newtype/unit variants by @jordens in #233
Full Changelog: v0.13.1...v0.14.0
v0.13.1
Full Changelog: v0.13.0...v0.13.1
v0.13.0
v0.12.0
What's Changed
- move readme around by @jordens in #203
- docs by @jordens in #204
- tweaks by @jordens in #206
- TreeAny, accessors/rename, JSONPath by @jordens in #207
- lookup by @jordens in #210
- release v0.11.0 by @jordens in #211
- crosstrait by @jordens in #212
- crosstrait: support non-static custom registry by @jordens in #213
- partial iter by @jordens in #214
- Updating CI workflow by @ryan-summers in #216
- CLI/NodeIter/Transcode by @jordens in #217
- docs by @jordens in #218
- Refactoring to use aiomqtt python client by @ryan-summers in #215
- mqtt rs rework by @jordens in #220
- follow up changes to mqtt rework by @jordens in #221
- move miniconf mqtt integration, republication and validation tests to py test by @jordens in #222
- mqtt rs rework by @jordens in #223
Full Changelog: v0.10.1...v0.12.0
miniconf-v0.11.0
What's Changed
- move readme around by @jordens in #203
- docs by @jordens in #204
- tweaks by @jordens in #206
- TreeAny, accessors/rename, JSONPath by @jordens in #207
- lookup by @jordens in #210
- release v0.11.0 by @jordens in #211
- crosstrait by @jordens in #212
Full Changelog: miniconf-v0.10.1...miniconf-v0.11.0
Miniconf v0.10.0
Changed
- [breaking] Python lib signatures have changed (Miniconf.create(), discover())
- Python lib discovery timeout has been optimized to work well for both slow
connections (high RTT) and fast ones - [breaking] The MQTT client does not own the miniconf settings struct anymore.
- [breaking]
handled_update()
has been removed from the MQTT client in favor of validator/getter/setter callbacks. - [breaking] The MQTT client has been split into its own
miniconf_mqtt
crate. - [breaking] The attribute syntax has changed from
#[tree(depth(1))]
to#[tree(depth=1)]
. - [breaking] The default depth is
0
, also in the case where a#[tree()]
withoutdepth
has been specified. - [breaking] The
traverse_by_key
callback also receives the number of indices at the given level. - The trait methods are now generic over
Keys
and not overIterator<Item: Key>
.
A blanket implementation has been provided. JsonCoreSlash::{set,get}_json_by_indices()
removed in favor of{get,set}_json_by_key()
.- [breaking]
Error::PostDeserialization
renamed toError::Finalization
. - [breaking]
json-core
removed from default features. - [breaking] Bumped MSRV to 1.70.0
Added
- Python MQTT lib: Support for clearing a retained setting
- Python MQTT CLI: get() support
TreeKey::iter_indices()
anditer_indices_unchecked()
- Derive macros: Support for fallible getter/setter/validation callbacks
- Support for bit-packed keys
Packed
anditer_packed()
/iter_packed_unchecked()
- A
postcard
feature andPostcard
trait and blanket implementation TreeKey::len()
- The
typ
derive macro attribute
Full Changelog: v0.9.0...v0.10.0
miniconf-v0.10.1
Full Changelog: v0.10.0...miniconf-v0.10.1
Miniconf v0.9.0
Changed
- The
Miniconf
trait has been split intoTreeKey
for the keys/path/indices and traversal,
theTreeSerialize
for serialization, andTreeDeserialize
for deserialization.
The derive macros have been split accordingly. A shorthand#[derive(Tree)]
macro has been
added to derive all three traits. The struct field attribute controlling
recursion depth has been renamed to#[tree(depth(Y))]
. - [mqtt] The
List
command of theMqttClient
now has a maximum correlation data length of 32 bytes - [mqtt] The
MqttClient
API has changed to support new Minimq versions - [mqtt] The
Get
command now only generates a single message in response to the provided
ResponseTopic instead of a response type (with success) and a message on the original topic. - [mqtt] Handler function singatures now require
Display
instead ofAsRef<str>
types
Added
- Deserializing with borrowed data is now supported.
- [derive] Added
#[tree(skip)]
macro attribute to allow skipping entries.