Replies: 3 comments
-
so i would say if we don't have any issues with library we shouldn't upgrade, for two reasons , breaking changes and new issues in the new version, and security there might be security threats in new versions |
Beta Was this translation helpful? Give feedback.
-
I highly disagree @flexsurfer, upgrading libraries is one of the basic layers of protection against security threats. For instance, this is on OWASP Top 10 2021, but the recommendation stands for any year:
And besides security, upgrades may also give us:
The list goes on and on. Almost every time I read the changelog by libraries I see tons of value in upgrading. Authors are generally releasing for good reasons. |
Beta Was this translation helpful? Give feedback.
-
yeah but not always :) |
Beta Was this translation helpful? Give feedback.
-
Outdated libraries
THIS IS A WORK IN PROGRESS
This issue is not concerned with upgrading major libraries, like React Native, but it's an initial attempt to investigate and upgrade some libraries, or many if we're lucky. Of course, we want to do the upgrades piecemeal to avoid wrecking
status-mobile
.Consider updating doc/dependencies.md and improving it.
qrcode
, behind by 1 minor version, should be safe to upgrade. Consider not upgrading because we can use the media server @siddarthkayi18n-js
. We're behind 1 major version. Should be relatively easy to upgrade since i18n has a very narrow purpose in the codebase.detox
. Double-check with QA team.rn-snoopy
. Archived repo in Status org. Need to check.bignumber.js
Archived repo in Status org. It's worth checking out why we can't or shouldn't upgrade to latest. The library is not used in too many places.Which libs are outdated?
Run
yarn outdated
to get the list. The one below was generated on Mar 16, 2023.Beta Was this translation helpful? Give feedback.
All reactions