Skip to content

Commit f21f8ac

Browse files
ExcodiburExcodibur
authored andcommitted
chore: release v0.0.8
Bump three from 0.125.2 to 0.126.0
1 parent ea63368 commit f21f8ac

File tree

12 files changed

+6580
-6557
lines changed

12 files changed

+6580
-6557
lines changed

.github/workflows/publish-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
with:
6262
github_token: ${{ secrets.GITHUB_TOKEN }}
6363
publish_dir: ./doc
64-
exclude_assets: '**.adoc,*/**.adoc,*/**.sh'
64+
exclude_assets: '**.adoc,*/**.adoc,*/**.sh,*/**.gif'
6565
keep_files: true
6666
destination_dir: ${{ steps.prepare_tag.outputs.deploy_tag_name }}
6767

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
Placeholder for the next version (add instead of version-number-headline below):
44
## __WORK IN PROGRESS__
55
-->
6+
## 0.0.8 (2021-03-04)
7+
* Bump three from 0.125.2 to 0.126.0
8+
69
## 0.0.7 (2021-02-21)
710
* Fixed lighting behaviour (switchable lights)
811

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Source files for this example can be found [here](examples/house).
2323

2424
Before you start using it, please [read the documentation](https://excodibur.github.io/ioBroker.vis-3dmodel/latest/index.html).
2525

26-
26+
Please use in conjunction with VIS-Adapter [https://github.com/ioBroker/ioBroker.vis/tree/v1.3.8](v1.3.8) (or newer) for the widget to work flawlessly.
2727
## Changelog
2828
See [Changelog](https://github.com/Excodibur/ioBroker.vis-3dmodel/blob/master/CHANGELOG.md).
2929

doc/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ At its core the 3D Model widget uses link:https://threejs.org/[ThreeJS] as rende
1313

1414
If everything is setup correctly, this (or hopefully more beautiful) is how your house-model could look like:
1515

16-
image:media/clips/3dmodel_demo.gif[title="Demo of 3D model widget"]
16+
video::media/clips/3dmodel_demo.mp4[width=960,title="Demo of 3D model widget"]
1717

1818
include::installation.adoc[leveloffset=1]
1919
include::usage/usage.adoc[leveloffset=1]

doc/installation.adoc

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ To achieve this, perform the following steps:
1212

1313
The following issues were observed during development and likely will reoccur for other users, hence this section covers known workarounds for them. Some of the issues described here are already being fixed, or formally addressed, but still exist at the time of writing this document.
1414

15+
Recent issues can also be found here: link:https://github.com/Excodibur/ioBroker.vis-3dmodel/issues[GitHub 3D Model Widget issue tracker].
16+
17+
=== Problems with loading model (CSP)
18+
[IMPORTANT]
19+
--
20+
The workaround described below is only required, if VIS adapter older than link:https://github.com/ioBroker/ioBroker.vis/tree/v1.3.8[v1.3.8] is installed.
21+
22+
With this and newer releases the *Content Security Policy* now includes the fix already. For more details, please take a look at link:https://github.com/ioBroker/ioBroker.vis/pull/346[this ticket].
23+
--
24+
1525
* The *Content Security Policy* that is enforced by ioBroker VIS by default will likely cause issues on client-side, if a GLTF model is loaded that contains Materials and Image Textures. It is correctly displayed in edit-view, but in the regular end-user view it appears as black box, since it was not properly loaded. In the web-console of your browser you will find numerous errors related to the *Content Security Policy*. ThreeJS, the 3D render library used within this widget loads some resources as *blob* data, which by default is blocked by the CSP the VIS adapter uses.
1626
** The solution is to change the VIS config file `<iobroker-home>/node_modules/iobroker.vis/www/index.html`
1727

@@ -29,5 +39,3 @@ to
2939
<1> Notice that for content types `img-src` and `connect-src` both *blob:* was added.
3040

3141
And then restart VIS via GUI, or CLI. However sometimes updating old or installing new widgets overwrites this setting again, so this is not a permanet fix. It is checked, if this can be changed in the core code.
32-
33-
Recent issues can also be found here: link:https://github.com/Excodibur/ioBroker.vis-3dmodel/issues[GitHub 3D Model Widget issue tracker].

doc/media/clips/3dmodel_demo.mp4

3.35 MB
Binary file not shown.

io-package.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
11
{
22
"common": {
33
"name": "vis-3dmodel",
4-
"version": "0.0.7",
4+
"version": "0.0.8",
55
"news": {
6+
"0.0.8": {
7+
"en": "Bump three from 0.125.2 to 0.126.0",
8+
"de": "Bump drei von 0,125,2 auf 0,126,0",
9+
"ru": "Увеличьте 3 с 0,125,2 до 0,126,0",
10+
"pt": "Bata três de 0,125,2 para 0,126,0",
11+
"nl": "Bump drie van 0.125.2 naar 0.126.0",
12+
"fr": "Passez trois de 0,125,2 à 0,126,0",
13+
"it": "Salta tre da 0.125.2 a 0.126.0",
14+
"es": "Aumente tres de 0.125.2 a 0.126.0",
15+
"pl": "Podbij trzy z 0,125,2 na 0,126,0",
16+
"zh-cn": "凹凸三从0.125.2到0.126.0"
17+
},
618
"0.0.7": {
719
"en": "Fixed lighting behaviour (switchable lights)",
820
"de": "Festes Beleuchtungsverhalten (schaltbare Lichter)",

0 commit comments

Comments
 (0)