Release Notes
6 min
latest release view on github https //github com/litmusautomation/litmus sdk releases/releases wheels are downloaded from the same page 2 6 0 highlights raw=true opt out added to most devicehub list functions returns the api json unchanged, skipping pydantic validation useful when the schema drifts ahead of your installed sdk or you only need a subset of fields critical bug fix binary flow downloads ( flows download flow file , flows download flow logs ) were silently corrupted by utf 8 decode in prior versions they now return proper bytes if you saw mangled output or the literal string "none" from these functions before, upgrade critical bug fix system templates download template complete() raised typeerror on every call due to a wrong internal kwarg name now works as documented bug fix litmussdk flows all raised nameerror on package import in some setups resolved new litmussdk version package attribute, read from package metadata raw=true opt out the following list functions now accept raw bool = false devicehub devices list devices devicehub devices list device by id devicehub drivers list all drivers devicehub tags list all tags devicehub tags list registers from single device devicehub browse list browse tasks devicehub browse cart get items by device when raw=true , the function returns list\[dict\[str, any]] (or dict\[str, any] for single item getters) instead of the parsed pydantic model the default remains raw=false , so existing code keeps working unchanged \# parsed model (default, unchanged) devices list devices() # list\[device] \# raw api json devices list devices(raw=true) # list\[dict\[str, any]] internal changes these don't affect your code, but are worth noting if you maintain sdk forks or read internals the default connection substitution decorator now matches sentinels by identity ( is ) instead of value equality half constructed connection objects are no longer silently swapped for the env loaded default; they fail loudly downstream audited as a no op for any documented usage added simple binary api call in litmussdk utils api for binary endpoints (used by the flow download functions) substantial type stub coverage improvements across lem lifecycle , devicehub devices , and devicehub drivers ci / infrastructure ci/cd migrated from gitlab to github actions coverage badges published to github pages (separate le and lem badges) action versions bumped to ones running on node js 24 actions/upload artifact v5 > v7, actions/download artifact v5 > v8 dependency updates black 25 1 0 > 26 3 1 brotli 1 1 0 > 1 2 0 python dotenv 1 1 0 > 1 2 2 urllib3 2 4 0 > 2 6 3 requests 2 32 3 > 2 33 0 wheel 0 45 1 > 0 46 2 setuptools 78 1 0 > 78 1 1 breaking changes none for documented usage the decorator identity match change above is technically a tighter contract but audited as having zero impact on any internal or external code path for older releases, see the github release archive https //github com/litmusautomation/litmus sdk releases/releases