Skip to content

v0.13.0 - Auto reset expanded when `DefaultExpand` changes

Latest
Compare
Choose a tag to compare
@dmackdev dmackdev released this 22 Jul 09:31

What's Changed

  • Support automatic reset of expanded arrays/objects when DefaultExpand setting changes by @dmackdev in #47
  • Update editor demo by @dmackdev in #48

Full Changelog: v0.12.1...v0.13.0

🧳 Migration

By default, JsonTree now automatically resets expanded arrays and objects when the DefaultExpand setting changes between frames. You can safely remove any calls to JsonTreeResponse::reset_expanded that were done when the DefaultExpand setting changed.

If you wish to opt-out of this behaviour, you can disable it via JsonTree::auto_reset_expanded(false) when constructing the tree.