expose encoding, update docs and bump version