Compare commits

...

2 Commits

Author SHA1 Message Date
Nick Fisher
fa168df28f chore(release): publish packages
- thermion_dart@0.3.2
 - thermion_flutter@0.3.2
 - thermion_flutter_method_channel@0.3.2
 - thermion_flutter_web@0.3.2
 - thermion_flutter_platform_interface@0.3.2
2025-07-08 11:48:25 +08:00
Nick Fisher
ba3d016c1a fix: add missing destroySwapchain argument for web 2025-07-08 11:47:47 +08:00
12 changed files with 76 additions and 15 deletions

View File

@@ -3,6 +3,47 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 2025-07-08
### Changes
---
Packages with breaking changes:
- There are no breaking changes in this release.
Packages with other changes:
- [`thermion_dart` - `v0.3.2`](#thermion_dart---v032)
- [`thermion_flutter` - `v0.3.2`](#thermion_flutter---v032)
- [`thermion_flutter_method_channel` - `v0.3.2`](#thermion_flutter_method_channel---v032)
- [`thermion_flutter_web` - `v0.3.2`](#thermion_flutter_web---v032)
- [`thermion_flutter_platform_interface` - `v0.3.2`](#thermion_flutter_platform_interface---v032)
---
#### `thermion_dart` - `v0.3.2`
- Bump "thermion_dart" to `0.3.2`.
#### `thermion_flutter` - `v0.3.2`
- Bump "thermion_flutter" to `0.3.2`.
#### `thermion_flutter_method_channel` - `v0.3.2`
- Bump "thermion_flutter_method_channel" to `0.3.2`.
#### `thermion_flutter_web` - `v0.3.2`
- **FIX**: add missing destroySwapchain argument for web.
#### `thermion_flutter_platform_interface` - `v0.3.2`
- Bump "thermion_flutter_platform_interface" to `0.3.2`.
## 2025-07-08 ## 2025-07-08
### Changes ### Changes

View File

@@ -1,3 +1,7 @@
## 0.3.2
- Bump "thermion_dart" to `0.3.2`.
## 0.3.1 ## 0.3.1
- **REFACTOR**: remove covariant keyword from createInstance args. - **REFACTOR**: remove covariant keyword from createInstance args.

View File

@@ -1,6 +1,6 @@
name: thermion_dart name: thermion_dart
description: 3D rendering toolkit for Dart. description: 3D rendering toolkit for Dart.
version: 0.3.1 version: 0.3.2
homepage: https://thermion.dev homepage: https://thermion.dev
repository: https://github.com/nmfisher/thermion repository: https://github.com/nmfisher/thermion

View File

@@ -1,3 +1,7 @@
## 0.3.2
- Bump "thermion_flutter" to `0.3.2`.
## 0.3.1 ## 0.3.1
- **FIX**: addDestroySwapchain argument to createViewer() (true by default). This is only used on iOS/macOS where a single swapchain is shared between all render targets. - **FIX**: addDestroySwapchain argument to createViewer() (true by default). This is only used on iOS/macOS where a single swapchain is shared between all render targets.

View File

@@ -1,6 +1,6 @@
name: thermion_flutter name: thermion_flutter
description: Flutter plugin for 3D rendering with the Thermion toolkit. description: Flutter plugin for 3D rendering with the Thermion toolkit.
version: 0.3.1 version: 0.3.2
homepage: https://thermion.dev homepage: https://thermion.dev
repository: https://github.com/nmfisher/thermion repository: https://github.com/nmfisher/thermion
@@ -17,10 +17,10 @@ dependencies:
plugin_platform_interface: ^2.0.0 plugin_platform_interface: ^2.0.0
ffi: ^2.1.2 ffi: ^2.1.2
animation_tools_dart: ^0.1.0 animation_tools_dart: ^0.1.0
thermion_dart: ^0.3.1 thermion_dart: ^0.3.2
thermion_flutter_platform_interface: ^0.3.1 thermion_flutter_platform_interface: ^0.3.2
thermion_flutter_method_channel: ^0.3.1 thermion_flutter_method_channel: ^0.3.2
thermion_flutter_web: ^0.3.1 thermion_flutter_web: ^0.3.2
logging: ^1.2.0 logging: ^1.2.0
web: ^1.0.0 web: ^1.0.0

View File

@@ -1,3 +1,7 @@
## 0.3.2
- Bump "thermion_flutter_method_channel" to `0.3.2`.
## 0.3.1 ## 0.3.1
- **FIX**: addDestroySwapchain argument to createViewer() (true by default). This is only used on iOS/macOS where a single swapchain is shared between all render targets. - **FIX**: addDestroySwapchain argument to createViewer() (true by default). This is only used on iOS/macOS where a single swapchain is shared between all render targets.

View File

@@ -1,7 +1,7 @@
name: thermion_flutter_method_channel name: thermion_flutter_method_channel
description: Desktop + mobile implementation for texture creation + registration with Flutter. description: Desktop + mobile implementation for texture creation + registration with Flutter.
repository: https://github.com/nmfisher/thermion_flutter/thermion_flutter repository: https://github.com/nmfisher/thermion_flutter/thermion_flutter
version: 0.3.1 version: 0.3.2
environment: environment:
sdk: ">=3.3.0 <4.0.0" sdk: ">=3.3.0 <4.0.0"
@@ -23,8 +23,8 @@ dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
plugin_platform_interface: ^2.1.0 plugin_platform_interface: ^2.1.0
thermion_flutter_platform_interface: ^0.3.1 thermion_flutter_platform_interface: ^0.3.2
thermion_dart: ^0.3.1 thermion_dart: ^0.3.2
logging: ^1.2.0 logging: ^1.2.0
dependency_overrides: dependency_overrides:
thermion_dart: thermion_dart:

View File

@@ -1,3 +1,7 @@
## 0.3.2
- Bump "thermion_flutter_platform_interface" to `0.3.2`.
## 0.3.1 ## 0.3.1
- **FIX**: addDestroySwapchain argument to createViewer() (true by default). This is only used on iOS/macOS where a single swapchain is shared between all render targets. - **FIX**: addDestroySwapchain argument to createViewer() (true by default). This is only used on iOS/macOS where a single swapchain is shared between all render targets.

View File

@@ -1,7 +1,7 @@
name: thermion_flutter_platform_interface name: thermion_flutter_platform_interface
description: A common platform interface for the thermion_flutter plugin. description: A common platform interface for the thermion_flutter plugin.
repository: https://github.com/nmfisher/thermion_flutter/thermion_flutter repository: https://github.com/nmfisher/thermion_flutter/thermion_flutter
version: 0.3.1 version: 0.3.2
environment: environment:
sdk: ">=3.3.0 <4.0.0" sdk: ">=3.3.0 <4.0.0"
@@ -11,7 +11,7 @@ dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
plugin_platform_interface: ^2.1.0 plugin_platform_interface: ^2.1.0
thermion_dart: ^0.3.1 thermion_dart: ^0.3.2
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:

View File

@@ -1,3 +1,7 @@
## 0.3.2
- **FIX**: add missing destroySwapchain argument for web.
## 0.3.1 ## 0.3.1
## 0.3.0 ## 0.3.0

View File

@@ -40,7 +40,7 @@ class ThermionFlutterWebPlugin extends ThermionFlutterPlatform {
return asset.buffer.asUint8List(asset.offsetInBytes); return asset.buffer.asUint8List(asset.offsetInBytes);
} }
Future<ThermionViewer> createViewer() async { Future<ThermionViewer> createViewer({bool destroySwapchain = true}) async {
HTMLCanvasElement? canvas; HTMLCanvasElement? canvas;
if (FilamentApp.instance == null) { if (FilamentApp.instance == null) {
// first, try and initialize bindings to see if the user has included thermion_dart.js manually in index.html // first, try and initialize bindings to see if the user has included thermion_dart.js manually in index.html

View File

@@ -1,7 +1,7 @@
name: thermion_flutter_web name: thermion_flutter_web
description: A web platform interface for the thermion_flutter plugin. description: A web platform interface for the thermion_flutter plugin.
repository: https://github.com/nmfisher/thermion_flutter/thermion_flutter repository: https://github.com/nmfisher/thermion_flutter/thermion_flutter
version: 0.3.1 version: 0.3.2
environment: environment:
sdk: ">=3.3.0 <4.0.0" sdk: ">=3.3.0 <4.0.0"
@@ -20,8 +20,8 @@ dependencies:
sdk: flutter sdk: flutter
plugin_platform_interface: ^2.1.0 plugin_platform_interface: ^2.1.0
web: ^1.0.0 web: ^1.0.0
thermion_dart: ^0.3.1 thermion_dart: ^0.3.2
thermion_flutter_platform_interface: ^0.3.1 thermion_flutter_platform_interface: ^0.3.2
flutter_web_plugins: flutter_web_plugins:
sdk: flutter sdk: flutter
logging: ^1.3.0 logging: ^1.3.0