chore(release): publish packages

- thermion_dart@0.2.1-dev.0.0.10
 - thermion_flutter@0.2.1-dev.9
 - thermion_flutter_ffi@0.2.1-dev.9
 - thermion_flutter_platform_interface@0.2.1-dev.9
 - thermion_flutter_web@0.2.0
This commit is contained in:
Nick Fisher
2024-10-23 14:46:40 +08:00
parent d73e723003
commit d4a3985a65
11 changed files with 649 additions and 14 deletions

View File

@@ -1,3 +1,185 @@
## 0.2.1-dev.0.0.10
> Note: This release has breaking changes.
- Change defaults for DelegateInputHandler
- **REFACTOR**: move native types to own header, add methods for create/destroy material instance, add priority/layer to load_glb_from_buffer.
- **REFACTOR**: native types.
- **REFACTOR**: continual refactor to support multiple render targets.
- **REFACTOR**: native types.
- **REFACTOR**: move native types to own header, add methods for create/destroy material instance, add priority/layer to load_glb_from_buffer.
- **REFACTOR**: Dart types.
- **REFACTOR**: Dart types.
- **REFACTOR**: continual refactor to support multiple render targets.
- **REFACTOR**: native types.
- **REFACTOR**: native types.
- **FIX**: set render target to null for each view and then destroy render targets when viewer disposed.
- **FIX**: add check for nan NDC coordinates for viewport translation.
- **FIX**: move createUnlitMaterialInstance and createGeometry to render thread.
- **FIX**: properly destroy entities/material/etc in Gizmo on destruction, remove custom scene creation logic.
- **FIX**: dont calculate surface orientation for non-triangle geometry.
- **FIX**: set View render target to nullptr if Dart renderTarget is null.
- **FIX**: properly destroy entities/material/etc in Gizmo on destruction, remove custom scene creation logic.
- **FIX**: add Fence to capture() and set stencil buffer by default.
- **FIX**: emscripten export visibility for add_light.
- **FIX**: (wasm) use correct coords for pick, free memory correctly, keep pixelratio copy.
- **FIX**: add more nan checks for gizmo manipulation.
- **FIX**: add check for nan NDC coordinates for viewport translation.
- **FIX**: (web) add emscripten guards for flushAndWait call when swapchain destroyed.
- **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**: add more nan checks for gizmo manipulation.
- **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.
- **FIX**: move ThermionWin32.h to include.
- **FIX**: move ThermionWin32.h to include.
- **FIX**: (wasm) use correct coords for pick, free memory correctly, keep pixelratio copy.
- **FIX**: emscripten export visibility for add_light.
- **FIX**: ignore pick results directly on axis.
- **FIX**: add Fence to capture() and set stencil buffer by default.
- **FIX**: move createUnlitMaterialInstance and createGeometry to render thread.
- **FIX**: (web) add emscripten guards for flushAndWait call when swapchain destroyed.
- **FIX**: ignore pick results directly on axis.
- **FIX**: move createUnlitMaterialInstance and createGeometry to render thread.
- **FEAT**: download WASM module directly on web (no need to embed in index.html any more) and expose updateViewportAndCameraProjection.
- **FEAT**: layers, grid.
- **FEAT**: simplify FixedOrbitCameraRotationDelegate.
- **FEAT**: produce debug symbols on Windows.
- **FEAT**: move HighlightOverlay to nested class, move createGeometry to SceneManager, add queueRelativePositionUpdateFromViewportVector.
- **FEAT**: set InputType.SCALE1 to ROTATE by default for DelegateInputHandler.fixedOrbit.
- **FEAT**: parent the cloned entity instance when setting stencil highlight.
- **FEAT**: add getAncestor method.
- **FEAT**: add getAncestor method.
- **FEAT**: set stencil highlight on gizmo attach.
- **FEAT**: move createGeometry to SceneManager, add queueRelativePositionUpdateFromViewportVector and removeStencilHighlight.
- **FEAT**: download WASM module directly on web (no need to embed in index.html any more) and expose updateViewportAndCameraProjection.
- **FEAT**: move HighlightOverlay to nested class, move createGeometry to SceneManager, add queueRelativePositionUpdateFromViewportVector.
- **FEAT**: add removeStencilHighlight, accept color param for setStencilHighlight, queuePositionUpdateFromViewportCoords to ThermionDartApi.
- **FEAT**: add removeStencilHighlight, queuePositionUpdateFromViewportCoords to ThermionViewer.
- **FEAT**: camera and resizing improvements.
- **FEAT**: add flag for keepData for gltf instancing, add highlightScene, add stencilHighlight method.
- **FEAT**: grid uses own material.
- **FEAT**: set SCALE2:InputAction.ZOOM by default.
- **FEAT**: add grid material.
- **FEAT**: expose setLightDirection and setLightPosition.
- **FEAT**: support multiple ThermionWidget on Android.
- **FEAT**: use imported texture on iOS.
- **FEAT**: add setGizmoVisibility/pickGizmo methods to ThermionViewer.
- **FEAT**: remove gizmo view references, exclude gizmo entities from picking, add createIbl.
- **FEAT**: createIbl.
- **FEAT**: working implementation of multiple widgets on macos.
- **FEAT**: expose API methods for create_ibl, pick/set gizmo visibility.
- **FEAT**: create transparent overlay for gizmo for easier picking.
- **FEAT**: rescale gizmo based on distance from camera.
- **FEAT**: rescale gizmo based on distance from camera.
- **FEAT**: track zoom delta for DelegateInputHandler.
- **FEAT**: expose setLayerEnabled, viewportDimensions and getCameraFov on ThermionView.
- **FEAT**: layers, grid.
- **FEAT**: add capture() function and expose viewportDimensions on ThermionViewer (allows easier saving of captured images to PNG).
- **FEAT**: ignore grid overlay and gizmo center when picking, implement highlighting.
- **FEAT**: SceneManager updates (setLayer, add grid, queueRelativePositionUpdateWorld.
- **FEAT**: expose set_layer_enabled, get_camera_fov and queue_relative_position_updateg_world_axis to ThermionDartApi.h.
- **FEAT**: add getCameraFov to FilamentViewer.
- **FEAT**: add new grid overlay files to web CmakeLists.
- **FEAT**: re-implement (native) Gizmo class, expose preserveScaling parameter for setParent, add methods for getting viewport bounding box from renderable entity.
- **FEAT**: more work on multiple views/swapchains.
- **FEAT**: rescale gizmo based on distance from camera.
- **FEAT**: add capture() function and expose viewportDimensions on ThermionViewer (allows easier saving of captured images to PNG).
- **FEAT**: (web) allow table growth in emscripten module for passing C-style callback function pointers.
- **FEAT**: (web) add capture() method and missing camera navigation controls.
- **FEAT**: rescale gizmo based on distance from camera.
- **FEAT**: add grid material.
- **FEAT**: add startOffset parameter to gltf playAnimation.
- **FEAT**: create transparent overlay for gizmo for easier picking.
- **FEAT**: working implementation of multiple widgets on macos.
- **FEAT**: produce debug symbols on Windows.
- **FEAT**: (web) add capture() method and missing camera navigation controls.
- **FEAT**: re-implement (native) Gizmo class, expose preserveScaling parameter for setParent, add methods for getting viewport bounding box from renderable entity.
- **FEAT**: add new grid overlay files to web CmakeLists.
- **FEAT**: expose API methods for create_ibl, pick/set gizmo visibility.
- **FEAT**: add setParameterFloat2 method.
- **FEAT**: createIbl.
- **FEAT**: simplify FixedOrbitCameraRotationDelegate.
- **FEAT**: add setParameterFloat2 method.
- **FEAT**: expose setLayerEnabled, viewportDimensions and getCameraFov on ThermionView.
- **FEAT**: (web) allow table growth in emscripten module for passing C-style callback function pointers.
- **FEAT**: add getCameraFov to FilamentViewer.
- **FEAT**: camera and resizing improvements.
- **FEAT**: support multiple ThermionWidget on Android.
- **FEAT**: use imported texture on iOS.
- **FEAT**: add removeStencilHighlight, accept color param for setStencilHighlight, queuePositionUpdateFromViewportCoords to ThermionDartApi.
- **FEAT**: expose set_layer_enabled, get_camera_fov and queue_relative_position_updateg_world_axis to ThermionDartApi.h.
- **FEAT**: more work on multiple views/swapchains.
- **FEAT**: move createGeometry to SceneManager, add queueRelativePositionUpdateFromViewportVector and removeStencilHighlight.
- **FEAT**: remove gizmo view references, exclude gizmo entities from picking, add createIbl.
- **FEAT**: add setGizmoVisibility/pickGizmo methods to ThermionViewer.
- **FEAT**: add uvScale to unlit material.
- **FEAT**: add setParameterFloat2 method.
- **FEAT**: add setParameterFloat2 method.
- **FEAT**: set stencil highlight on gizmo attach.
- **FEAT**: add startOffset parameter to gltf playAnimation.
- **FEAT**: add ThirdPersonCameraDelegate.
- **FEAT**: add uvScale to unlit material.
- **FEAT**: add ThirdPersonCameraDelegate.
- **FEAT**: expose setLightDirection and setLightPosition.
- **FEAT**: set camera model matrix directly.
- **FEAT**: expose more camera methods.
- **FEAT**: add getAncestor method.
- **FEAT**: grid uses own material.
- **FEAT**: add flag for keepData for gltf instancing, add highlightScene, add stencilHighlight method.
- **FEAT**: set camera model matrix directly.
- **FEAT**: add removeStencilHighlight, queuePositionUpdateFromViewportCoords to ThermionViewer.
- **FEAT**: expose more camera methods.
- **FEAT**: ignore grid overlay and gizmo center when picking, implement highlighting.
- **FEAT**: layers, grid.
- **FEAT**: layers, grid.
- **FEAT**: parent the cloned entity instance when setting stencil highlight.
- **FEAT**: add getAncestor method.
- **FEAT**: SceneManager updates (setLayer, add grid, queueRelativePositionUpdateWorld.
- **DOCS**: add quickstart to README.
- **DOCS**: add quickstart to README.
- **BREAKING** **REFACTOR**: remove RenderThread methods no longer needed.
- **BREAKING** **REFACTOR**: refactor to support multiple Views/Render Targets.
- **BREAKING** **REFACTOR**: refactor to support multiple Views/Render Targets.
- **BREAKING** **REFACTOR**: remove RenderThread methods no longer needed.
- **BREAKING** **FIX**: Dart-only release mode builds on Window.
- **BREAKING** **FIX**: (windows) add flushAndWait call to capture() to prevent stalling on Windows; use provided buffer as pixelBuffer rather than duplicate allocation.
- **BREAKING** **FIX**: fix min SDK for thermion_dart.
- **BREAKING** **FIX**: replace queuePosition/Rotation with queueTransforms.
- **BREAKING** **FIX**: add meshoptimizer lib on Windows.
- **BREAKING** **FIX**: replace queuePosition/Rotation with queueTransforms.
- **BREAKING** **FIX**: replace queuePosition/Rotation with queueTransforms.
- **BREAKING** **FIX**: replace queuePosition/Rotation with queueTransforms.
- **BREAKING** **FIX**: Dart-only release mode builds on Window.
- **BREAKING** **FIX**: (web/wasm) free pick callbacks on dispose.
- **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**: (web/wasm) free pick callbacks on dispose.
- **BREAKING** **FIX**: fix min SDK for thermion_dart.
- **BREAKING** **FIX**: replace queuePosition/Rotation with queueTransforms.
- **BREAKING** **FIX**: replace queuePosition/Rotation with queueTransforms.
- **BREAKING** **FIX**: replace queuePosition/Rotation with queueTransforms.
- **BREAKING** **FIX**: replace queuePosition/Rotation with queueTransforms.
- **BREAKING** **FEAT**: update web/http dependencies.
- **BREAKING** **FEAT**: big refactor to support multiple swapchains.
- **BREAKING** **FEAT**: update web/http dependencies.
- **BREAKING** **FEAT**: (web) (flutter) create canvas when createViewer is called (no longer need to manually add canvas element to web HTML).
- **BREAKING** **FEAT**: set baseColorIndex to -1 by default in unlit materialss.
- **BREAKING** **FEAT**: (web) (flutter) create canvas when createViewer is called (no longer need to manually add canvas element to web HTML).
- **BREAKING** **FEAT**: big refactor to support multiple swapchains.
- **BREAKING** **FEAT**: set baseColorIndex to -1 by default in unlit materialss.
- **BREAKING** **CHORE**: cleanup deleted export.
- **BREAKING** **CHORE**: remove EntityTransformController (requires replacement).
- **BREAKING** **CHORE**: restructure viewer folders as libraries to only export the public interface.
- **BREAKING** **CHORE**: View.getCamera returns Future<Camera>.
- **BREAKING** **CHORE**: cleanup deleted export.
- **BREAKING** **CHORE**: remove EntityTransformController (requires replacement).
- **BREAKING** **CHORE**: View.getCamera returns Future<Camera>.
- **BREAKING** **CHORE**: restructure viewer folders as libraries to only export the public interface.
## 0.2.1-dev.0.0.9
> Note: This release has breaking changes.