Page MenuHomePhabricator

Upgrade justinrainbow/json-schema to 6.x
Open, Needs TriagePublic

Event Timeline

Change #1218857 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/vendor@master] Upgrading justinrainbow/json-schema (5.3.1 => 6.6.3)

https://gerrit.wikimedia.org/r/1218857

Umherirrender subscribed.

The version used in mediawiki/vendor is using deprecated curl_close (T413538)

Fixed upstream with https://github.com/jsonrainbow/json-schema/commit/93e0ed79307db19bcfea23c272c559e2b6673b5b released as 6.5.1

I’ve also been trying to get it backported.

https://github.com/jsonrainbow/json-schema/pull/864

If the version constraint says it works on PHP 8.5…

Change #1229263 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@master] Upgrading justinrainbow/json-schema (5.3.1 => 6.6.4)

https://gerrit.wikimedia.org/r/1229263

It moved from require-dev to require in MW core in REL1_38 - rMWf98f7312e1b1: SettingsBuilder: add ability to validate config against schema.

Those specific requirements in extensions shouldn't be necessary...

Patches up to remove them...

Change #1229663 had a related patch set uploaded (by Jforrester; author: Jforrester):

[translatewiki@master] build: Allow justinrainbow/json-schema 6.6.4+ for PHP 8.5

https://gerrit.wikimedia.org/r/1229663

Change #1229663 merged by jenkins-bot:

[translatewiki@master] build: Allow justinrainbow/json-schema 6.6.4+ for PHP 8.5

https://gerrit.wikimedia.org/r/1229663