Skip to content

[C] Upgrade client dependencies#3808

Merged
dananjohnson merged 98 commits intomasterfrom
dj/client-upgrades
May 13, 2025
Merged

[C] Upgrade client dependencies#3808
dananjohnson merged 98 commits intomasterfrom
dj/client-upgrades

Conversation

@dananjohnson
Copy link
Member

@dananjohnson dananjohnson commented Jan 30, 2025

This PR implements updates to almost all dependencies in the client as part of ongoing maintenance of the Manifold platform.

Notable changes

  • webpack 4 -> 5
  • react 16 -> 18

Other major upgrades

  • redux 4 -> 5
  • webpack-dev-server 3 -> 4
  • i18next 21 -> 24
  • react-ace 7 -> 14
  • react-datepicker 3 -> 8
  • react-dropzone 10 -> 14
  • tus-js-client 1 -> 4
  • …and many more

Removed packages

  • storybook et. al.
  • jest & enzyme
  • many babel plugins
  • misc webpack loaders & plugins
  • autoprefixer
  • bdd-lazy-var
  • body-scroll-lock
  • brackets2dots
  • cli-spinner
  • common-tags
  • compression
  • date-fns-tz
  • entities
  • es6-promise
  • express-session
  • focus-visible
  • glob
  • hoist-non-react-statics
  • humps
  • isomorphic-fetch
  • nl2br
  • node-noop
  • piping
  • pluralize
  • react-attr-converter
  • react-collapse
  • react-html5video
  • react-motion
  • react-sociable
  • react-swipeable
  • react-transition-group
  • react-typekit
  • redux-thunk
  • urijs

Other notes

  • We're temporarily holding off on a node and yarn upgrade until Manifold hosting is off Ubuntu and fully dockerized. When we're there, commit 686f7e6 can basically be reverted to be on node 20 and yarn 4.
  • The deprecated react-beautiful-dnd package has been replaced with pragmatic-drag-and-drop. Some drag-and-drop interfaces have been fully migrated, while others continue to use the old APIs via the atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration package. @atlaskit/tree also needs to be migrated in a future phase of work.
  • I did not do a full upgrade of react-router due to the complexity of a v6 migration. However, I added the package react-router-dom-v5-compat and began with some incremental updates.
  • query-string got a major upgrade (v7) but not all the way (v8) due to compatibility issues with v8 being a pure ES module. Same for redux-actions.

@dananjohnson dananjohnson force-pushed the dj/client-upgrades branch 4 times, most recently from 7e799ef to 87e4b67 Compare February 4, 2025 01:04
@dananjohnson dananjohnson force-pushed the dj/client-upgrades branch 7 times, most recently from 28bd0a7 to a30241d Compare February 28, 2025 20:35
@dananjohnson dananjohnson force-pushed the dj/client-upgrades branch 2 times, most recently from 22a8ecb to ef5f2a4 Compare March 10, 2025 17:54
@dananjohnson dananjohnson force-pushed the dj/client-upgrades branch 3 times, most recently from ca9e732 to 7e03c95 Compare April 7, 2025 22:22
@dananjohnson dananjohnson marked this pull request as ready for review April 11, 2025 23:49
@dananjohnson dananjohnson force-pushed the dj/client-upgrades branch 6 times, most recently from 8a273f7 to 636ac64 Compare April 11, 2025 23:58
@dananjohnson dananjohnson changed the title [WIP] Upgrade client dependencies [C] Upgrade client dependencies Apr 15, 2025
@dananjohnson dananjohnson force-pushed the dj/client-upgrades branch 3 times, most recently from 15f6a5f to 38f1abe Compare April 15, 2025 18:06
@dananjohnson dananjohnson merged commit d534f01 into master May 13, 2025
3 checks passed
@dananjohnson dananjohnson deleted the dj/client-upgrades branch May 13, 2025 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants