Skip to content

Fix parameter state synchronization and release 1.3.0-alpha04 - #15

Merged
oleginvoke merged 6 commits into
masterfrom
fix/param-state-synchronization
Oct 13, 2026
Merged

oleginvoke merged 6 commits into
masterfrom
fix/param-state-synchronization

Conversation

@oleginvoke

Copy link
Copy Markdown
Owner

Selecting surface could highlight background when their values were equal, and a selected theme color stayed stale after the options changed. Parameter state now preserves the chosen option name and follows that option's current value across theme and product-palette changes.

Programmatic nullable assignments now keep the activity checkbox and restoration history in sync: null disables the parameter, a non-null value enables it, and reactivation restores the latest value or the current value of the saved named option. This also handles batched writes and Compose snapshot rollback. Equal assignments remain no-ops; programmatic choices are expected to belong to the declared options.

Adds characterization and regression coverage for named and unnamed defaults, equal values, null, option normalization and inference, recomposition, assignment priority, and snapshot behavior. Getter reads remain direct state reads; option reconciliation occurs during binding updates. Updates README documentation and dependency examples for 1.3.0-alpha04.

Validation:

  • 356 runtime tests and 32 lint tests passed, with no failures or skipped tests.
  • Runtime release lint, sample release assembly, processor checks, and API consumer debug/release compilation passed.
  • Both Maven publications were generated and signed with version 1.3.0-alpha04.
  • Website tests, build, and link/metadata checks passed.

@oleginvoke
oleginvoke merged commit 03c26c7 into master Oct 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant