Shields: Moment.js Maintenance Mode Announcement

Created on 19 Sep 2020  路  3Comments  路  Source: badges/shields

Some interesting news on Moment.js being deprecated (sort of). I don't see a need for any action, at least in the short term, given that they've said they'll continue to address security issues. However, opening for awareness and discussion.

https://momentjs.com/docs/#/-project-status/

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

In practice, this means:

  • We will not be adding new features or capabilities.
  • We will not be changing Moment's API to be immutable.
  • We will not be addressing tree shaking or bundle size issues.
  • We will not be making any major changes (no version 3).
  • We may choose to not fix bugs or behavioral quirks, especially if they are long-standing known issues.

However, since we understand that Moment is well established in millions of existing projects:

  • We will address critical security concerns as they arise.
  • We will release data updates for Moment-Timezone following IANA time zone database releases.
dependencies

Most helpful comment

Yeah I also spotted this the other day. I'd agree with your perspective. There is no rush to migrate given it will continue to receive security updates. That said, our usage of moment is pretty light: we require it in less than 10 files, we're not heavily tied to it by another dependency which forces us to use it, and its not part of our service framework so if we do want to migrate to _something else_ its not an enormous job like request is, for example.

All 3 comments

Yeah I also spotted this the other day. I'd agree with your perspective. There is no rush to migrate given it will continue to receive security updates. That said, our usage of moment is pretty light: we require it in less than 10 files, we're not heavily tied to it by another dependency which forces us to use it, and its not part of our service framework so if we do want to migrate to _something else_ its not an enormous job like request is, for example.

Yea, it should be an easy swap.

I'm curious, does anyone have experience with Day.js or the other alternatives?

I'm curious, does anyone have experience with Day.js or the other alternatives?

Nope, I've only ever used Moment

Was this page helpful?
0 / 5 - 0 ratings

Related issues

paulmelnikow picture paulmelnikow  路  3Comments

PyvesB picture PyvesB  路  3Comments

najeeb-ur-rehman picture najeeb-ur-rehman  路  3Comments

lukeeey picture lukeeey  路  3Comments

niccokunzmann picture niccokunzmann  路  3Comments