tvb_new_subset() was renamed to tvb_new_subset_length_caplen(). But you really should read the commit message that went along with this change.