Remove deprecated used of config.adapter.
Bump version to 2.0.1.