Valetudo 2021.06.0 #968
Hypfer
announced in
Release Discussions
Replies: 1 comment 6 replies
-
Thanks for another release.
Could you clarify what happened to zones? why was it removed? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
2021.06.0
This release features Swagger UI for proper REST API Documentation.
Also bugfixes and stability + performance improvements like the changelog of every single android app you have installed.
Swagger UI
In a tedious and brain-melting process, OpenAPI documentation was added to Valetudo.
By navigating to
ROBOT_IP/swagger/
you now have an interactive overview for the REST API, which directly lets you interface with the robot.The schemas made for this are also used by the backend to validate every incoming request.
Since staring at JSON Schemas all day is a pretty mind-numbing task, I didn't manage to also add examples for all responses and requests.
I did however add examples for the Timers Endpoint, meaning that it is now easier to use those again.
UI support of course coming soon.
Config file Schema Validation
The new schemas are also used to validate the configuration file loaded by Valetudo.
If any errors arise, Valetudo will backup the config and create a new one using the defaults.
This will prevent issues with Valetudo not starting due to invalid configuration data.
The log will tell you what exactly was wrong in your config and where you can find the backup.
Other noteworthy changes
NodeJS v16.4.0
The Runtime was upgraded to v16.4.0 which brings v8 9.1 including the new Sparkplug thingy, which may result in CPU performance improvements.
MQTT ignores retained messages
A common rookie mistake is that command MQTT messages are sent with the retain flag causing the robot to receive them on every reconnect.
This effectively executed a cleanup on each reboot at 4am.
To combat this, Valetudo will now simply ignore all retained messages received and complain about them in the logfile.
System REST Endpoints
There are new REST Endpoints providing system statistics such as Memory or CPU usage.
/api/v2/system/host/info
Code Compression
Due to the switch to
vercel/pkg
5.3.0, Valetudo now uses the code compression feature, which results in smaller binaries.Memory Usage
MQTT Map compression is now streamed, which may or may not improve memory usage on 256mb ram robots.
Autogenerated changelog
Features
Bug Fixes
This discussion was created from the release Valetudo 2021.06.0.
Beta Was this translation helpful? Give feedback.
All reactions