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

When will I be able to use Temporal in production? #1079

Closed
marikaner opened this issue Oct 30, 2020 · 8 comments
Closed

When will I be able to use Temporal in production? #1079

marikaner opened this issue Oct 30, 2020 · 8 comments
Labels

Comments

@marikaner
Copy link

Temporal seems to be what the standard was lacking for a long time and I am very interested in replacing our current implementation that uses moment with Temporal. I assume that once the proposal has reached stage 4 it will be safe to use the polyfills in production, but I couldn't find any indication of when (very roughly) this might be the case. I hope it is ok to ask this question here: Is it realistic that stage 4 will be reached next year?

@ptomato
Copy link
Collaborator

ptomato commented Oct 30, 2020

Hi, thanks for the inquiry! I cannot give any guarantees or say for sure, because the answer depends partly on how the proposal progresses through the TC39 committee meetings, and how browser implementers prioritize it, both of which are largely outside of the Temporal working group's control. That said, we are on the verge of freezing the proposal in order to give it to committee members for review, which we hope is the last step before reaching Stage 3.

My personal opinion (I'm not speaking for TC39 or my employer Igalia) is that it's not unrealistic that Stage 4 would be reached in 2021.

@ljharb
Copy link
Member

ljharb commented Oct 30, 2020

In general, proposals are safe to use in production via a fully spec-compliant polyfill/shim in stage 3, since that’s also when browsers ship.

@marikaner
Copy link
Author

Thanks a lot for this clarification!

@ptomato
Copy link
Collaborator

ptomato commented Jan 14, 2021

I hope that answered the question!

@marikaner
Copy link
Author

ouf, we're a bit off here... any new thoughts?

@ptomato
Copy link
Collaborator

ptomato commented Jul 8, 2024

Indeed, 2021 was too optimistic.

Currently, you can follow an overview of the remaining work at #2628.

@cromefire
Copy link

Now that everything is done there, is there any guess as to when it might become an official API? I'm eagerly waiting to add support for Temporal to some frameworks / libraries...

@ptomato
Copy link
Collaborator

ptomato commented Sep 19, 2024

At this point it is up to the browsers and other engines to implement it. I'm guessing that may happen in anywhere from 3 to 9 months, assuming that they do not find any further defects in the proposal during that process.

How fast the implementation goes is up to those respective teams to prioritize, and it's outside of TC39's control, but I will continue to publish graphs every so often such as this one: https://ptomato.name/talks/tc39-2024-07/#4
(Note that test conformance is only a rough measure of how much work there is left to do, and should not be interpreted as "% DONE", but it gives a general idea.)

Once we have 2 working implementations, the proposal can advance to stage 4 at which point it becomes part of the published standard. Then it'll be up to you to consult resources like https://caniuse.com/?search=Temporal and decide on what percentage of availability is enough to start adding Temporal support to your codebase(s).

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

No branches or pull requests

4 participants