add $saveInHistory argument to publish() method
bump version to 3.6.2
Merge branch 'hotfix-3.6.2'