Broken merge in new version?

I have a website with two maps (one optional) in the frontmatter, and a partial that merges these two maps. This used to work (in Hugo 0.59.1), but broke when I updated to the latest version (0.61.0).

The code I have is:

{{ return merge .Params.ingredients (.Params.optional_ingredients | default dict) }}

And the error it gives is:

…at <merge .Params.ingredients (.Params.optional_ingredients | default dict)>: error calling merge: incompatible map types, got maps.Params to map[string]interface {}

I don’t really understand what the error is saying, not could I find it on google. Anyone here that can help me with what is going wrong?

Thanks!

Thanks! So this seems to be fixed for the next release then.