deprecate += and friends for bool and enum (#10336)
deprecate += and friends for bool and enum (#10336)

* fixes #10257
* add version to deprecation

dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim