4.4.0
AppDaemon Release 4.4.0
Python 3.11 support, TOML config files and more!
Features
- AUI Now shows performance stats for plugin network access
- New CI pipeline designed and configured by Carlo
Mion - Add support for python 3.11
- run_at() support for times that have already passed #1684
- Add TOML Support
- App endpoints now support the GET method
- Many changes to docker image including update to Alpine py3 packages - contributed by Nigel Rook
- Apps can now accept additional arguments using pythons native dictionary unpacking (** operator) instead of a dictionary
- Rename parameters for the old kwargs mechanism to cb_args to make the distinction
- Added type hints and a section on how to use with your IDE
Fixes
- Trailing slash on hass url breaks connectivity #999
- parse_time("sunset") and impact of "aware" #1645
- constrain_person not working #1437
- last_changed_seconds wrong due to timezone #1571
- Fixed a long standing bug that caused some callbacks to be 1 hour early or later after a DST transition
- Fixed an issue with sunset and sunrise based constraints on systems that use UTC instead of local timr that also affected
now_is_between()
- This also fixed a long standing issue with sun_up() and sun_down()
Breaking Changes
- Remove Python 3.7 test coverage prior to deprecation at EOL in 6/23
- Register endpoint for async callbacks has been harmonized with the async version and supplies just the arguments received and not the request object
Versioning note for 4.4.0 - This release was intended to be 4.3.0, however a problem with the new packaging pipeline blocked use of that version number on PyPi.
What's Changed
- Test PR by @acockburn in #1653
- Add per plugin rate display to AUI by @acockburn in #1660
- CI: basic GitHub actions by @mion00 in #1656
- ADD Perf Stats to MQTT Plugin by @acockburn in #1662
- Improve packaging of application by @mion00 in #1661
- docs(conf.py): fix import of appdaemon.version by @mion00 in #1663
- docs(.readthedocs.yaml): improve requirements handling by @mion00 in #1664
- ci(python-tests.yml): Update actions/setup-python to v4 by @mion00 in #1665
- CI: automatic build by @mion00 in #1666
- Bump black from 22.3.0 to 23.1.0 by @dependabot in #1667
- Dockerfile improvements by @NigelRook in #1655
- CI: Optimize docker build by @mion00 in #1669
- Fix Docker build by @mion00 in #1670
- CI: Update dependabot config by @mion00 in #1671
- Docs: automatic build by @mion00 in #1672
- Bump flake8 from 3.7.8 to 6.0.0 by @dependabot in #1668
- CI: Use pre-commit Github action by @mion00 in #1674
- Fix
arm/v6,v7
builds, pin dependency versions inrequirements.txt
by @mion00 in #1673 - Change HISTORY.rst to markdown format for easier inclusion in forum posts and release notes. by @acockburn in #1675
- docs(DEV): fix link to Docker section by @mion00 in #1676
- feat(ISSUE_TEMPLATE): add github issue forms by @mion00 in #1679
- ci(stale-issues.yml): add
stale
action to Github CI by @mion00 in #1682 - ci(stale-issues.yml): use lowercase
stale
label by @mion00 in #1683 - build(dockerStart.sh): refactor
apk add
command by @mion00 in #1685 - Initial TOML Support by @acockburn in #1689
- Enable use of alpine py3-* images in docker by @NigelRook in #1687
- ci(build-deploy.yml): push to Docker Hub only if workflow is running in repository
acockburn/appdaemon
by @mion00 in #1694 - ci(build-deploy.yml): correctly set Docker latest tag only on release versions by @mion00 in #1695
- Docs: update installation and configuration instructions by @mion00 in #1697
- Add ability to use dictionary unpacking (**kwargs) in callbacks by @acockburn in #1701
- Update INSTALL.rst to include init.d instructions. Correct DEV.rst on… by @colossatr0n in #1699
- Configure ruff and remove flake8 by @acockburn in #1708
- Bump python-socketio from 5.5.2 to 5.8.0 by @dependabot in #1715
- Bump pre-commit from 3.1.1 to 3.2.0 by @dependabot in #1719
- Bump deepdiff from 6.2.3 to 6.3.0 by @dependabot in #1718
- Type Hints by @acockburn in #1720
- Corrected bug in file extension check by @eulores in #1723
- App management TOML by @acockburn in #1726
- Add Docs for TOML by @acockburn in #1727
New Contributors
- @mion00 made their first contribution in #1656
- @colossatr0n made their first contribution in #1699
- @eulores made their first contribution in #1723
Full Changelog: 4.2.3...4.4.0