Yes, OSC is the recommended method now but there is a lack of documentation currently and OSC does not fully cover the functionality that was removed.
Another way to do this is to use the state-scanner built by Olzzon: CasparCG-State-Scanner This allows you to use GraphQL instead of OSC and I think it is documented better.