The phrasing here is not optimal. It should inform the user about what changed, so something like this is much better:

Changed the foo to not return bar when baz