diff --git a/CHANGELOG.md b/CHANGELOG.md index b37dec1..8999bf3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog These are the release notes for the TextMesh Pro UPM package which was first introduced with Unity 2018.1. Please see the following link for the Release Notes for prior versions of TextMesh Pro. http://digitalnativestudios.com/forum/index.php?topic=1363.0 +## [2.0.0] - 2019-03-01 +### Changes +- Added dependency on the UGUI package version 1.0.0. + ## [1.4.0-preview.3a] - 2019-02-28 ### Changes - Improved performance of the Project Files GUID Remapping Tool. @@ -18,7 +22,7 @@ These are the release notes for the TextMesh Pro UPM package which was first int - Added new property in the Dynamic Font System section to determine if OpenType Font Features will be retrieved from source font files at runtime as new characters are added to font assets. Glyph Adjustment Data (Kerning) is the only feature currently supported. - Fix an issue where font assets created at runtime were not getting their asset version number set to "1.1.0". - Improved parsing of the text file used in the Font Asset Creator and "Characters from File" option to handle UTF16 "\u" and UTF32 "\U" escape character sequences. -- Fixed a Null Reference Error (NRE) that could occur when using the <font> tag with an invalid font name followed by the <sprite> tag. +- Fixed a Null Reference Error (NRE) that could occur when using the <font> tag with an invalid font name followed by the <sprite> tag. - The Glyph Adjustment Table presentation and internal data structure has been changed to facilitate the future addition of OpenType font features. See https://forum.unity.com/threads/version-1-4-0-preview-with-dynamic-sdf-for-unity-2018-3-now-available.622420/#post-4206595 for more details. - Fixed an issue with the <rotate> tag incorrectly affecting character spacing. diff --git a/Scripts/Editor/Unity.TextMeshPro.Editor.asmdef b/Scripts/Editor/Unity.TextMeshPro.Editor.asmdef index 437e221..d5df154 100644 --- a/Scripts/Editor/Unity.TextMeshPro.Editor.asmdef +++ b/Scripts/Editor/Unity.TextMeshPro.Editor.asmdef @@ -1,7 +1,9 @@ { "name": "Unity.TextMeshPro.Editor", "references": [ - "Unity.TextMeshPro" + "Unity.TextMeshPro", + "Unity.ugui", + "Unity.ugui.Editor" ], "optionalUnityReferences": [], "includePlatforms": [ diff --git a/Scripts/Runtime/Unity.TextMeshPro.asmdef b/Scripts/Runtime/Unity.TextMeshPro.asmdef index fafc7ed..4c54549 100644 --- a/Scripts/Runtime/Unity.TextMeshPro.asmdef +++ b/Scripts/Runtime/Unity.TextMeshPro.asmdef @@ -1,7 +1,13 @@ { "name": "Unity.TextMeshPro", - "references": [], + "references": [ "Unity.ugui" ], "optionalUnityReferences": [], "includePlatforms": [], - "excludePlatforms": [] + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [] } \ No newline at end of file diff --git a/Tests/Editor/Unity.TextMeshPro.Editor.Tests.asmdef b/Tests/Editor/Unity.TextMeshPro.Editor.Tests.asmdef index 3f09050..07af3c3 100644 --- a/Tests/Editor/Unity.TextMeshPro.Editor.Tests.asmdef +++ b/Tests/Editor/Unity.TextMeshPro.Editor.Tests.asmdef @@ -2,7 +2,9 @@ "name": "Unity.TextMeshPro.Editor.Tests", "references": [ "Unity.TextMeshPro", - "Unity.TextMeshPro.Editor" + "Unity.TextMeshPro.Editor", + "Unity.ugui", + "Unity.ugui.Editor" ], "optionalUnityReferences": [ "TestAssemblies" diff --git a/Tests/Runtime/Unity.TextMeshPro.Tests.asmdef b/Tests/Runtime/Unity.TextMeshPro.Tests.asmdef index 9fef4d6..63a9d97 100644 --- a/Tests/Runtime/Unity.TextMeshPro.Tests.asmdef +++ b/Tests/Runtime/Unity.TextMeshPro.Tests.asmdef @@ -1,7 +1,8 @@ { "name": "Unity.TextMeshPro.Tests", "references": [ - "Unity.TextMeshPro" + "Unity.TextMeshPro", + "Unity.ugui" ], "optionalUnityReferences": [ "TestAssemblies" diff --git a/package.json b/package.json index d3943be..d8e8500 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "com.unity.textmeshpro", "displayName": "TextMesh Pro", - "version": "1.4.0-preview.3a", - "unity": "2018.3", + "version": "2.0.0", + "unity": "2019.1", "description": "TextMesh Pro is the ultimate text solution for Unity. It's the perfect replacement for Unity's UI Text and the legacy Text Mesh.\n\nPowerful and easy to use, TextMesh Pro uses Advanced Text Rendering techniques along with a set of custom shaders; delivering substantial visual quality improvements while giving users incredible flexibility when it comes to text styling and texturing.\n\nTextMesh Pro provides Improved Control over text formatting and layout with features like character, word, line and paragraph spacing, kerning, justified text, Links, over 30 Rich Text Tags available, support for Multi Font & Sprites, Custom Styles and more.\n\nGreat performance. Since the geometry created by TextMesh Pro uses two triangles per character just like Unity's text components, this improved visual quality and flexibility comes at no additional performance cost.", "keywords": [ "TextMeshPro", @@ -11,10 +11,11 @@ "SDF" ], "category": "Text Rendering", - "dependencies": {}, + "dependencies": { "com.unity.ugui": "1.0.0" }, + "relatedPackages": { "com.unity.textmeshpro.tests": "1.0.1" }, "repository": { "type": "git", "url": "https://gitlab.cds.internal.unity3d.com/upm-packages/text/com.unity.textmeshpro.git", - "revision": "db71f1c9" + "revision": "f4fe659f" } }