1.2 KiB
1.2 KiB
Changelog
本文件记录 ShrinkApp.Core 的包内变更。
[0.1.1] - 2026-08-16
Added
ShrinkAppSettings.hostingMode(ShrinkAppHostingMode):ClassicHost保持原有自动启动;ContextLoader让位给 ShrinkContext 加载器宿主(见ShrinkContext.AppAdapter),支持运行中按模块 disable/enable。ShrinkApp.InitializeForExternalHost(services, settings):外部宿主把服务容器接回ShrinkApp.Services静态入口。ShrinkAppInstallers.GetDiscoveredInstallerTypes():编译期安装器发现的公共入口,供外部宿主枚举。ShrinkAppContext.CreateStandalone(services, settings):非 MonoBehaviour 宿主构建上下文。
Changed
Bootstrap在ContextLoader模式下直接返回,经典路径零行为变化。
[0.1.0] - 2026-05-18
Added
- 新增统一宿主层
ShrinkApp.Core。 - 新增
ShrinkApp、ShrinkAppHost、ShrinkAppSettings、ShrinkAppServices、ShrinkAppContext。 - 新增模块安装器契约:
IShrinkAppModuleInstaller与[ShrinkAppModuleInstaller]。 - 新增运行时生命周期事件:
ShrinkAppStartedEvent、ShrinkAppStartFailedEvent。