From b96dda26c074178b208851b509c4f41b3a6cdd3d Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Wed, 23 Oct 2024 13:46:45 +0800 Subject: [PATCH] chore(release): publish packages - thermion_dart@0.2.1-dev.0.0.9 - thermion_flutter@0.2.1-dev.8 - thermion_flutter_ffi@0.2.1-dev.8 - thermion_flutter_web@0.1.1 - thermion_flutter_platform_interface@0.2.1-dev.8 --- CHANGELOG.md | 65 +++++++++++++++++++ thermion_dart/CHANGELOG.md | 20 ++++++ thermion_dart/pubspec.yaml | 2 +- .../thermion_flutter/CHANGELOG.md | 9 +++ .../thermion_flutter/pubspec.yaml | 10 +-- .../thermion_flutter_ffi/CHANGELOG.md | 8 +++ .../thermion_flutter_ffi/pubspec.yaml | 6 +- .../CHANGELOG.md | 4 ++ .../pubspec.yaml | 4 +- .../thermion_flutter_web/CHANGELOG.md | 4 ++ .../thermion_flutter_web/pubspec.yaml | 6 +- 11 files changed, 124 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 798aea1e..4a8077fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,71 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 2024-10-23 + +### Changes + +--- + +Packages with breaking changes: + + - [`thermion_dart` - `v0.2.1-dev.0.0.9`](#thermion_dart---v021-dev009) + +Packages with other changes: + + - [`thermion_flutter` - `v0.2.1-dev.8`](#thermion_flutter---v021-dev8) + - [`thermion_flutter_ffi` - `v0.2.1-dev.8`](#thermion_flutter_ffi---v021-dev8) + - [`thermion_flutter_web` - `v0.1.1`](#thermion_flutter_web---v011) + - [`thermion_flutter_platform_interface` - `v0.2.1-dev.8`](#thermion_flutter_platform_interface---v021-dev8) + +Packages with dependency updates only: + +> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project. + + - `thermion_flutter_platform_interface` - `v0.2.1-dev.8` + +--- + +#### `thermion_dart` - `v0.2.1-dev.0.0.9` + + - Fix release builds on Windows + + - **FIX**: move createUnlitMaterialInstance and createGeometry to render thread. + - **FIX**: move createUnlitMaterialInstance and createGeometry to render thread. + - **FIX**: move createUnlitMaterialInstance and createGeometry to render thread. + - **FIX**: dont calculate surface orientation for non-triangle geometry. + - **FIX**: set View render target to nullptr if Dart renderTarget is null. + - **FIX**: set render target to null for each view and then destroy render targets when viewer disposed. + - **FEAT**: produce debug symbols on Windows. + - **FEAT**: simplify FixedOrbitCameraRotationDelegate. + - **DOCS**: add quickstart to README. + - **BREAKING** **FIX**: (windows) add flushAndWait call to capture() to prevent stalling on Windows; use provided buffer as pixelBuffer rather than duplicate allocation. + - **BREAKING** **FIX**: add meshoptimizer lib on Windows. + - **BREAKING** **FIX**: Dart-only release mode builds on Window. + - **BREAKING** **CHORE**: View.getCamera returns Future. + +#### `thermion_flutter` - `v0.2.1-dev.8` + + - **FIX**: fix all Windows warnings so apps will compile with /WX. + - **FIX**: use internal Set for determining first ThermionTextureWidget to call requestFrame and cleanup destruction logic. + - **FEAT**: (flutter) (windows) add DestroyRenderingSurface method. + - **FEAT**: (flutter) (windows) add DestroyRenderingSurface method. + - **FEAT**: (flutter) (windows) add DestroyRenderingSurface method. + - **FEAT**: (flutter) (windows) add Destroy() to BackingWindow. + +#### `thermion_flutter_ffi` - `v0.2.1-dev.8` + + - **FIX**: on resize, destroy swapchain if destroySwapChainOnResize is true. + - **FIX**: add listener in ThermionFlutterTextureBackedPlatform to unset viewer on dispose. + - **FIX**: add listener in ThermionFlutterMethodChannelInterface to unset viewer on dispose. + - **FIX**: clean up destruction logic for FlutterPlatformTexture. + - **FIX**: web/JS bool checks need to compare to int. + +#### `thermion_flutter_web` - `v0.1.1` + + - **FEAT**: allow passing assetPathPrefix to ThermionViewerWasm to account for Flutter build asset paths. + + ## 2024-10-14 ### Changes diff --git a/thermion_dart/CHANGELOG.md b/thermion_dart/CHANGELOG.md index 59dc4ddc..cd773efe 100644 --- a/thermion_dart/CHANGELOG.md +++ b/thermion_dart/CHANGELOG.md @@ -1,3 +1,23 @@ +## 0.2.1-dev.0.0.9 + +> Note: This release has breaking changes. + + - Fix release builds on Windows + + - **FIX**: move createUnlitMaterialInstance and createGeometry to render thread. + - **FIX**: move createUnlitMaterialInstance and createGeometry to render thread. + - **FIX**: move createUnlitMaterialInstance and createGeometry to render thread. + - **FIX**: dont calculate surface orientation for non-triangle geometry. + - **FIX**: set View render target to nullptr if Dart renderTarget is null. + - **FIX**: set render target to null for each view and then destroy render targets when viewer disposed. + - **FEAT**: produce debug symbols on Windows. + - **FEAT**: simplify FixedOrbitCameraRotationDelegate. + - **DOCS**: add quickstart to README. + - **BREAKING** **FIX**: (windows) add flushAndWait call to capture() to prevent stalling on Windows; use provided buffer as pixelBuffer rather than duplicate allocation. + - **BREAKING** **FIX**: add meshoptimizer lib on Windows. + - **BREAKING** **FIX**: Dart-only release mode builds on Window. + - **BREAKING** **CHORE**: View.getCamera returns Future. + ## 0.2.1-dev.0.0.8 - **FIX**: move ThermionWin32.h to include. diff --git a/thermion_dart/pubspec.yaml b/thermion_dart/pubspec.yaml index a19fdf24..5b661a89 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.0.0.8 +version: 0.2.1-dev.0.0.9 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 c1e1999f..3ebda737 100644 --- a/thermion_flutter/thermion_flutter/CHANGELOG.md +++ b/thermion_flutter/thermion_flutter/CHANGELOG.md @@ -1,3 +1,12 @@ +## 0.2.1-dev.8 + + - **FIX**: fix all Windows warnings so apps will compile with /WX. + - **FIX**: use internal Set for determining first ThermionTextureWidget to call requestFrame and cleanup destruction logic. + - **FEAT**: (flutter) (windows) add DestroyRenderingSurface method. + - **FEAT**: (flutter) (windows) add DestroyRenderingSurface method. + - **FEAT**: (flutter) (windows) add DestroyRenderingSurface method. + - **FEAT**: (flutter) (windows) add Destroy() to BackingWindow. + ## 0.2.1-dev.7 - Update a dependency to the latest release. diff --git a/thermion_flutter/thermion_flutter/pubspec.yaml b/thermion_flutter/thermion_flutter/pubspec.yaml index 20fdfb3d..00e62e4b 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.7 +version: 0.2.1-dev.8 homepage: https://thermion.dev repository: https://github.com/nmfisher/thermion @@ -17,10 +17,10 @@ dependencies: plugin_platform_interface: ^2.0.0 ffi: ^2.1.2 animation_tools_dart: ^0.1.0 - thermion_dart: ^0.2.1-dev.0.0.8 - thermion_flutter_platform_interface: ^0.2.1-dev.7 - thermion_flutter_ffi: ^0.2.1-dev.7 - thermion_flutter_web: ^0.1.0+9 + thermion_dart: ^0.2.1-dev.0.0.9 + thermion_flutter_platform_interface: ^0.2.1-dev.8 + thermion_flutter_ffi: ^0.2.1-dev.8 + thermion_flutter_web: ^0.1.1 logging: ^1.2.0 web: ^1.0.0 diff --git a/thermion_flutter/thermion_flutter_ffi/CHANGELOG.md b/thermion_flutter/thermion_flutter_ffi/CHANGELOG.md index 56e92d68..56873f1c 100644 --- a/thermion_flutter/thermion_flutter_ffi/CHANGELOG.md +++ b/thermion_flutter/thermion_flutter_ffi/CHANGELOG.md @@ -1,3 +1,11 @@ +## 0.2.1-dev.8 + + - **FIX**: on resize, destroy swapchain if destroySwapChainOnResize is true. + - **FIX**: add listener in ThermionFlutterTextureBackedPlatform to unset viewer on dispose. + - **FIX**: add listener in ThermionFlutterMethodChannelInterface to unset viewer on dispose. + - **FIX**: clean up destruction logic for FlutterPlatformTexture. + - **FIX**: web/JS bool checks need to compare to int. + ## 0.2.1-dev.7 - Update a dependency to the latest release. diff --git a/thermion_flutter/thermion_flutter_ffi/pubspec.yaml b/thermion_flutter/thermion_flutter_ffi/pubspec.yaml index 4b330788..3bf903e4 100644 --- a/thermion_flutter/thermion_flutter_ffi/pubspec.yaml +++ b/thermion_flutter/thermion_flutter_ffi/pubspec.yaml @@ -1,7 +1,7 @@ name: thermion_flutter_ffi description: An FFI implementation for thermion_flutter (i.e. all platforms except web). repository: https://github.com/nmfisher/thermion_flutter/thermion_flutter -version: 0.2.1-dev.7 +version: 0.2.1-dev.8 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.7 - thermion_dart: ^0.2.1-dev.0.0.8 + thermion_flutter_platform_interface: ^0.2.1-dev.8 + thermion_dart: ^0.2.1-dev.0.0.9 logging: ^1.2.0 dev_dependencies: diff --git a/thermion_flutter/thermion_flutter_platform_interface/CHANGELOG.md b/thermion_flutter/thermion_flutter_platform_interface/CHANGELOG.md index 1c8e0a26..247dc11b 100644 --- a/thermion_flutter/thermion_flutter_platform_interface/CHANGELOG.md +++ b/thermion_flutter/thermion_flutter_platform_interface/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.2.1-dev.8 + + - Update a dependency to the latest release. + ## 0.2.1-dev.7 - Update a dependency to the latest release. diff --git a/thermion_flutter/thermion_flutter_platform_interface/pubspec.yaml b/thermion_flutter/thermion_flutter_platform_interface/pubspec.yaml index f80571fd..ca2a66fd 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.7 +version: 0.2.1-dev.8 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.0.0.8 + thermion_dart: ^0.2.1-dev.0.0.9 dev_dependencies: flutter_test: diff --git a/thermion_flutter/thermion_flutter_web/CHANGELOG.md b/thermion_flutter/thermion_flutter_web/CHANGELOG.md index 49bd1840..3d71de1e 100644 --- a/thermion_flutter/thermion_flutter_web/CHANGELOG.md +++ b/thermion_flutter/thermion_flutter_web/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.1.1 + + - **FEAT**: allow passing assetPathPrefix to ThermionViewerWasm to account for Flutter build asset paths. + ## 0.1.0+9 - 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 682ede0c..1ec075b8 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.1.0+9 +version: 0.1.1 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.0.0.8 - thermion_flutter_platform_interface: ^0.2.1-dev.7 + thermion_dart: ^0.2.1-dev.0.0.9 + thermion_flutter_platform_interface: ^0.2.1-dev.8 flutter_web_plugins: sdk: flutter