From 3d072594b5177234f8bbab47e3a4c3b67a200507 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Thu, 3 Jul 2025 12:56:51 +0800 Subject: [PATCH] chore(release): publish packages - thermion_dart@0.3.0 - thermion_flutter@0.3.0 - thermion_flutter_method_channel@0.3.0 - thermion_flutter_web@0.3.0 - thermion_flutter_platform_interface@0.3.0 --- CHANGELOG.md | 97 +++++++++++++++++++ thermion_dart/CHANGELOG.md | 55 +++++++++++ thermion_dart/pubspec.yaml | 2 +- .../thermion_flutter/CHANGELOG.md | 12 +++ .../thermion_flutter/pubspec.yaml | 8 +- .../CHANGELOG.md | 7 ++ .../pubspec.yaml | 6 +- .../CHANGELOG.md | 5 + .../pubspec.yaml | 4 +- .../thermion_flutter_web/CHANGELOG.md | 4 + .../thermion_flutter_web/pubspec.yaml | 6 +- 11 files changed, 193 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 249a5b16..b0b479f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,103 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 2025-07-03 + +### Changes + +--- + +Packages with breaking changes: + + - [`thermion_dart` - `v0.3.0`](#thermion_dart---v030) + - [`thermion_flutter` - `v0.3.0`](#thermion_flutter---v030) + - [`thermion_flutter_method_channel` - `v0.3.0`](#thermion_flutter_method_channel---v030) + +Packages with other changes: + + - [`thermion_flutter_web` - `v0.3.0`](#thermion_flutter_web---v030) + - [`thermion_flutter_platform_interface` - `v0.3.0`](#thermion_flutter_platform_interface---v030) + +--- + +#### `thermion_dart` - `v0.3.0` + + - **REFACTOR**: gizmo/input handler improvements. + - **REFACTOR**: add createGizmoRenderThread. + - **REFACTOR**: Gizmo internals. + - **REFACTOR**: dont require GizmoInputHandler to wrap an existing InputHandler (you can do this by creating your own InputHandler that wraps two children. + - **FIX**: glTF instancing when loaded via buffer. + - **FIX**: don't return entity from SceneManager_addLightRenderThread. + - **FIX**: return light entity from SceneManager. + - **FIX**: store reference to material instances in ThermionViewer so they can be cleaned up on dispose. + - **FIX**: remove MaterialInstance from SceneManager storage when destroyed. + - **FIX**: add destroyCamera to ThermionViewer interface. + - **FIX**: UV calculation for geometry. + - **FIX**: use createGizmoRenderThread. + - **FIX**: remove MaterialInstance from SceneManager storage when destroyed. + - **FIX**: move removeIbl to render thread. + - **FIX**: move material/instance creation to render thread. + - **FIX**: allow destroying instances independently of owner. + - **FIX**: remove MaterialInstance from SceneManager storage when destroyed. + - **FIX**: use render thread methods for grid overlay creation and create ubershader instance. + - **FIX**: only use Windows-style ndkRoot when building on Windows. + - **FIX**: set overlay layer visibility when adding grid. + - **FIX**: only use Windows-style ndkRoot when building on Windows. + - **FIX**: when creating geometry, normals/uvs are set to false by default. remove wirefame camera container (can now be replaced by bounding box methods. + - **FIX**: fix highlights after first. + - **FEAT**: remove bounding box from SceneAsset and create renderable wireframe bounding box in ThermionAsset. + - **FEAT**: add setTransparencyMode to Dart Material class. + - **FEAT**: expose attached entity as Stream on GizmoInputHandler. + - **FEAT**: allow custom material for grid overlay, and material creation from Uint8List. + - **FEAT**: allow setting material instance directly on ThermionAsset. + - **FEAT**: allow passing custom material for grid overlay. + - **FEAT**: allow passing custom material for grid overlay. + - **FEAT**: allow passing custom material for grid overlay. + - **FEAT**: more rotation gizmo improvements. + - **FEAT**: rotation gizmo improvements. + - **FEAT**: add rotation gizmo. + - **FEAT**: add rotation gizmo asset + resource file. + - **FEAT**: add rotation gizmo asset + resource file. + - **FEAT**: use existing material instances when creating an instance of GeometrySceneAsset and no material instance is passed. + - **FEAT**: re-implement grid overlay. + - **FEAT**: add gizmo.glb to assets/resources. + - **FEAT**: add TRACE macro. + - **FEAT**: update Filament to v1.56.4. + - **FEAT**: expose setCastShadows/setReceiveShadows. + - **FEAT**: re-add uvScale, vertexScale to unlit material. + - **FEAT**: re-add uvScale, vertexScale to unlit material. + - **BREAKING** **REFACTOR**: move light methods from FilamentViewer to SceneManager/TLightManager and rename clearLights/clearAssets to destroyLights/destroyAssets. + - **BREAKING** **REFACTOR**: rename removeAsset to destroyAsset. + - **BREAKING** **FIX**: rename removeEntity to removeAsset. + - **BREAKING** **FEAT**: change default near/far to 0.1/100.0. + - **BREAKING** **FEAT**: use raw pointer scale (>1 meaning zoom in, <1 meaning zoom out) rather than binary -1/1 for DelegateInputHandler. + - **BREAKING** **FEAT**: remove Viewer setRenderTarget method (use the View method instead). + +#### `thermion_flutter` - `v0.3.0` + + - **REFACTOR**: rename ThermionFlutterTexture->PlatformTextureDescriptor. + - **FIX**: rename msPerFrame property. + - **FEAT**: add FocusNode to ThermionListenerWidget. + - **FEAT**: use new createTextureAndBindToView in ThermionTextureWidget. + - **BREAKING** **REFACTOR**: move light methods from FilamentViewer to SceneManager/TLightManager and rename clearLights/clearAssets to destroyLights/destroyAssets. + - **BREAKING** **FEAT**: remove superseded ThermionWindows widget. + - **BREAKING** **FEAT**: rename thermion_flutter_ffi package to thermion_flutter_method_channel. + +#### `thermion_flutter_method_channel` - `v0.3.0` + + - **REFACTOR**: rename ThermionFlutterTexture->PlatformTextureDescriptor. + - **BREAKING** **FEAT**: rename thermion_flutter_ffi package to thermion_flutter_method_channel. + +#### `thermion_flutter_web` - `v0.3.0` + + - **REFACTOR**: rename ThermionFlutterTexture->PlatformTextureDescriptor. + +#### `thermion_flutter_platform_interface` - `v0.3.0` + + - **REFACTOR**: rename ThermionFlutterTexture->PlatformTextureDescriptor. + - **FEAT**: create separate createTexture and createTextureAndBindToView interface methods. + + ## 2025-01-08 ### Changes diff --git a/thermion_dart/CHANGELOG.md b/thermion_dart/CHANGELOG.md index 8a22f422..52bc217e 100644 --- a/thermion_dart/CHANGELOG.md +++ b/thermion_dart/CHANGELOG.md @@ -1,3 +1,58 @@ +## 0.3.0 + +> Note: This release has breaking changes. + + - **REFACTOR**: gizmo/input handler improvements. + - **REFACTOR**: add createGizmoRenderThread. + - **REFACTOR**: Gizmo internals. + - **REFACTOR**: dont require GizmoInputHandler to wrap an existing InputHandler (you can do this by creating your own InputHandler that wraps two children. + - **FIX**: glTF instancing when loaded via buffer. + - **FIX**: don't return entity from SceneManager_addLightRenderThread. + - **FIX**: return light entity from SceneManager. + - **FIX**: store reference to material instances in ThermionViewer so they can be cleaned up on dispose. + - **FIX**: remove MaterialInstance from SceneManager storage when destroyed. + - **FIX**: add destroyCamera to ThermionViewer interface. + - **FIX**: UV calculation for geometry. + - **FIX**: use createGizmoRenderThread. + - **FIX**: remove MaterialInstance from SceneManager storage when destroyed. + - **FIX**: move removeIbl to render thread. + - **FIX**: move material/instance creation to render thread. + - **FIX**: allow destroying instances independently of owner. + - **FIX**: remove MaterialInstance from SceneManager storage when destroyed. + - **FIX**: use render thread methods for grid overlay creation and create ubershader instance. + - **FIX**: only use Windows-style ndkRoot when building on Windows. + - **FIX**: set overlay layer visibility when adding grid. + - **FIX**: only use Windows-style ndkRoot when building on Windows. + - **FIX**: when creating geometry, normals/uvs are set to false by default. remove wirefame camera container (can now be replaced by bounding box methods. + - **FIX**: fix highlights after first. + - **FEAT**: remove bounding box from SceneAsset and create renderable wireframe bounding box in ThermionAsset. + - **FEAT**: add setTransparencyMode to Dart Material class. + - **FEAT**: expose attached entity as Stream on GizmoInputHandler. + - **FEAT**: allow custom material for grid overlay, and material creation from Uint8List. + - **FEAT**: allow setting material instance directly on ThermionAsset. + - **FEAT**: allow passing custom material for grid overlay. + - **FEAT**: allow passing custom material for grid overlay. + - **FEAT**: allow passing custom material for grid overlay. + - **FEAT**: more rotation gizmo improvements. + - **FEAT**: rotation gizmo improvements. + - **FEAT**: add rotation gizmo. + - **FEAT**: add rotation gizmo asset + resource file. + - **FEAT**: add rotation gizmo asset + resource file. + - **FEAT**: use existing material instances when creating an instance of GeometrySceneAsset and no material instance is passed. + - **FEAT**: re-implement grid overlay. + - **FEAT**: add gizmo.glb to assets/resources. + - **FEAT**: add TRACE macro. + - **FEAT**: update Filament to v1.56.4. + - **FEAT**: expose setCastShadows/setReceiveShadows. + - **FEAT**: re-add uvScale, vertexScale to unlit material. + - **FEAT**: re-add uvScale, vertexScale to unlit material. + - **BREAKING** **REFACTOR**: move light methods from FilamentViewer to SceneManager/TLightManager and rename clearLights/clearAssets to destroyLights/destroyAssets. + - **BREAKING** **REFACTOR**: rename removeAsset to destroyAsset. + - **BREAKING** **FIX**: rename removeEntity to removeAsset. + - **BREAKING** **FEAT**: change default near/far to 0.1/100.0. + - **BREAKING** **FEAT**: use raw pointer scale (>1 meaning zoom in, <1 meaning zoom out) rather than binary -1/1 for DelegateInputHandler. + - **BREAKING** **FEAT**: remove Viewer setRenderTarget method (use the View method instead). + ## 0.2.1-dev.20.0 - **FIX**: only use Windows-style ndkRoot when building on Windows. diff --git a/thermion_dart/pubspec.yaml b/thermion_dart/pubspec.yaml index 45d0b29f..ee7cb702 100644 --- a/thermion_dart/pubspec.yaml +++ b/thermion_dart/pubspec.yaml @@ -1,6 +1,6 @@ name: thermion_dart description: 3D rendering toolkit for Dart. -version: 0.2.1-dev.20.0 +version: 0.3.0 homepage: https://thermion.dev repository: https://github.com/nmfisher/thermion diff --git a/thermion_flutter/thermion_flutter/CHANGELOG.md b/thermion_flutter/thermion_flutter/CHANGELOG.md index c2f83bc3..99f014c6 100644 --- a/thermion_flutter/thermion_flutter/CHANGELOG.md +++ b/thermion_flutter/thermion_flutter/CHANGELOG.md @@ -1,3 +1,15 @@ +## 0.3.0 + +> Note: This release has breaking changes. + + - **REFACTOR**: rename ThermionFlutterTexture->PlatformTextureDescriptor. + - **FIX**: rename msPerFrame property. + - **FEAT**: add FocusNode to ThermionListenerWidget. + - **FEAT**: use new createTextureAndBindToView in ThermionTextureWidget. + - **BREAKING** **REFACTOR**: move light methods from FilamentViewer to SceneManager/TLightManager and rename clearLights/clearAssets to destroyLights/destroyAssets. + - **BREAKING** **FEAT**: remove superseded ThermionWindows widget. + - **BREAKING** **FEAT**: rename thermion_flutter_ffi package to thermion_flutter_method_channel. + ## 0.2.1-dev.20.0 - Bump "thermion_flutter" to `0.2.1-dev.20.0`. diff --git a/thermion_flutter/thermion_flutter/pubspec.yaml b/thermion_flutter/thermion_flutter/pubspec.yaml index 8a5eef3c..f8aee9be 100644 --- a/thermion_flutter/thermion_flutter/pubspec.yaml +++ b/thermion_flutter/thermion_flutter/pubspec.yaml @@ -1,6 +1,6 @@ name: thermion_flutter description: Flutter plugin for 3D rendering with the Thermion toolkit. -version: 0.2.1-dev.20.0 +version: 0.3.0 homepage: https://thermion.dev repository: https://github.com/nmfisher/thermion @@ -17,11 +17,11 @@ dependencies: plugin_platform_interface: ^2.0.0 ffi: ^2.1.2 animation_tools_dart: ^0.1.0 - thermion_dart: ^0.2.1-dev.20.0 - thermion_flutter_platform_interface: ^0.2.1-dev.20.0 + thermion_dart: ^0.3.0 + thermion_flutter_platform_interface: ^0.3.0 thermion_flutter_method_channel: path: ../thermion_flutter_method_channel - thermion_flutter_web: ^0.2.0+11 + thermion_flutter_web: ^0.3.0 logging: ^1.2.0 web: ^1.0.0 diff --git a/thermion_flutter/thermion_flutter_method_channel/CHANGELOG.md b/thermion_flutter/thermion_flutter_method_channel/CHANGELOG.md index 6c7f14aa..f0cb0c98 100644 --- a/thermion_flutter/thermion_flutter_method_channel/CHANGELOG.md +++ b/thermion_flutter/thermion_flutter_method_channel/CHANGELOG.md @@ -1,3 +1,10 @@ +## 0.3.0 + +> Note: This release has breaking changes. + + - **REFACTOR**: rename ThermionFlutterTexture->PlatformTextureDescriptor. + - **BREAKING** **FEAT**: rename thermion_flutter_ffi package to thermion_flutter_method_channel. + ## 0.2.1-dev.20.0 - Bump "thermion_flutter_ffi" to `0.2.1-dev.20.0`. diff --git a/thermion_flutter/thermion_flutter_method_channel/pubspec.yaml b/thermion_flutter/thermion_flutter_method_channel/pubspec.yaml index a353c4cd..b56d63a9 100644 --- a/thermion_flutter/thermion_flutter_method_channel/pubspec.yaml +++ b/thermion_flutter/thermion_flutter_method_channel/pubspec.yaml @@ -1,7 +1,7 @@ name: thermion_flutter_method_channel description: Desktop + mobile implementation for texture creation + registration with Flutter. repository: https://github.com/nmfisher/thermion_flutter/thermion_flutter -version: 0.2.1-dev.20.0 +version: 0.3.0 environment: sdk: ">=3.3.0 <4.0.0" @@ -23,8 +23,8 @@ dependencies: flutter: sdk: flutter plugin_platform_interface: ^2.1.0 - thermion_flutter_platform_interface: ^0.2.1-dev.20.0 - thermion_dart: ^0.2.1-dev.20.0 + thermion_flutter_platform_interface: ^0.3.0 + thermion_dart: ^0.3.0 logging: ^1.2.0 dependency_overrides: thermion_dart: diff --git a/thermion_flutter/thermion_flutter_platform_interface/CHANGELOG.md b/thermion_flutter/thermion_flutter_platform_interface/CHANGELOG.md index 6573771e..7718de51 100644 --- a/thermion_flutter/thermion_flutter_platform_interface/CHANGELOG.md +++ b/thermion_flutter/thermion_flutter_platform_interface/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.3.0 + + - **REFACTOR**: rename ThermionFlutterTexture->PlatformTextureDescriptor. + - **FEAT**: create separate createTexture and createTextureAndBindToView interface methods. + ## 0.2.1-dev.20.0 - Bump "thermion_flutter_platform_interface" to `0.2.1-dev.20.0`. diff --git a/thermion_flutter/thermion_flutter_platform_interface/pubspec.yaml b/thermion_flutter/thermion_flutter_platform_interface/pubspec.yaml index 8c47a52a..bd6137ca 100644 --- a/thermion_flutter/thermion_flutter_platform_interface/pubspec.yaml +++ b/thermion_flutter/thermion_flutter_platform_interface/pubspec.yaml @@ -1,7 +1,7 @@ name: thermion_flutter_platform_interface description: A common platform interface for the thermion_flutter plugin. repository: https://github.com/nmfisher/thermion_flutter/thermion_flutter -version: 0.2.1-dev.20.0 +version: 0.3.0 environment: sdk: ">=3.3.0 <4.0.0" @@ -11,7 +11,7 @@ dependencies: flutter: sdk: flutter plugin_platform_interface: ^2.1.0 - thermion_dart: ^0.2.1-dev.20.0 + thermion_dart: ^0.3.0 dev_dependencies: flutter_test: diff --git a/thermion_flutter/thermion_flutter_web/CHANGELOG.md b/thermion_flutter/thermion_flutter_web/CHANGELOG.md index 1f1c1ac5..a9800b83 100644 --- a/thermion_flutter/thermion_flutter_web/CHANGELOG.md +++ b/thermion_flutter/thermion_flutter_web/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.3.0 + + - **REFACTOR**: rename ThermionFlutterTexture->PlatformTextureDescriptor. + ## 0.2.0+11 - Update a dependency to the latest release. diff --git a/thermion_flutter/thermion_flutter_web/pubspec.yaml b/thermion_flutter/thermion_flutter_web/pubspec.yaml index 59538ba9..b89ee45d 100644 --- a/thermion_flutter/thermion_flutter_web/pubspec.yaml +++ b/thermion_flutter/thermion_flutter_web/pubspec.yaml @@ -1,7 +1,7 @@ name: thermion_flutter_web description: A web platform interface for the thermion_flutter plugin. repository: https://github.com/nmfisher/thermion_flutter/thermion_flutter -version: 0.2.0+11 +version: 0.3.0 environment: sdk: ">=3.3.0 <4.0.0" @@ -20,8 +20,8 @@ dependencies: sdk: flutter plugin_platform_interface: ^2.1.0 web: ^1.0.0 - thermion_dart: ^0.2.1-dev.20.0 - thermion_flutter_platform_interface: ^0.2.1-dev.20.0 + thermion_dart: ^0.3.0 + thermion_flutter_platform_interface: ^0.3.0 flutter_web_plugins: sdk: flutter dependency_overrides: