make project next_version method api-aware