diff --git a/.changes/fern-dispatch-log-target.md b/.changes/fern-dispatch-log-target.md new file mode 100644 index 00000000..e21efc18 --- /dev/null +++ b/.changes/fern-dispatch-log-target.md @@ -0,0 +1,6 @@ +--- +log: minor +log-js: minor +--- + +Adds a new varient `TargetKind::Dispatch` that allows you to construct arbitrary log targets diff --git a/plugins/log/src/lib.rs b/plugins/log/src/lib.rs index 9657bcea..3c4abdd7 100644 --- a/plugins/log/src/lib.rs +++ b/plugins/log/src/lib.rs @@ -170,7 +170,7 @@ pub enum TargetKind { /// /// This requires the webview to subscribe to log events, via this plugins `attachConsole` function. Webview, - /// Send logs to a fern::Dispatch + /// Send logs to a [`fern::Dispatch`] /// /// You can use this to construct arbitrary log targets. Dispatch(fern::Dispatch), diff --git a/plugins/shell/permissions/schemas/schema.json b/plugins/shell/permissions/schemas/schema.json index f8127c57..9a198981 100644 --- a/plugins/shell/permissions/schemas/schema.json +++ b/plugins/shell/permissions/schemas/schema.json @@ -355,10 +355,10 @@ "markdownDescription": "Denies the stdin_write command without any pre-configured scope." }, { - "description": "This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality with a reasonable\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n", + "description": "This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality with a reasonable\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n\n#### This default permission set includes:\n\n- `allow-open`", "type": "string", "const": "default", - "markdownDescription": "This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality without any specific\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n\n#### This default permission set includes:\n\n- `allow-open`" + "markdownDescription": "This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality with a reasonable\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n\n#### This default permission set includes:\n\n- `allow-open`" } ] }