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

tracking: Deno 2 subcommand, flag and symbol removals #22079

Closed
iuioiua opened this issue Jan 24, 2024 · 10 comments
Closed

tracking: Deno 2 subcommand, flag and symbol removals #22079

iuioiua opened this issue Jan 24, 2024 · 10 comments
Assignees
Milestone

Comments

@iuioiua
Copy link
Contributor

iuioiua commented Jan 24, 2024

The following table contains all of the subcommands, flags and symbols to be removed in Deno 2.0.0. Some symbols will be soft removed, meaning that their types will be removed, but their functionality will live on, as to not break too much code. Maintainers, please update as needed.

Migration documentation can be found here: https://docs.deno.com/runtime/manual/advanced/migrate_deprecations/

Subcommand/flag/symbol Docs Removed Removal PR
deno bundle #25339
deno vendor #25343
--allow-none #25337
--jobs #25336
--ts #25338
--trace-ops #25344
--unstable #25522
Deno.Buffer #25441
Deno.close() #25347
Deno.Closer #25524
Deno.Conn.prototype.rid #25446
Deno.ConnectTlsOptions.certChain #25525
Deno.ConnectTlsOptions.certFile #25525
Deno.ConnectTlsOptions.privateKey #25525
Deno.copy() #25345
Deno.customInspect #25348
Deno.fdatasync[Sync]() #25520
Deno.File #25447
Deno.flock[Sync]() #25350
Deno.FsFile.prototype.rid #25499
Deno.fstat[Sync]() #25351
Deno.FsWatcher.prototype.rid #25444
Deno.fsync[Sync]() #25448
Deno.ftruncate[Sync]() #25412
Deno.funlock[Sync]() #25442
Deno.futime[Sync]() #25252
Deno.isatty() (soft) #25410
Deno.iter[Sync]() #25346
Deno.Listener.prototype.rid #25556
Deno.ListenTlsOptions.certChain #25525
Deno.ListenTlsOptions.certFile #25525
Deno.ListenTlsOptions.keyFile #25525
Deno.metrics() #25167
Deno.read[Sync]() #25409
Deno.readAll[Sync]() #25386
Deno.Reader[Sync]() #25524
Deno.resources() #25251
Deno.run() (soft) #25403
Deno.Seeker[Sync] #25551
Deno.seek[Sync]() #25449
Deno.serveHttp() (soft) #25451
Deno.Server #25369
Deno.shutdown() #25253
Deno.stderr.prototype.rid (soft) #25479
Deno.stdin.prototype.rid (soft) #25479
Deno.stdout.prototype.rid (soft) #25479
Deno.TcpConn.prototype.rid #25446
Deno.TlsConn.prototype.rid #25446
Deno.TlsListener.prototype.rid #25556
Deno.UnixConn.prototype.rid #25446
Deno.write[Sync]() #25408
Deno.writeAll[Sync]() #25407
Deno.Writer[Sync] #25524
new Deno.FsFile() #25478
window #25213
@Leokuma
Copy link

Leokuma commented Jan 29, 2024

There's a proposal to deprecate deno vendor: #20584

@Leokuma
Copy link

Leokuma commented Feb 21, 2024

Should we track deno.json options here too?

@iuioiua
Copy link
Contributor Author

iuioiua commented Feb 21, 2024

Remind me, which ones?

@Leokuma
Copy link

Leokuma commented Feb 22, 2024

Luca proposed to "deprecate exclude and include in deno.json in favor of a unified files key". Issue 22482.

@petamoriken
Copy link
Contributor

How about actually turning them off when the DENO_FUTURE env is enabled? #22318

@iuioiua
Copy link
Contributor Author

iuioiua commented Mar 25, 2024

How about actually turning them off when the DENO_FUTURE env is enabled? #22318

Yes, that is the current plan 🙂

@iuioiua
Copy link
Contributor Author

iuioiua commented Mar 25, 2024

Update: the following APIs will no longer be completely removed in Deno v2, and I've updated the list accordingly:

  1. Deno.run()
  2. Deno.serveHttp()
  3. Deno.isatty()
  4. Deno.std{in|out|err}.rid

@iuioiua
Copy link
Contributor Author

iuioiua commented Aug 22, 2024

According to Deno Deploy's API reference, none of these APIs exist on Deno Deploy. I suggest we proceed with these removals, starting with being included in Deno 2 RC.

iuioiua added a commit that referenced this issue Sep 5, 2024
iuioiua added a commit that referenced this issue Sep 5, 2024
iuioiua added a commit that referenced this issue Sep 5, 2024
Towards #22079

---------

Signed-off-by: Asher Gomez <[email protected]>
iuioiua added a commit that referenced this issue Sep 5, 2024
Towards #22079

---------

Co-authored-by: Bartek Iwańczuk <[email protected]>
iuioiua added a commit that referenced this issue Sep 6, 2024
Towards #22079

---------

Signed-off-by: Asher Gomez <[email protected]>
iuioiua added a commit that referenced this issue Sep 6, 2024
iuioiua added a commit that referenced this issue Sep 6, 2024
iuioiua added a commit that referenced this issue Sep 9, 2024
Towards #22079

---------

Signed-off-by: Asher Gomez <[email protected]>
iuioiua added a commit that referenced this issue Sep 10, 2024
Towards #22079

---------

Signed-off-by: Asher Gomez <[email protected]>
iuioiua added a commit that referenced this issue Sep 10, 2024
…vateKey}` and `Deno.ListenTlsOptions.certChain,certFile,keyFile}` (#25525)

Towards #22079
iuioiua added a commit that referenced this issue Sep 10, 2024
iuioiua added a commit that referenced this issue Sep 12, 2024
@iuioiua
Copy link
Contributor Author

iuioiua commented Sep 16, 2024

All done now 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants