Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add missing symbols to "Deno 1.x to 2.x Migration Guide" #828

Merged
merged 4 commits into from
Sep 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
update
  • Loading branch information
iuioiua committed Sep 11, 2024
commit b9b03a5668c5c6b40c181d6f5cb08c878927459d
15 changes: 15 additions & 0 deletions runtime/reference/migrate_deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,21 @@ methods instead.

See the [Deno 1.40 blog post][Deno 1.40 blog post] for details.

### Deno.ListenTlsOptions.certChain

Use the
[`cert`](https://docs.deno.com/api/deno/~/Deno.ListenTlsOptions#property_cert)
option instead.

```diff
using listener = Deno.listenTls({
port: 443,
- certChain: Deno.readTextFile("./server.crt"),
+ cert: Deno.readTextFile("./server.crt"),
key: Deno.readTextFileSync("./server.key"),
});
```

### Deno.ListenTlsOptions.certFile

Pass the certificate file contents to the
Expand Down