0.21: Improved Web and support for EnOcean, LIRC and Osram Lightify

现在到了发布 0.21 的时候了,这个版本包含了大量核心改进:我们用标准化的 WSGI 栈替换了自研的 HTTP 栈。这将提升性能、速度与安全性,也会让未来开发高级 HTTP 功能变得更加轻松。

这项工作由非常出色的 Josh Wright 主导。自从他开始参与以来,他的专业知识、严格标准以及对安全的坚持,持续推动 Home Assistant 显著进步。让我们为 Josh 喝彩!

好了,来看本次更新内容:

Backward-incompatible changes

  • Our work in the WSGI stack is not fully done yet. We still have a minor issues where retrieving the 错误 日志 in the about screen can raise an encoding 错误
  • The API used to incorrectly accept a JSON body with form-url-encoded headers. Our cURL examples on the website used to be wrong and have been updated.
  • Make sure your 配置.yaml file contains frontend: to serve the 前端

Hotfixes 0.21.1 and 0.21.2

We released two hotfixes to address some issues that couldn't wait till the next 发布.

0.21.1 - June 12
  • Add eventlet to base requirements to resolve some 安装 issues (@balloob)
  • GTFS will filter out routes in the wrong direction (@imrehg)
  • Recover from rare 错误 条件 from LIRC (@partofthething)
  • Z-Wave autoheal will no longer raise exception (@balloob)
  • Alexa will now execute the 脚本 before making reply (@balloob)
  • Fix MJPEG 摄像头 streaming (@stjohnjohnson)
  • Fix 前端 in older browsers (@balloob)
  • Fix history in more info dialog being cut off (@balloob)
0.21.2 - June 15
  • Fix input_select calling the set_option 服务 again when changed (@persandstrom)
  • Fix more info dialog not being able to open on Safari (@balloob)
  • Add support for OPTIONS HTTP command to get CORS working (@JshWright)