Skip to content

proposal: drop archive, datetime, log, and webgpu from the first stabilization targets #4804

Closed

Description

@kt3k

I suggest we drop these 4 from the first stabilization targets.

  • archive should be stabilized after Web Stream API support
  • It is likely that most of datetime APIs will be deprecated after Temporal is available. We should consider the stabilization after that
  • There seem no design consensus on log
  • WebGPU APIs are unstable in CLI. It doesn't make sense to stabilize std/webgpu in std.

Activity

  1. iuioiua commented on May 22, 2024

    @iuioiua
    Contributor

    I agree that we should remove them from the list for now in #4600, but document the reasoning.

  2. iuioiua commented on May 22, 2024

    @iuioiua
    Contributor

    Actually, few thoughts.

    • Arguably, the Streams API support in @std/archive should be a non-breaking feature. Meaning it might be fine to stabilize asynchronously.
      How long will it be before the Temporal API is widespread enough to justify its removal from the Standard Library?
    • I still wonder about the fundamental idea(s) of @std/log. I see the use of file logs, but not much else outside of that.
    • We should clarify that @std/webgpu will be stabilized after the WebGPU API is stabilized. It's more a matter of when.
  3. timreichen commented on May 22, 2024

    @timreichen
    Contributor

    I think there is some functionality that Temporal doesn't replace, for example parsing localized formats: https://tc39.es/proposal-temporal/docs/strings.html#why-doesnt-temporal-support-parsing-localized-formats-like-mmddyy

    So I am not sure if datetime can and should be removed once Temporal usage is established.

  4. kt3k commented on May 22, 2024

    @kt3k
    ContributorAuthor

    Arguably, the Streams API support in @std/archive should be a non-breaking feature. Meaning it might be fine to stabilize asynchronously.

    Don't TarStream and UntarStream (suggested in #4548) overlap with the existing Tar and Untar? I'm not sure stabilizing both make sense

  5. iuioiua commented on May 22, 2024

    @iuioiua
    Contributor

    @kt3k, are you suggesting that we replace Tar and Untar with TarStream and UntarStream, respectively?

  6. kt3k commented on May 23, 2024

    @kt3k
    ContributorAuthor

    I think that was an original plan

  7. iuioiua commented on May 23, 2024

    @iuioiua
    Contributor

    Sounds good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions