Skip to content

1.8.6

Latest

Choose a tag to compare

@fatbobman fatbobman released this 03 Mar 05:35

This release improves macro maintainability and fixes several behavior inconsistencies in generated code.

Fixes

  • Fixed @CloudBacked diagnostics to report the correct macro type and reject invalid custom-key expressions.
  • Fixed @ObservableCloud(observeFirst: true) so observable-only properties no longer participate in external cloud notification handling.
  • Fixed generated @ObservableCloud(syncImmediately: true) initializers so the macro default is preserved.
  • Fixed observer lifetime issues by removing host-observer retain cycles and explicitly managing notification tokens.
  • Tightened macro argument validation for invalid boolean, prefix, suite-name, and interpolated string arguments.

Maintenance

  • Added dedicated macro expansion snapshot, structure, and diagnostic tests.
  • Added runtime regression tests for observer deallocation and post-release notification behavior.
  • Documented the macro maintenance workflow and retained the new guardrail test suite for future changes.