1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/docs/runtime
Nayeem Rahman 22e0ee92a6
BREAKING(unstable): Use hosts for net allowlists (#8845)
Allowlist checking already uses hosts but for some reason 
requests, revokes and the runtime permissions API use URLs.

- BREAKING(lib.deno.unstable.d.ts): Change 
NetPermissionDescriptor::url to NetPermissionDescriptor::host

- fix(runtime/permissions): Don't add whole URLs to the 
allowlist on request

- fix(runtime/permissions): Harden strength semantics:
({ name: "net", host: "127.0.0.1" } is stronger than 
{ name: "net", host: "127.0.0.1:8000" }) for blocklisting

- refactor(runtime/permissions): Use tuples for hosts, make 
the host optional in Permissions::{query_net, request_net, revoke_net}()
2020-12-30 23:35:28 +01:00
..
compiler_apis.md refactor: permissions (#7074) 2020-08-18 16:29:32 -04:00
permission_apis.md BREAKING(unstable): Use hosts for net allowlists (#8845) 2020-12-30 23:35:28 +01:00
program_lifecycle.md refactor(cli/rt): deduplicate code (#8649) 2020-12-07 21:22:58 +01:00
stability.md docs: Fix broken links (#6853) 2020-07-23 10:05:36 -04:00
web_platform_apis.md docs: document the spec deviations in web apis (#8489) 2020-11-25 15:09:22 +01:00
workers.md chore: fixed various misspellings and other typos (#8691) 2020-12-11 06:45:45 +11:00