diff --git a/CHANGELOG.md b/CHANGELOG.md index f897148..b419344 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [1.0.2] - 2020-02-26 + +### Bug Fixes + +- Fixed obsolete API use in Unity 2019.3. + +### Changes + +- Update Yamato configuration. + ## [1.0.1] - 2019-11-25 ### Changes diff --git a/Editor/UserSettingsProvider.cs b/Editor/UserSettingsProvider.cs index 12ee644..58932dc 100644 --- a/Editor/UserSettingsProvider.cs +++ b/Editor/UserSettingsProvider.cs @@ -139,7 +139,6 @@ public UserSettingsProvider(Settings settings, Assembly[] assemblies) } #if SETTINGS_PROVIDER_ENABLED - /// /// Invoked by the SettingsProvider when activated in the Editor. /// @@ -410,7 +409,7 @@ void DoContextMenu() #if UNITY_2019_1_OR_NEWER menu.AddSeparator("Developer/"); -#if UNITY_2020_1_OR_NEWER +#if UNITY_2019_3_OR_NEWER menu.AddItem(new GUIContent("Developer/Recompile Scripts"), false, EditorUtility.RequestScriptReload); #else menu.AddItem(new GUIContent("Developer/Recompile Scripts"), false, UnityEditorInternal.InternalEditorUtility.RequestScriptReload); diff --git a/Tests/.test.json b/Tests/.test.json index 605133e..b9d7b53 100644 --- a/Tests/.test.json +++ b/Tests/.test.json @@ -1,3 +1,3 @@ { - "createSeparatePackage": false + "createSeparatePackage": true } diff --git a/Tests/Editor/Unity.Settings.Editor.Tests.asmdef b/Tests/Editor/Unity.Settings.Editor.Tests.asmdef index bc50aac..3dd01f6 100644 --- a/Tests/Editor/Unity.Settings.Editor.Tests.asmdef +++ b/Tests/Editor/Unity.Settings.Editor.Tests.asmdef @@ -3,6 +3,9 @@ "references": [ "Unity.Settings.Editor" ], + "defineConstraints": [ + "UNITY_INCLUDE_TESTS" + ], "optionalUnityReferences": [ "TestAssemblies" ], diff --git a/package.json b/package.json index f9de322..cbd8835 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,9 @@ { "name": "com.unity.settings-manager", "displayName": "Settings Manager", - "version": "1.0.1", + "version": "1.0.2", "unity": "2018.3", "description": "A framework for making any serializable field a setting, complete with a pre-built settings interface.", - "dependencies": {}, "samples": [ { "displayName": "User Settings Example", @@ -12,9 +11,11 @@ "path": "Samples~" } ], + "hideInEditor": true, "repository": { + "footprint": "d4e654a69bb413c96bf81bf09a46685cd55b03b1", "type": "git", - "url": "git@github.com:Unity-Technologies/com.unity.settings-manager.git", - "revision": "4e1ab5cb77b40205e6bf01d377846a851232c4e3" + "url": "https://github.com/Unity-Technologies/com.unity.settings-manager.git", + "revision": "e8eedc87ca7850bac0f7b2257db4edb8c300a0f3" } }