diff --git a/spine-flutter/CHANGELOG.md b/spine-flutter/CHANGELOG.md index 877ac40a7..13d41cc75 100644 --- a/spine-flutter/CHANGELOG.md +++ b/spine-flutter/CHANGELOG.md @@ -1,3 +1,8 @@ +# 4.1.1 +* Backport to 4.1 spine-runtimes branch. +* Blend mode support. +* Hot-reload support. The underlying `SkeletonDrawable` will be retained if the asset file names and type provided to the `SpineWidget` constructor has not changed. + # 4.2.11 * Update README.md with setup and development instructions. diff --git a/spine-flutter/example/pubspec.yaml b/spine-flutter/example/pubspec.yaml index e5b6927aa..64ddec812 100644 --- a/spine-flutter/example/pubspec.yaml +++ b/spine-flutter/example/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ">=2.17.6 <3.0.0" + sdk: '>=2.17.6 <4.0.0' flutter: ">=3.7.3" dependencies: diff --git a/spine-flutter/publish.sh b/spine-flutter/publish.sh new file mode 100755 index 000000000..fe160ffd7 --- /dev/null +++ b/spine-flutter/publish.sh @@ -0,0 +1,6 @@ +#!/bin/sh +set -e +./setup.sh +./compile-wasm.sh +dart pub publish --dry-run +dart pub publish \ No newline at end of file diff --git a/spine-flutter/pubspec.yaml b/spine-flutter/pubspec.yaml index f16331131..2b6b90e51 100644 --- a/spine-flutter/pubspec.yaml +++ b/spine-flutter/pubspec.yaml @@ -7,7 +7,7 @@ issue_tracker: https://github.com/esotericsoftware/spine-runtimes/issues documentation: https://esotericsoftware.com/spine-flutter environment: - sdk: ">=2.17.6 <3.0.0" + sdk: '>=2.17.6 <4.0.0' flutter: ">=3.7.6" dependencies: diff --git a/spine-unity/Assets/Spine/Editor/spine-unity/Editor/Utility/AssetUtility.cs b/spine-unity/Assets/Spine/Editor/spine-unity/Editor/Utility/AssetUtility.cs index 2261ec2b9..80d9ab792 100644 --- a/spine-unity/Assets/Spine/Editor/spine-unity/Editor/Utility/AssetUtility.cs +++ b/spine-unity/Assets/Spine/Editor/spine-unity/Editor/Utility/AssetUtility.cs @@ -634,6 +634,7 @@ namespace Spine.Unity.Editor { atlasAsset.atlasFile = atlasText; List pageFiles = new List(); + atlasAsset.Clear(); // force reload Atlas atlas = atlasAsset.GetAtlas(onlyMetaData: true); if (atlas != null) { foreach (AtlasPage page in atlas.Pages)