diff --git a/.changes/fs-remove-unwatch.md b/.changes/fs-remove-unwatch.md new file mode 100644 index 000000000..c7dba9a9f --- /dev/null +++ b/.changes/fs-remove-unwatch.md @@ -0,0 +1,5 @@ +--- +"fs": major +--- + +**Breaking:** Removed the `allow-unwatch` and `deny-unwatch` permissions. There has been no `unwatch` command since v2.0 (`Watcher.close()` releases the resource instead), so they never granted anything. diff --git a/plugins/fs/build.rs b/plugins/fs/build.rs index fd0e7b5dd..aa9e521f5 100644 --- a/plugins/fs/build.rs +++ b/plugins/fs/build.rs @@ -97,8 +97,6 @@ const COMMANDS: &[&str] = &[ "fstat", "exists", "watch", - // TODO: Remove this in v3 - "unwatch", "size", "start_accessing_security_scoped_resource", "stop_accessing_security_scoped_resource", diff --git a/plugins/fs/permissions/autogenerated/reference.md b/plugins/fs/permissions/autogenerated/reference.md index da64bd29b..20451832f 100644 --- a/plugins/fs/permissions/autogenerated/reference.md +++ b/plugins/fs/permissions/autogenerated/reference.md @@ -564,32 +564,6 @@ Denies the truncate command without any pre-configured scope.