Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    plugin.json any way to support multiple dsf / dwc versions?

    Scheduled Pinned Locked Moved Solved
    Plugins for DWC and DSF
    4
    5
    87
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stuartofmtundefined
      stuartofmt
      last edited by stuartofmt

      In plugin.json dwcVersion and sbcDsfVersion are defined to have single values.
      It does not seem possible to, for example, indicate that a plugin is compatible with 3.5.x and 3.6.x.
      Is this the case , or is there a way? It would be useful for plugin developers and users to not have to, unnecessarily, target specific plugin versions.

      I have tried e.g. >=3.5 and also tried an array ["3.5","3.6"] however neither are supported. The latter, BTW, fails silently.

      droftartsundefined T3P3Tonyundefined chrishammundefined 3 Replies Last reply Reply Quote 1
      • droftartsundefined
        droftarts administrators @stuartofmt
        last edited by

        @stuartofmt One for @chrishamm.

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        1 Reply Last reply Reply Quote 0
        • T3P3Tonyundefined
          T3P3Tony administrators @stuartofmt
          last edited by

          @stuartofmt I can see how this would be a useful addition, and distinct from just 3.x . That may work now, but would not necessarily be accurate at all.

          www.duet3d.com

          1 Reply Last reply Reply Quote 0
          • chrishammundefined
            chrishamm administrators @stuartofmt
            last edited by chrishamm

            @stuartofmt It is NOT possible - or at least not safe/recommended - to use the same compiled JS chunk for multiple DWC versions. But you can target DSF 3.x.x by specifying only "sbcDsfVersion": "3".

            Duet software engineer

            stuartofmtundefined 1 Reply Last reply Reply Quote 0
            • stuartofmtundefined
              stuartofmt @chrishamm
              last edited by

              @chrishamm
              Understood, as it relates to DWC. I may just use "sbcDsfVersion": "3" for the DSF only plugins.

              1 Reply Last reply Reply Quote 0
              • stuartofmtundefined stuartofmt marked this topic as a question
              • stuartofmtundefined stuartofmt has marked this topic as solved
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA