OK, I contacted Rich about this and asked him if we should be using the new methods in HS4 for scripting. His view is to continue to use the HS3 methods. Here is his response:
Hopefully this one can be put to bed.
I would just continue to use the HS3 version, probably easier to use. The HS4 API was designed for plugins so there may be some issues. Note that the HS4 API ends up calling the HS3 one anyway. The scripting API is not going away, or changing. We are making sure that any new functions (like the category functions) are available through scripting (the are now). Think of the scripting API as a low level API and the HS4 as a higher level API.
Comment