This is the wrong subforum for PSoC related questions, this part of the forum covers the former Spansion MCUs. There is a PSoC4 subforum below.
Nevertheless, the CapSense component got updated from Version 2.5 to 3.0 to support both self-cap (CSD) and mutual-cap (CSX) therefor the previous name CapSense_CSD was obsolete and got changed to CapSense. The performance hasn't changed from 2.5 to 3.0, so the previous configuration should still work. Also the API should be the same for CSD, but coming from the Spansion MCU side I am not totally sure here.
Unfortunately it is not possible to reuse the code directly. But please refer the component datasheet v3.10.
The section "migration guidelines" will help you to port your code from older version to a newer version.