Skip to content

Releases: quartiq/miniconf

v0.15.0

01 Oct 08:58
v0.15.0
c9da02a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.14.1...v0.15.0

v0.14.1

30 Sep 12:57
v0.14.1
1141cf1
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.14.0...v0.14.1

v0.14.0

30 Sep 12:57
v0.14.0
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.13.1...v0.14.0

v0.13.1

10 Jul 17:36
v0.13.1
Compare
Choose a tag to compare

Full Changelog: v0.13.0...v0.13.1

v0.13.0

10 Jul 16:15
v0.13.0
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.12.0...v0.13.0

v0.12.0

09 Jul 16:09
v0.12.0
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.10.1...v0.12.0

miniconf-v0.11.0

02 May 22:50
Compare
Choose a tag to compare

What's Changed

Full Changelog: miniconf-v0.10.1...miniconf-v0.11.0

Miniconf v0.10.0

22 Apr 14:50
412fbeb
Compare
Choose a tag to compare

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()] without depth 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 over Iterator<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 to Error::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() and iter_indices_unchecked()
  • Derive macros: Support for fallible getter/setter/validation callbacks
  • Support for bit-packed keys Packed and iter_packed()/iter_packed_unchecked()
  • A postcard feature and Postcard trait and blanket implementation
  • TreeKey::len()
  • The typ derive macro attribute

Full Changelog: v0.9.0...v0.10.0

miniconf-v0.10.1

22 Apr 15:41
Compare
Choose a tag to compare

Miniconf v0.9.0

01 Nov 14:17
d73adc4
Compare
Choose a tag to compare

Changed

  • The Miniconf trait has been split into TreeKey for the keys/path/indices and traversal,
    the TreeSerialize for serialization, and TreeDeserialize 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 the MqttClient 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 of AsRef<str> types

Added

  • Deserializing with borrowed data is now supported.
  • [derive] Added #[tree(skip)] macro attribute to allow skipping entries.