add truncate & max_length options
bump version to 0.2.5