Pyscript 1.4.0 release
The 1.4.0 release supports the HASS 2023.3 release.
This release has several bug fixes:
- Boolean operators (eg:
and) return correct type, not integer (see #335); reported by @ccapndave. - Fixed setting of
kwargswhenstate_hold != None(see #374, #382); reported by @jkrasinger and PR by @ALERTua. - Decorator function arguments now expand
*list(see #420); reported by @fovea1959. - Jupyter kernel interface ignores
comm_open,comm_msgandcomm_closemessages (see #390); reported by @tms320. - Fix boolean operator truth test (see #438); reported by @Kaptensanders.
- Fixed unexpected triggers by
@event_triggerdue to prior trigger variables persisting in the context's symbol table; fixed by ensuring local symbol table is overwritten by default (see #439); reported by @Michael-CGN. - Ensure user decorator functions start triggers in correct context (see #428, #457); reported by @j-steve.
- Added
translations/sk.json(see #441); PR by @misa1515. - Added
functoolstoALLOWED_IMPORTS(see #432); requested by @oxan. - Bump Python to version to 3.10 for tests, and updated various versions of packages.
- Bump the required version of the
watchdogmodule to 2.2.1, which matches the required version in thefolder_watcherintegration in 2023.6. - Update
README.mdto correct HACS URL (see #348); PR by @wrt54g). - Fix link to developer docs (see #373); PR by @robertgresock.
Enjoy!