diff --git a/CHANGELOG.md b/CHANGELOG.md index 58827d1..c941530 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,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). +## [2.1.2] - 2026-07-29 + +**Fixed**: +- Renamed `Tests/EditMode/GameLovers.Services.Tests.asmdef` to `GameLovers.Services.Editor.Tests.asmdef` to match its own `name` field (`GameLovers.Services.Editor.Tests`); GUID preserved via `git mv` on the paired `.meta`. +- `Tests/PlayMode/GameLovers.Services.Tests.Playmode.asmdef` no longer sets `autoReferenced: true` (was the only test asmdef in the repo doing so). Test discovery is unaffected — the Test Runner finds test assemblies via the `UNITY_INCLUDE_TESTS` define constraint, independent of `autoReferenced`. + +**Docs**: +- `Samples~/ServicesPlayground`'s `package.json` description no longer claims the sample UI "is built programmatically" — it ships as a hand-authored prefab (`ServicesPlaygroundUI.prefab`) with a `[SerializeField]`-wired driver script. +- Converged `README.md`'s repository links on the actual origin. + ## [2.1.1] - 2026-07-04 **Changed**: diff --git a/Editor/GameLovers.Services.Editor.asmdef b/Editor/GameLovers.Services.Editor.asmdef index ed041e6..3f197da 100644 --- a/Editor/GameLovers.Services.Editor.asmdef +++ b/Editor/GameLovers.Services.Editor.asmdef @@ -5,8 +5,7 @@ "GameLovers.Services", "GameLovers.GameData", "GUID:9e24947de15b9834991c9d8411ea37cf", - "GUID:69448af7b92c7f342b298e06a37122aa", - "GUID:ffab5256b265d45fa9fb86697af7ee2b" + "GUID:69448af7b92c7f342b298e06a37122aa" ], "includePlatforms": [ "Editor" diff --git a/README.md b/README.md index 8fda8bf..bf97dcf 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Building robust game architecture in Unity often leads to tightly coupled system ## System Requirements - **[Unity](https://unity.com/download)** 6000.0+ (Unity 6) -- **[GameLovers GameData](https://github.com/CoderGamester/com.gamelovers.gamedata)** (v1.0.0) — automatically resolved +- **[GameLovers GameData](https://github.com/CoderGamester/Unity-GameData)** (v1.0.0) — automatically resolved - **[Unity Addressables](https://docs.unity3d.com/Packages/com.unity.addressables@latest)** (≥ 1.21.20) — automatically resolved - **[UniTask](https://github.com/Cysharp/UniTask)** (≥ 2.5.10) — automatically resolved @@ -51,14 +51,14 @@ Building robust game architecture in Unity often leads to tightly coupled system 1. Open Unity Package Manager (`Window` → `Package Manager`) 2. Click `+` → `Add package from git URL` -3. Enter: `https://github.com/CoderGamester/com.gamelovers.services.git` +3. Enter: `https://github.com/CoderGamester/Services.git` ### Via manifest.json ```json { "dependencies": { - "com.gamelovers.services": "https://github.com/CoderGamester/com.gamelovers.services.git" + "com.gamelovers.services": "https://github.com/CoderGamester/Services.git" } } ``` @@ -323,7 +323,7 @@ To import a sample: **Window > Package Manager > GameLovers Services > Samples > ## Contributing -Contributions are welcome! See [GitHub Issues](https://github.com/CoderGamester/com.gamelovers.services/issues) to report bugs or request features. For development setup, architecture details, namespace conventions, and coding standards, see [AGENTS.md](AGENTS.md). +Contributions are welcome! See [GitHub Issues](https://github.com/CoderGamester/Services/issues) to report bugs or request features. For development setup, architecture details, namespace conventions, and coding standards, see [AGENTS.md](AGENTS.md). --- @@ -338,8 +338,8 @@ Contributions are welcome! See [GitHub Issues](https://github.com/CoderGamester/ ## Support -- **Issues**: [Report bugs or request features](https://github.com/CoderGamester/com.gamelovers.services/issues) -- **Discussions**: [Ask questions and share ideas](https://github.com/CoderGamester/com.gamelovers.services/discussions) +- **Issues**: [Report bugs or request features](https://github.com/CoderGamester/Services/issues) +- **Discussions**: [Ask questions and share ideas](https://github.com/CoderGamester/Services/discussions) ## License diff --git a/Samples~/ServicesPlayground/GameLovers.Services.Samples.ServicesPlayground.asmdef b/Samples~/ServicesPlayground/GameLovers.Services.Samples.ServicesPlayground.asmdef new file mode 100644 index 0000000..abc0f91 --- /dev/null +++ b/Samples~/ServicesPlayground/GameLovers.Services.Samples.ServicesPlayground.asmdef @@ -0,0 +1,20 @@ +{ + "name": "GameLovers.Services.Samples.ServicesPlayground", + "rootNamespace": "GameLovers.Services.Samples.ServicesPlayground", + "references": [ + "GameLovers.Services", + "GameLovers.GameData", + "Unity.TextMeshPro", + "UnityEngine.UI", + "Unity.InputSystem" + ], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} diff --git a/Samples~/ServicesPlayground/ServicesPlaygroundUI.cs b/Samples~/ServicesPlayground/ServicesPlaygroundUI.cs index 16ee011..64703ab 100644 --- a/Samples~/ServicesPlayground/ServicesPlaygroundUI.cs +++ b/Samples~/ServicesPlayground/ServicesPlaygroundUI.cs @@ -182,7 +182,9 @@ private static void EnsureInputModuleOnEventSystem() { DestroyImmediate(legacy); } - go.AddComponent(); + // AddComponent leaves the module's actions unassigned, and an unassigned module silently + // processes no input at all -- every button appears dead with nothing logged. + go.AddComponent().AssignDefaultActions(); #else if (go.GetComponent() == null) { diff --git a/Tests/EditMode/GameLovers.Services.Tests.asmdef b/Tests/EditMode/GameLovers.Services.Editor.Tests.asmdef similarity index 100% rename from Tests/EditMode/GameLovers.Services.Tests.asmdef rename to Tests/EditMode/GameLovers.Services.Editor.Tests.asmdef diff --git a/Tests/EditMode/GameLovers.Services.Tests.asmdef.meta b/Tests/EditMode/GameLovers.Services.Editor.Tests.asmdef.meta similarity index 100% rename from Tests/EditMode/GameLovers.Services.Tests.asmdef.meta rename to Tests/EditMode/GameLovers.Services.Editor.Tests.asmdef.meta diff --git a/Tests/PlayMode/GameLovers.Services.Tests.Playmode.asmdef b/Tests/PlayMode/GameLovers.Services.Tests.Playmode.asmdef index 2a62ea1..3241f31 100644 --- a/Tests/PlayMode/GameLovers.Services.Tests.Playmode.asmdef +++ b/Tests/PlayMode/GameLovers.Services.Tests.Playmode.asmdef @@ -19,7 +19,7 @@ "precompiledReferences": [ "nunit.framework.dll" ], - "autoReferenced": true, + "autoReferenced": false, "defineConstraints": [ "UNITY_INCLUDE_TESTS" ], diff --git a/package.json b/package.json index 349e6ae..c640f29 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "com.gamelovers.services", "displayName": "GameLovers Services", "author": "Miguel Tomas", - "version": "2.1.1", + "version": "2.1.2", "unity": "6000.3", "license": "MIT", "description": "Foundation services for a Unity based project (DI-lite, messaging, ticking, coroutines, pooling, persistence, RNG, time, commands, versioning) plus Addressables-based asset loading and importing tooling.", @@ -16,7 +16,7 @@ "samples": [ { "displayName": "Services Playground", - "description": "Zero-setup playground that wires every foundation service via MainInstaller and drives the Services Explorer (Installer, Versioning, Message Broker, Tick, Coroutine, Pool, Data, Time, RNG, Commands). Open the scene and press Play — the UI is built programmatically; no per-import wiring.", + "description": "Zero-setup playground that wires every foundation service via MainInstaller and drives the Services Explorer (Installer, Versioning, Message Broker, Tick, Coroutine, Pool, Data, Time, RNG, Commands). Open the scene and press Play — the UI ships as a hand-authored prefab (ServicesPlaygroundUI.prefab) with a driver script holding [SerializeField] references; no per-import wiring.", "path": "Samples~/ServicesPlayground" }, {