From 9535346db2976f982554bf878cef05e995e33806 Mon Sep 17 00:00:00 2001 From: Release Automat <> Date: Sat, 2 Nov 2024 20:20:45 +0000 Subject: [PATCH] Release 10.0.1 --- Packages/tlp.udonutils/README.md | 6 ++++++ Packages/tlp.udonutils/Runtime/Attributes/ExecuteAfter.cs | 2 +- Packages/tlp.udonutils/package.json | 2 +- README.md | 6 ++++++ 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/Packages/tlp.udonutils/README.md b/Packages/tlp.udonutils/README.md index 1289005..85b90ae 100644 --- a/Packages/tlp.udonutils/README.md +++ b/Packages/tlp.udonutils/README.md @@ -36,6 +36,12 @@ The used pattern MAJOR.MINOR.PATCH indicates: All notable changes to this project will be documented in this file. +### [10.0.1] - 2024-11-02 + +#### 🐛 Bug Fixes + +- *(ExecuteAfter)* Address compiler error caused by special exception + ### [10.0.0] - 2024-11-02 #### 🚀 Features diff --git a/Packages/tlp.udonutils/Runtime/Attributes/ExecuteAfter.cs b/Packages/tlp.udonutils/Runtime/Attributes/ExecuteAfter.cs index ae5eb2b..0a1faa4 100644 --- a/Packages/tlp.udonutils/Runtime/Attributes/ExecuteAfter.cs +++ b/Packages/tlp.udonutils/Runtime/Attributes/ExecuteAfter.cs @@ -148,7 +148,7 @@ private static int UpdateMax(Dependency othersDependency, int max) { private static void CheckForCyclicDependency(Type ownType, Dependency othersDependency, Type type) { if (othersDependency.ExecuteAfter.Contains(ownType)) { - throw new InvalidConstraintException( + throw new ArgumentException( $"In {nameof(ExecuteAfterAttribute)}: Cyclic dependency between {ownType.Name} and {type.Name}" ); } diff --git a/Packages/tlp.udonutils/package.json b/Packages/tlp.udonutils/package.json index aed2a18..d01c825 100644 --- a/Packages/tlp.udonutils/package.json +++ b/Packages/tlp.udonutils/package.json @@ -1,7 +1,7 @@ { "name": "tlp.udonutils", "displayName": "TLP UdonUtils", - "version": "10.0.0", + "version": "10.0.1", "description": "Contains the base scripts/tools for TLP packages as well as prefabs and potentially helpful scripts for VRChat worlds.", "gitDependencies": {}, "legacyFolders": { diff --git a/README.md b/README.md index 1289005..85b90ae 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,12 @@ The used pattern MAJOR.MINOR.PATCH indicates: All notable changes to this project will be documented in this file. +### [10.0.1] - 2024-11-02 + +#### 🐛 Bug Fixes + +- *(ExecuteAfter)* Address compiler error caused by special exception + ### [10.0.0] - 2024-11-02 #### 🚀 Features