fix: fix error in getValidationFunction() that the options are not merged
chore: release v0.2.11