WARNING: MuseScore 4.5 breaks access to slurs and hairpins
As discussed in another post of mine, MuseScore 4.5 no longer provides access to SLUR or HAIRPIN objects, instead returning elements of type SLUR_SEGMENT and HAIRPIN_SEGMENT — these return 'undefined' for the spannerTick and spannerTicks properties, meaning that plugins are no longer able to tell whereabouts these objects are attached to in the score, or how long they last.
If anyone knows of any workarounds, I would be grateful.