From 32ce3b62076820637c581cc2815601d23cbbb7d0 Mon Sep 17 00:00:00 2001 From: "Adam H. Leventhal" Date: Sun, 15 Nov 2026 23:13:56 -0800 Subject: [PATCH 1/2] update typespace to 0.1.2 The default set container no longer demands Ord of its element, so a uniqueItems array of uncomparable elements generates again as the Vec it always rendered. The changelog also records the build-error fix from #1108 for the 0.10.1 release. --- CHANGELOG.adoc | 6 ++++++ Cargo.lock | 4 ++-- Cargo.toml | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 75aed4e1..cc6c56bf 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -15,6 +15,12 @@ https://github.com/oxidecomputer/typify/compare/v0.10.0\...HEAD[Full list of commits] +* A `uniqueItems` array whose element type cannot be compared no longer fails + generation; it renders as a `Vec` as before, with no `Ord` demanded of the + element (typespace 0.1.2) +* A type typespace rejects while it is built, such as two properties that + share a Rust name, is reported as an error rather than a panic (#1108) + == 0.10.0 (released 2026-11-16) https://github.com/oxidecomputer/typify/compare/v0.8.0\...v0.10.0[Full list of commits] diff --git a/Cargo.lock b/Cargo.lock index 9dd8a007..baa8c4de 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1313,9 +1313,9 @@ dependencies = [ [[package]] name = "typespace" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4098cf680a26e9cd5186e4555de0b0afbe6a30e02ecbbc5f6fdf320d81aaec2a" +checksum = "3827ec138743b6fd27eb2bfb2d063c5e11b1956555bb6719491e8c17077cda23" dependencies = [ "codespace", "heck", diff --git a/Cargo.toml b/Cargo.toml index bf99a1c9..ded6be96 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,6 +43,6 @@ syn = { version = "3.0.2", features = ["full"] } tempfile = "3.27.0" thiserror = "2.0.18" trybuild = "1.0.116" -typespace = "0.1.1" +typespace = "0.1.2" unicode-ident = "1.0.24" uuid = "1.16.0" From 51fd2e4ea9b29e6d2ee03049bfcfe50447bad3f8 Mon Sep 17 00:00:00 2001 From: "Adam H. Leventhal" Date: Sun, 15 Nov 2026 23:15:33 -0800 Subject: [PATCH 2/2] update changelog --- CHANGELOG.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index cc6c56bf..b27f1a59 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -17,7 +17,7 @@ https://github.com/oxidecomputer/typify/compare/v0.10.0\...HEAD[Full list of com * A `uniqueItems` array whose element type cannot be compared no longer fails generation; it renders as a `Vec` as before, with no `Ord` demanded of the - element (typespace 0.1.2) + element (#1109) * A type typespace rejects while it is built, such as two properties that share a Rust name, is reported as an error rather than a panic (#1108)