Fix deprecated call to set_variable()
Add v1.2.2 release notes