diff --git a/CHANGELOG.md b/CHANGELOG.md index c8f446b5..73ebdd52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,13 @@ # Changelog -## 1.7.9 +## 1.8.0 - bug fixes - project tree: layout issue with deeply nested widgets +- custom module + - add `nativeRequire` function (allows loading native node modules or locally installed moduled) + ## 1.7.8 - bug fixes diff --git a/resources/docs/docs/getting-started/server-configuration.md b/resources/docs/docs/getting-started/server-configuration.md index 09c51688..dc2887a8 100644 --- a/resources/docs/docs/getting-started/server-configuration.md +++ b/resources/docs/docs/getting-started/server-configuration.md @@ -27,6 +27,8 @@ The **server** can be configured with many options, either from a terminal or wi Path to a custom module file (.js). + **WARNING:** custom module can access the file system, use at your own risk. + !!! quote "" #### `port` diff --git a/resources/docs/docs/user-interface/client.md b/resources/docs/docs/user-interface/client.md index 7c53bfab..eacd3163 100644 --- a/resources/docs/docs/user-interface/client.md +++ b/resources/docs/docs/user-interface/client.md @@ -23,6 +23,9 @@ - Project tree: toggle project tree's visibility - Inspector: toggle inspector's visibility - Relative units (%): when enabled, newly created widgets will have their position and size set in percents. +- Console + - Enable: toggle console's state + - Clear console: remove logged messages from the console - Fullscreen: toggle fullscreen - Prevent sleep (mobile only): attempt to prevent device from going to sleep when idle diff --git a/src/server/options.js b/src/server/options.js index 0f265e28..2f19abac 100644 --- a/src/server/options.js +++ b/src/server/options.js @@ -17,7 +17,7 @@ module.exports = { return fs.existsSync(arg) ? true : 'State file not found: ' + arg } }, - 'c': {alias: 'custom-module', type: 'string', file: {name: 'OSC Custom module (.js)', extensions: ['js']}, describe: 'custom module file to load (.js)', + 'c': {alias: 'custom-module', type: 'string', file: {name: 'OSC Custom module (.js)', extensions: ['js']}, describe: 'custom module file to load (.js)\n WARNING: custom module can access the file system, use at your own risk.', check: (arg)=>{ return fs.existsSync(arg) ? true : 'Custom module file not found: ' + arg },