Skip to content

v0.7.0

Latest

Choose a tag to compare

@partymola partymola released this 05 Sep 22:57
· 1 commit to main since this release

Fixed

  • bosch_get_components refuses a component type it cannot match instead of answering with an empty list. component_type="DRIVEUNIT" and component_type="not-a-component" both came back as no components, which reads as a bike without that part rather than as a filter the server could not use, and wrong case alone was enough to produce one. The filter is now matched against the types your bikes registered, ignoring case, and a value none of them match is refused with those types named. Bosch owns this vocabulary and a future bike can register a type this server has never seen, so the accepted values are read from your own data rather than declared in the tool's schema.
  • A type stored under more than one spelling answers under all of them. A bike's profile keys and its registrations can describe the same part, so asking for battery no longer hides rows held as Battery.

Changed

  • component_type="" is refused rather than read as no filter at all. It previously returned every component on every bike, which answers a question the caller did not ask.