Skip to content

v0.10.0

Compare
Choose a tag to compare
@PimCoumans PimCoumans released this 14 Feb 14:24
· 3 commits to main since this release
  • Fixed an issue with using a WeakValueProxy in a compound ReadOnlyProxy. Now currentValue is used properly.
  • Added WeakReadOnlyProxy to create weak proxies to read-only properties. These can also be created from a WeakValueProxy. Use observableValues.weak.yourProperty to create one of these. The main use-case (and the best footgun so far) is when using ReadOnlyProxy.compound(...) with local variables, as the compound read-only proxy stores the getter and introduces a retain cycle.

Full Changelog: 0.0.9...0.10.0