Page MenuHomePhabricator

Upgrade dependencies (Symfony, OOUI, wikimedia-ui-base, etc.)
Closed, ResolvedPublic3 Estimated Story Points

Description

We're currently using a few outdated packages:

$ composer outdated -D
oojs/oojs-ui      v0.29.6 v0.30.0 Provides library of common widgets, layouts, and windows.
symfony/test-pack v1.0.2  v1.0.5  A pack for functional testing within a Symfony app

$ npm outdated
Package                  Current  Wanted  Latest  Location
@symfony/webpack-encore   0.20.1  0.20.1  0.22.2
css-loader                 1.0.0     git     git
eslint                     5.9.0  5.11.1  5.11.1
eslint-config-wikimedia    0.8.1   0.8.1   0.9.0
less                       3.8.1   3.9.0   3.9.0
oojs-ui                   0.29.6  0.29.6  0.30.0
popper.js                 1.14.5  1.14.6  1.14.6
wikimedia-ui-base         0.12.0  0.12.0  0.13.0

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

There are a few more upgrades to do (both in PHP and Javascript) since I opened this ticket. One is required for T212293 (updating wikimedia-base-ui and ooui):

https://github.com/wikimedia/svgtranslate/pull/45

Samwilson renamed this task from Update Symfony to 4.2 to Upgrade dependencies (Symfony, OOUI, wikimedia-ui-base, etc.).Jan 3 2019, 7:24 PM
Samwilson updated the task description. (Show Details)

The PR above handles upgrading the packages. There are a few remaining deprecations to fix that aren't required to get things working; I'll do these in a follow-up.

The first part of this is merged and the staging site updated.

The last part of this is https://github.com/wikimedia/svgtranslate/pull/46 — it upgrades the ToolforgeBundle and adds a missing dependency declaration to composer.json.