Skip to content

Commit 7dea622

Browse files
committed
Release 0.4
1 parent ea31248 commit 7dea622

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# 0.4.0 (Nov 26th, 2025)
2+
3+
## Breaking Changes
4+
5+
* Published field streams now yield the current value on first poll, then subsequent changes.
6+
* Published field streams' item type is now the raw field type (e.g., `State`) instead of
7+
`*Changed` struct with `previous` and `new` fields.
8+
* The `pub_setter` sub-attribute on `publish` has been removed. Use the new independent `setter`
9+
attribute instead (e.g., `#[controller(publish, setter)]`).
10+
11+
## New Features
12+
13+
* New `getter` attribute for fields: generates a client-side getter method. Supports custom naming
14+
via `#[controller(getter = "custom_name")]`.
15+
* New `setter` attribute for fields: generates a client-side setter method independent of `publish`.
16+
Supports custom naming via `#[controller(setter = "custom_name")]`. Can be combined with `publish`
17+
to also broadcast changes.
18+
119
# 0.3.0 (Nov 25th, 2025)
220

321
* Macro now operates on a module. This allows the macro to have a visibility on both the struct and

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "firmware-controller"
33
description = "Controller to decouple interactions between components in a no_std environment."
4-
version = "0.3.0"
4+
version = "0.4.0"
55
edition = "2021"
66
authors = [
77
"Zeeshan Ali Khan <zeenix@gmail.com>",

0 commit comments

Comments
 (0)