From 0d521fbbe3d00b869e54c80b6a5467ad73b5eacf Mon Sep 17 00:00:00 2001 From: Sam Byass Date: Sun, 22 Dec 2024 13:16:16 +0000 Subject: [PATCH] [publish] Release 6.0.0 - see CHANGELOG.md for details. --- CHANGELOG.md | 9 +++++++++ Tomlet/Tomlet.csproj | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 847068c..2e8cb45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - [Tomlet Changelog](#tomlet-changelog) - [Contents](#contents) + - [6.0.0](#600) - [5.4.0](#540) - [5.3.1](#531) - [5.3.0](#530) @@ -44,6 +45,14 @@ - [1.0.1](#101) - [1.0.0](#100) +## 6.0.0 + +- Adds .NET trimming compatibility and annotations to hopefully prevent classes that are passed to Tomlet from having their members stripped. +- Makes behavior of passing `null` to methods in `TomletMain` more consistent - they will all now return null if you pass null, rather than some throwing, some returning null, and some returning an empty table/doc. + - This is a breaking change, hence the bump to 6.0.0. +- Implements deserialization of dictionaries using primitives as keys. Thanks to [@Sprixitite](https://github.com/Sprixitite) in [#44](https://github.com/SamboyCoding/Tomlet/pull/44) +- Adds an option to ignore invalid enum values (i.e. an invalid name) when deserializing. + ## 5.4.0 - Adds an option to ignore non-public members when de/serializing. Thanks to [@Sprixitite](https://github.com/Sprixitite) in [#43](https://github.com/SamboyCoding/Tomlet/pull/43) diff --git a/Tomlet/Tomlet.csproj b/Tomlet/Tomlet.csproj index 4393b38..2aee3b1 100644 --- a/Tomlet/Tomlet.csproj +++ b/Tomlet/Tomlet.csproj @@ -23,7 +23,7 @@ https://github.com/SamboyCoding/Tomlet.git net6;net7;net8;net9;netstandard2.0;netframework3.5 Tomlet - 5.4.0 + 6.0.0 true SYSLIB0050