release: 0.21.0 (declarative device trees + configurable Homie domain) - #63
Merged
Conversation
Bumps __version__ to 0.21.0 (single source of truth), promotes Unreleased to [0.21.0], and adds the tag link definition. Three additive features, no breaking changes: #58 PropertySpec reaches property-level parity: round_to, initial_value, retained, internal_only, conditionally_settable, and the source_id / model_group identity splits. #57 DeviceSpec + DeviceTreeBuilder, a tree-aware incremental builder over an externally-owned model, with late-bound device ids and depth-first teardown. #61 Device(homie_domain=...): a tree can publish under any Homie 5 domain, making this a Homie 5 library that defaults to eBus rather than an eBus-only one. One behavior change, in #58: bind_property_to_homie binds a non-retained property on-set rather than on-change. It only affects event properties, which previously could not emit a repeated event at all, because the observable model's change gate swallowed it above the Homie layer. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps
__version__to 0.21.0 (single source of truth), promotes[Unreleased]to[0.21.0], and adds the tag link definition. No code changes.What's in the release
PropertySpecproperty-level parity:round_to,initial_value,retained,internal_only,conditionally_settable, and thesource_id/model_groupidentity splitsDeviceSpec+DeviceTreeBuilder: tree-aware incremental builder over an externally-owned model, late-bound device ids, depth-first teardownDevice(homie_domain=...): publish a tree under any Homie 5 domainMinor rather than patch: three additive features. Not major: nothing breaks.
The one behavior change is in #58.
bind_property_to_homienow binds a non-retained property on-set rather than on-change. It affects only event properties, which previously could not emit a repeated event at all, because the observable model's change gate sat above the Homie layer and swallowed the repeat before the publish-on-change exemption could apply. Retained properties are untouched, and a twin that does not answerretained()is treated as retained.Verification
ruff checkandruff format --checkclean; markdownlint clean on all 7 tracked.mdfilespython -m buildproducesebus_sdk-0.21.0.tar.gzandebus_sdk-0.21.0-py3-none-any.whl; wheelMETADATAreadsVersion: 0.21.0and carries all 14 modulesebus_sdk.__version__,pyproject.toml's dynamic attr, and thesetup.pyregex shimAfter merge, tagging
v0.21.0triggerspublish.yml, which re-checks that the tag equalsv+__version__before publishing anything.🤖 Generated with Claude Code