From 81703b1aab88d9ce610b658ba08fb4546ee3cf14 Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Thu, 3 Nov 2022 09:29:05 -0700 Subject: [PATCH] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ef0397e..46706d96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ # 1.12.1 (Unreleased) +* `convert`: Will now produce correct type constraints when the input value is an empty collection and the target element type has optional attributes. In this case the conversion process must remove the optional attribute annotations because those are only for type conversion purposes and have no meaning when used in the type constraint for an empty collection. ([#143](https://github.com/zclconf/go-cty/pull/143)) # 1.12.0 (October 27, 2022)