From ec250756f4c7ce898f43cce8258a5432a81c67db Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sat, 11 Jan 2025 21:22:57 +0000 Subject: [PATCH] chore(release): 2.0.1 [skip ci] ## [2.0.1](https://github.com/ashblue/unity-elastic-inventory/compare/v2.0.0...v2.0.1) (2025-01-11) ### Bug Fixes * **item creation:** no longer crashes when `_displayName` field is missing ([672c064](https://github.com/ashblue/unity-elastic-inventory/commit/672c064e6ee4334cacf113d02d56450deb48b325)) --- .../com.fluid.elastic-inventory/CHANGELOG.md | 23 +++++++++++++++++++ .../com.fluid.elastic-inventory/package.json | 2 +- CHANGELOG.md | 7 ++++++ package-lock.json | 4 ++-- package.json | 2 +- 5 files changed, 34 insertions(+), 4 deletions(-) diff --git a/Assets/com.fluid.elastic-inventory/CHANGELOG.md b/Assets/com.fluid.elastic-inventory/CHANGELOG.md index eb1b6ce..bc143ae 100755 --- a/Assets/com.fluid.elastic-inventory/CHANGELOG.md +++ b/Assets/com.fluid.elastic-inventory/CHANGELOG.md @@ -1,3 +1,26 @@ +# [2.0.0](https://github.com/ashblue/unity-elastic-inventory/compare/v1.0.1...v2.0.0) (2025-01-11) + + +### Bug Fixes + +* **id repair:** null and empty string IDs are now repaired ([489ec64](https://github.com/ashblue/unity-elastic-inventory/commit/489ec648bfbe6bb109738b9abd620ad58a9b8be6)) +* **inventory add:** no longer crashes when read only items are added ([afb6b44](https://github.com/ashblue/unity-elastic-inventory/commit/afb6b44f3e1f5af02eb58440fd4e50fb7357c9ea)), closes [#17](https://github.com/ashblue/unity-elastic-inventory/issues/17) +* **inventory.getall():** no longer crashes when used with a custom item entry type ([c8678b0](https://github.com/ashblue/unity-elastic-inventory/commit/c8678b0ffa113957515ffc1402d11f1407d6fab1)), closes [#20](https://github.com/ashblue/unity-elastic-inventory/issues/20) +* **semantic-release:** was not picking up the main branch ([7124ae0](https://github.com/ashblue/unity-elastic-inventory/commit/7124ae0720b961b4e1e08701eacae1989eeb66e6)) + + +### Features + +* **inventory window:** categories now live display in the item table ([53193c4](https://github.com/ashblue/unity-elastic-inventory/commit/53193c4da7076173d63f93fa9d381882dbf9d0d2)), closes [#21](https://github.com/ashblue/unity-elastic-inventory/issues/21) +* **item definitions:** display name must now be implemented on all ItemDefinitionBase classes ([56e69c2](https://github.com/ashblue/unity-elastic-inventory/commit/56e69c2b0a473e2d4459472a12669a82793b4342)) + + +### BREAKING CHANGES + +* **item definitions:** Find all classes that inherit ItemDefinitionBase and add `[SerializeField] string +_displayName; public override string DisplayName => _displayName;`. To fix the error that your +classes do not implement the display name get accessor. + ## [1.0.1](https://github.com/ashblue/unity-elastic-inventory/compare/v1.0.0...v1.0.1) (2023-07-05) diff --git a/Assets/com.fluid.elastic-inventory/package.json b/Assets/com.fluid.elastic-inventory/package.json index 2e8b093..63a0940 100755 --- a/Assets/com.fluid.elastic-inventory/package.json +++ b/Assets/com.fluid.elastic-inventory/package.json @@ -1,6 +1,6 @@ { "name": "com.fluid.elastic-inventory", - "version": "2.0.0", + "version": "2.0.1", "displayName": "Elastic Inventory", "description": "A simple inventory micro-framework built with extendability in mind", "unity": "2022.2", diff --git a/CHANGELOG.md b/CHANGELOG.md index bc143ae..2398b8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [2.0.1](https://github.com/ashblue/unity-elastic-inventory/compare/v2.0.0...v2.0.1) (2025-01-11) + + +### Bug Fixes + +* **item creation:** no longer crashes when `_displayName` field is missing ([672c064](https://github.com/ashblue/unity-elastic-inventory/commit/672c064e6ee4334cacf113d02d56450deb48b325)) + # [2.0.0](https://github.com/ashblue/unity-elastic-inventory/compare/v1.0.1...v2.0.0) (2025-01-11) diff --git a/package-lock.json b/package-lock.json index eae0d64..a21edd0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "com.fluid.elastic-inventory", - "version": "2.0.0", + "version": "2.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "com.fluid.elastic-inventory", - "version": "2.0.0", + "version": "2.0.1", "license": "MIT", "devDependencies": { "@commitlint/cli": "~17.1.2", diff --git a/package.json b/package.json index 6cd212e..c343b31 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.fluid.elastic-inventory", - "version": "2.0.0", + "version": "2.0.1", "unity": "2022.2", "displayName": "Elastic Inventory", "description": "A simple inventory micro-framework built with extendability in mind",