Skip to content

Releases: VisualBoy/PrusaConnect-Bridge

0.1.4c

0.1.4c Pre-release
Pre-release

Choose a tag to compare

@VisualBoy VisualBoy released this 09 Jun 01:48
a74b17a

Refactor FileSystemNode usage to dictionaries for SDK v0.8.1+ compatibility

The Prusa Connect SDK (v0.8.1 and later) replaced the custom FileSystemNode class and NodeType enum with standard Python dictionaries for representing filesystem entries.

This commit updates the decorated_handle_send_info function in octoprint_prusaconnectbridge/__init__.py:

  • Removes the import of FileSystemNode and NodeType.
  • Modifies the build_fs_tree helper function to create and populate dictionaries instead of FileSystemNode objects. Node types 'DIR' and 'FILE' are now used as string literals.
  • Assumes the SDK's self.prusa_printer.fs.root attribute is now expected to be a dictionary representing the root of the filesystem, and that its children key will hold the list of file/folder dictionaries.
  • Direct assignments to self.prusa_printer.fs.fs_free_space and self.prusa_printer.fs.fs_total_space are maintained.

These changes are based on the description of the SDK's refactoring. Further validation of the exact interaction API with Printer.fs may be needed if issues arise in testing with the new SDK version.

0.1.4

0.1.4 Pre-release
Pre-release

Choose a tag to compare

@VisualBoy VisualBoy released this 09 Jun 01:09
889a1a9

Merge pull request #9 from VisualBoy/fix/upgrade-prusasdk-dependency

0.1.3

0.1.3 Pre-release
Pre-release

Choose a tag to compare

@VisualBoy VisualBoy released this 08 Jun 23:56
53cc71e

Fix: Upgrade prusa-connect-sdk-printer to >=0.7.1

0.1.2_RC1

0.1.2_RC1 Pre-release
Pre-release

Choose a tag to compare

@VisualBoy VisualBoy released this 07 Jun 16:26
8f58c9f

Release candidate 1