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

Consider deprecating Moment.js due to it being legacy tech #27859

Closed
mor10 opened this issue Nov 5, 2020 · 1 comment
Closed

Consider deprecating Moment.js due to it being legacy tech #27859

mor10 opened this issue Nov 5, 2020 · 1 comment
Labels
type: bug An issue or pull request relating to a bug in Gatsby

Comments

@mor10
Copy link

mor10 commented Nov 5, 2020

Description

Moment.js is considered a legacy project by its maintainers:

"We now generally consider Moment to be a legacy project in maintenance mode. It is not dead, but it is indeed done."

Source: https://momentjs.com/docs/

Apart from the various issues with Moment.js itself, JS itself now encapsulates much if not all its features.

Recommendations

  • Deprecate Moment.js and replace with standard JS features.
  • Update documentation to provide adequate transition instructions for devs using Moment.js features.
@mor10 mor10 added the type: bug An issue or pull request relating to a bug in Gatsby label Nov 5, 2020
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Nov 5, 2020
@vladar
Copy link
Contributor

vladar commented Nov 5, 2020

Thank you for opening this, @mor10

This is under discussion / planned for v3. I encourage you to read and post a comment in this thread: #15277

@vladar vladar closed this as completed Nov 5, 2020
@vladar vladar removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug An issue or pull request relating to a bug in Gatsby
Projects
None yet
Development

No branches or pull requests

2 participants