github Hypfer/Valetudo 2022.06.0
Valetudo 2022.06.0

latest releases: 2024.02.0, 2023.12.0, 2023.10.0...
23 months ago
valetudo

2022.06.0

Another maintenance release featuring upgraded dependencies, refactoring and some bugfixes

Bonjour/mDNS fixes

Users can now discover multiple robots of the same model in their home network:

Apparently, the Bonjour service name needs to be unique or else some bonjour implementations will deduplicate it.
Because of this, the companion app only displayed one robot even though there were multiple ones on the network.

Nightly build enhancements

The nightly update provider will now display a changelog of all changes since the last release.

You can switch to the nightly update provider by changing the updater.updateProvider.type in your valetudo_config.json to github_nightly.
Please keep in mind that nightly builds might be unstable. They should only be used by people that know what they're doing and are willing to handle occasional breakage.

UI Improvements

Multiple issues that caused the live map to stop refreshing have been fixed.

Checking back on the Valetudo UI after having it in a background tab for a while during a cleanup will now display the latest map data.
Also, running Valetudo behind a flaky reverse proxy should not interfere with the SSE connection anymore.

Boring chores

This release features plenty of dependency upgrades, the migration to create-react-app 5 and more.
It also contains a lot of refactorings that should further improve the code quality.

While all that doesn't offer any directly noticeable benefits to the user, it is worth noting nonetheless, as keeping the project well-maintained is vital to its longevity.

The exciting stuff will hopefully happen later this year :-)

Apart from code changes, I've been busy figuring out how to build statically linked recent versions of common tools that might be added to our robot firmware images. It's all done using dockerfiles to make it easy to understand, document and reproduce.
Interestingly, information on the internet do to just that is rather sparse so this might also be useful to someone with a different embedded use-case.

You can find that stuff here: https://github.com/Hypfer/valetudo-misc
If you're missing a tool there please let me know

Other news

As mentioned in the previous release notes, we're currently still pretty busy figuring out how to root new robots and/or firmware versions.
Since that worked well in the past, I shall continue mentioning it here.

If you want to see Valetudo on more robots and/or like this release, you might want to consider donating if you haven't done so already:

https://github.com/sponsors/Hypfer

https://builder.dontvacuum.me/donations.txt

Autogenerated changelog

The autogenerated changelog generation has been updated to be even better and less of a hassle to use.
Enjoy

Breaking Changes

  • timers: Updating timers should be a PUT instead of a POST 9c57f0c

Features

  • updater: Add changelog to nightly update provider 3a874db
  • mqtt: Deduplicate mqtt map data as well 269aa30

Fixes

  • networkadvertisement: Bonjour service names need to be unique 956487e
  • ui: Remove obsolete css statement 6793c67
  • ui: Fix map SSE EventSource not reconnecting on error d84efd5
  • ui: fix circular chunk dependency 271e53c
  • ui: Fix map not properly redrawing on visibility state change bd77d2e
  • utils: hash key instead of value (#1503) bae09ab
  • miio: Fix ERR_HTTP_HEADERS_SENT exception (#1501) a47f3b9
  • vendor.dreame: The STYTJO6ZHM does not feature a watertank 9b75974
  • vendor.roborock: copy statusflag from previous state on state update (#1497) 84de0ef

Refactoring

  • updater: Move type constant to update providers 5ca525e
  • vendor.roborock: Improve logic legibility in ZoneCleaningCapability 560a50e
  • ui: Port map color finder to typescript 6c1b126
  • ui: Make use of webpack 5 and convert the map layer render webworker to typescript d17b66d
  • ui: Port map touch handling to typescript 9548012
  • ui: Do not monkey patch the 2d context of the map renderer 212e4f5
  • ui: Remove unnecessary nullchecks in the map component 96ba8cf
  • vendor.dreame: Improve mop dock settings handling 412a65a
  • miio: Unify previously duplicated map poll code 356d144

Chores

  • release: 2022.06.0 3504a4a
  • Fix nightly changelog generation 2c73de3
  • Minor misc code cleanups 3c3c561
  • More dependency changes 0becd44
  • Delete obsolete Events.js 5176cce
  • Bump dependencies 8ae420c
  • bump GitHub codeql action to v2 643dcc5
  • vendor.dreame: Add documentation on the mop dock settings data format 881f717
  • typo fix 41055d1

Don't miss a new Valetudo release

NewReleases is sending notifications on new releases.