版本发布 8
- Fix bug where state changes before render caused ElementNotInDom exceptions - Make ID generation random each time a graph is mounted, unless you specify a prefix (this will help with mounting different puepy components on the same page) **Full Changelog**: https://github.com/kkinder/puepy/compare/release/0.6.2...release/0.6.5
## What's Changed * Always retain changed element values by @kkinder in https://github.com/kkinder/puepy/pull/70 * Stop using kwargs to generate refs by @kkinder in https://github.com/kkinder/puepy/pull/71 * Support "nested" bind values by @kkinder in https://github.com/kkinder/puepy/pull/72 * Merge docs into main branch by @kkinder in https://github.com/kkinder/puepy/pull/74 * Add mkdocs mike for versioning by @kkinder in https://github.com/kkinder/puepy/pull/75 **Full Changelog**: https://github.com/kkinder/puepy/compare/release/0.5.0...release/0.6.2
## What's Changed * Always retain changed element values by @kkinder in https://github.com/kkinder/puepy/pull/70 * Stop using kwargs to generate refs by @kkinder in https://github.com/kkinder/puepy/pull/71 * Support "nested" bind values by @kkinder in https://github.com/kkinder/puepy/pull/72 * Merge docs into main branch by @kkinder in https://github.com/kkinder/puepy/pull/74 * Add mkdocs mike for versioning by @kkinder in https://github.com/kkinder/puepy/pull/75 **Full Changelog**: https://github.com/kkinder/puepy/compare/release/0.5.0...release/0.6.2
## What's Changed * Adding radio buttons by @vishwanathdugani in https://github.com/kkinder/puepy/pull/66 * Bump to PyScript 2024.11.1 ## New Contributors * @vishwanathdugani made their first contribution in https://github.com/kkinder/puepy/pull/66 **Full Changelog**: https://github.com/kkinder/puepy/compare/release/0.4.6...release/0.5.0
## What's Changed * Upgrade to pyscript 2024.9.2 by @kkinder in https://github.com/kkinder/puepy/pull/64 **Full Changelog**: https://github.com/kkinder/puepy/compare/release/0.4.5...release/0.4.6
## What's Changed * Add CssClass for runtime CSS definitions by @kkinder in https://github.com/kkinder/puepy/pull/60 **Full Changelog**: https://github.com/kkinder/puepy/compare/release/0.4.1...release/0.4.5
## What's Changed * Update README.md by @kishankarun in https://github.com/kkinder/puepy/pull/43 and https://github.com/kkinder/puepy/pull/53 * Update watchers.py by @kishankarun in https://github.com/kkinder/puepy/pull/47 * Use threading http server by @kkinder in https://github.com/kkinder/puepy/pull/54 ## New Contributors * @kishankarun made their first contribution in https://github.com/kkinder/puepy/pull/43 **Full Changelog**: https://github.com/kkinder/puepy/compare/release/0.4.0...release/0.4.1
## Breaking Changes Updated examples etc to PyScript 2024.8.2, which uses await by default for top-level code, per its [release notes](https://github.com/pyscript/pyscript/releases/tag/2024.8.2): > BREAKING CHANGE PyScript now uses a top level await by default. You used to have to include the async flag to enable this. Now, instead, use async="false" to revert the behaviour back to the old default behaviour. We made this change because many folks were await-ing functions and missing or not realising the need for the (old) async attribute. Hence the flip in behaviour (https://github.com/pyscript/pyscript/pull/2134). This change makes a lot of sense and I recommend following it. If you upgrade PuePy while using the previous version PyScript, it should keep working, but it isn't something that's part of the test suite. Since that's a breaking change (sort of), I'm bumping to 0.4.0. ## What's Changed * Update PyScript to version 2024.8.2 in examples by @kkinder in https://github.com/kkinder/puepy/pull/51 **Full Changelog**: https://github.com/kkinder/puepy/compare/release/0.3.7...release/0.4.0