feat(core): add version support and make v2 default