diff --git a/DESCRIPTION b/DESCRIPTION index 453630c..2a9485b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: dashVtk Title: React based declarative usage of vtk.js for Dash -Version: 0.0.2 +Version: 0.0.3 Description: React based declarative usage of vtk.js for Dash Depends: R (>= 3.0.2) Imports: diff --git a/Project.toml b/Project.toml index 947d1ac..4921bbc 100644 --- a/Project.toml +++ b/Project.toml @@ -2,7 +2,7 @@ name = "DashVtk" uuid = "1b08a953-4be3-4667-9a23-818b1eccd4c7" authors = ["Kitware Inc and Plotly Technologies "] -version = "0.0.2" +version = "0.0.3" [deps] Dash = "1b08a953-4be3-4667-9a23-3db579824955" diff --git a/R/internal.R b/R/internal.R index 73c801e..3e5c89b 100644 --- a/R/internal.R +++ b/R/internal.R @@ -1,12 +1,12 @@ .dashVtk_js_metadata <- function() { deps_metadata <- list(`dash_vtk` = structure(list(name = "dash_vtk", -version = "0.0.2", src = list(href = NULL, +version = "0.0.3", src = list(href = NULL, file = "deps"), meta = NULL, script = 'dash_vtk.min.js', stylesheet = NULL, head = NULL, attachment = NULL, package = "dashVtk", all_files = FALSE), class = "html_dependency"), `dash_vtk` = structure(list(name = "dash_vtk", -version = "0.0.2", src = list(href = NULL, +version = "0.0.3", src = list(href = NULL, file = "deps"), meta = NULL, script = 'dash_vtk.min.js.map', stylesheet = NULL, head = NULL, attachment = NULL, package = "dashVtk", diff --git a/dash_vtk/package-info.json b/dash_vtk/package-info.json index 0c24488..cf368d7 100644 --- a/dash_vtk/package-info.json +++ b/dash_vtk/package-info.json @@ -1,6 +1,6 @@ { "name": "dash_vtk", - "version": "0.0.2", + "version": "0.0.3", "description": "React based declarative usage of vtk.js for Dash", "repository": { "type": "git", diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 6ddcda0..e5ddf8e 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.0.3] - 2021-02-04 + ### Changed * [Demos](https://github.com/plotly/dash-vtk/pull/16): removed headers, updated layout sizes, remove unused files * `demos/usage-vtk-cfd`: update viz on drag @@ -14,6 +16,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * `README.md`: Change relative links to URLs * `docs/CONTRIBUTING.md` ([commit](https://github.com/plotly/dash-vtk/pull/15/commits/0ec656e20b7e34e77bab7c573748e2842eba0d5f)): Various clarification and improvements +## Fixed +* Simplified imports in `dash_vtk.utils.vtk` to only load necessary modules from `vtk`. This avoids `libGL.so.1` since server side rendering is not needed. + ## [0.0.2] - 2021-01-29 ### Added diff --git a/package.json b/package.json index 0c24488..cf368d7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dash_vtk", - "version": "0.0.2", + "version": "0.0.3", "description": "React based declarative usage of vtk.js for Dash", "repository": { "type": "git", diff --git a/src/DashVtk.jl b/src/DashVtk.jl index 27b39d3..de055b5 100644 --- a/src/DashVtk.jl +++ b/src/DashVtk.jl @@ -3,7 +3,7 @@ module DashVtk using Dash const resources_path = realpath(joinpath( @__DIR__, "..", "deps")) -const version = "0.0.2" +const version = "0.0.3" include("vtk_algorithm.jl") include("vtk_calculator.jl") @@ -34,14 +34,14 @@ function __init__() [ DashBase.Resource( relative_package_path = "dash_vtk.min.js", - external_url = "https://unpkg.com/dash_vtk@0.0.2/dash_vtk/dash_vtk.min.js", + external_url = "https://unpkg.com/dash_vtk@0.0.3/dash_vtk/dash_vtk.min.js", dynamic = nothing, async = nothing, type = :js ), DashBase.Resource( relative_package_path = "dash_vtk.min.js.map", - external_url = "https://unpkg.com/dash_vtk@0.0.2/dash_vtk/dash_vtk.min.js.map", + external_url = "https://unpkg.com/dash_vtk@0.0.3/dash_vtk/dash_vtk.min.js.map", dynamic = true, async = nothing, type = :js