aboutsummaryrefslogtreecommitdiffstats
path: root/composer.json
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge "Update composer/semver"jenkins-bot2022-01-041-1/+1
|\ \
| * | Update composer/semverReedy2021-12-281-1/+1
| | | | | | | | | | | | | | | | | | | | | - Upgrading composer/semver (3.2.5 => 3.2.6) Change-Id: Id34f51254ae703ced2ce335c4af56b6fbf51c338 Depends-On: I2f4a3cf88e5e70b7695b4e7a6857be84d142a8e3
* | | Upgrading symfony/yaml (v5.3.6 => v5.4.0)Reedy2022-01-041-1/+1
|/ / | | | | | | | | | | | | Also note in RELEASE-NOTES about promotion from require-dev to require Depends-On: Ibfdbd2a479bd13d95e00fb41c2dd26b6ea6ea561 Change-Id: Ie1368ea2e5799b6b1e3f991b8156b967e12e0210
* | Merge "Add composer releasenotes command"jenkins-bot2021-12-231-0/+1
|\ \ | |/ |/|
| * Add composer releasenotes commandReedy2021-12-151-0/+1
| | | | | | | | | | Bug: T297826 Change-Id: Ia2ab03f27d423c4c318da803172957d5ff5c0311
* | Update wikimedia/assert from 0.5.0 to 0.5.1James D. Forrester2021-12-211-1/+1
|/ | | | | | | | All libraries and extensions require ^0.5.0 so this should Just Work™. Bug: T287972 Depends-On: I38ff3873df866cd896c9028dc6277ac7aac8a932 Change-Id: I0689e447d7b603a347869aa442a58602f45b2647
* Refactor SettingsBuilder to use BagOStuff.Dan Duvall2021-12-101-1/+0
| | | | | | | | | | | | | | Removed use of Psr\SimpleCache\CacheInterface in favor of BagOStuff, as the latter is a tried-and-true abstraction and the former offers no real upfront benefits since the caching patterns of SettingsBuilder are quite basic at this time. The simplicity of cache interface use is largely in part to the minimal probabilistic stampede protection implementation within CachedSource which is left untouched by this change. Bug: T294748 Change-Id: Ie59b37a8d5c7bf96225757fa9eb9d2c762476713
* SettingsBuilder: add ability to validate config against schemaPetr Pchelko2021-11-301-1/+1
| | | | | | | | | | | | Not yet sure if config validation makes sense in production, possibly before we write into cache we can validate, and then trust that the cached values are all valid. This patch just adds ability to validate the configuration. "justinrainbow/json-schema" is already a transitive dependency and is already in vendor. Change-Id: Ib039c897a36a7e1911309fd29514657042b1b139
* Cache loading of SettingsBuilder sourcesDan Duvall2021-11-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `SettingsBuilder` now accepts a PSR-16 cache interface with which to store and query settings before attempting to load from each source. By default, no cache is used, but any object that implements the `Psr\SimpleCache\CacheInterface` may be provided to the constructor. An explicit dependency on "psr/simple-cache" has been added to `composer.json`. Note that this dependency already existed in vendor albeit it as a transitive one. An APCu based `SharedMemoryCache` adapter is provided as a canonical PSR-16 compliant interface for production use. Sources are now queued by the `SettingsBuilder` when calling `load()`. If a cache interface has been provided, and the source is considered cacheable (implements `CacheableSource`), then it is wrapped as a `CachedSource` which will query the cache first before loading from the wrapped source. Cache stampedes are mitigated using probabilistic early expiry. The implementation for this was partially based on symfony/cache-contract source code but also from the Wikipedia article and paper referenced therein. See https://en.wikipedia.org/wiki/Cache_stampede#Probabilistic_early_expiration Bug: T294748 Change-Id: I52ab3899731546876ee58265bd4a1927886746dc
* SettingsBuilder: Add YAML file format.Petr Pchelko2021-11-291-1/+2
| | | | | | | | | | | | | If php-yaml extension in installed, use that. Otherwise we fallback to symfony Yaml parser. php-yaml is about 20 times faster then symfony, for default-settings.yaml it will take PHP-yaml 6ms to load it vs 100ms for symfony. But given that the result will be cached, it's better not to bring in a required native dependency. Bug: T294751 Change-Id: I3ffde926c3f264cacf39810ff7bd338c9f78823d
* composer.json: Swap `composer foo` for `@foo`Reedy2021-11-241-4/+4
| | | | Change-Id: Ib65ad97e49ba1b847c19ce1805f32b42382882cd
* resourceloader: Update wikimedia/minify to 2.2.6Timo Tijhof2021-11-191-1/+1
| | | | | | Bug: T296058 Depends-On: I526016f88ed581832fd974f55e764fd2d950992a Change-Id: I6bceffda0c7ff4f4d92e15e85ae8719426ff4c3f
* Upgrade to RemexHtml 3.0.1Tim Starling2021-11-191-1/+1
| | | | | Depends-On: I651e52c4e1346ec829a56da37e67e9649d855c08 Change-Id: Ic62ac01b4429fb269afc08aead431e78fa9eb16f
* Upgrading guzzlehttp/psr7 (1.8.3 => 2.1.0)Reedy2021-11-151-1/+0
| | | | | Change-Id: I3af605d909cffd625b278577887394cbe61a9c6e Depends-On: I8e9c899462b23e94bc8ff7875670062f97b3f1c6
* Upgrading guzzlehttp/guzzle (7.2.0 => 7.4.0)Reedy2021-11-111-1/+2
| | | | | Change-Id: I192f0a3a58b00b6fcac35711ca3fb4b1b23378e3 Depends-On: Icbfe05e17b2e5d31da9de3f61b14b6732c56a32f
* Update wikimedia/minify to 2.2.5Timo Tijhof2021-11-111-1/+1
| | | | | | | | | | Changes since 2.2.4: * Fix minify CLI to work from within vendor directory. * Remove true/false !0/!1 micro optimisation. (T237042) Depends-On: Id2f2061ac5c7389840b73ad138a91df73a40877f Change-Id: I1f437781dd8f0cea516693a6e15fe3f95a0aa2ad
* Update doctrine/dbal versionsReedy2021-11-081-1/+1
| | | | Change-Id: I9af2b53825afc7497af4a474c2940fd7dd841e72
* Upgrade to Shellbox 3.0.0Petr Pchelko2021-11-051-1/+1
| | | | | Depends-On: Idfe35c788a84f04a760edb01c0bf48ddc8accb1f Change-Id: Ib5ffeec5bb6b45ea7fb93aec8df4368231188b67
* Update OOUI to v0.42.1Volker E2021-11-041-1/+1
| | | | | | | | | | | | | | | | | | | Release notes: https://gerrit.wikimedia.org/g/oojs/ui/+/v0.42.1/History.md Bug: T283812 Bug: T287329 Bug: T288928 Bug: T289043 Bug: T289043 Bug: T290792 Bug: T290975 Bug: T291142 Bug: T291284 Bug: T293274 Bug: T293635 Depends-On: I0918c0c866147e6a103ce8815b7a36d0463457b7 Change-Id: I717ff53e18e95c72ace1c46b6236cfecb5cd8217
* Upgrade RemexHtml to 3.0.0Tim Starling2021-10-271-1/+1
| | | | | | | | | | | This is required by Parsoid 0.15.0-a6. I don't need to increment the Parsoid version here since it is not using semantic versioning. The caret will allow upgrades until the Glorious Future of 1.0.0. Depends-On: I72346a431f556555410f6af64bdb10140ea9bd8a Change-Id: Idefebb725444d244252623533b8469214324f931
* build: Update mediawiki-codesniffer from v37.0.0 to v38.0.0Alexander Vorwerk2021-10-221-1/+1
| | | | Change-Id: Iff096d3789b8c261aa47fb41d6f450a3bda7ce6a
* Upgrading wikimedia/wrappedstring (v3.2.0 => v4.0.1)Reedy2021-10-121-1/+1
| | | | | Depends-On: Ic26f3a3be1061b77e0af7b8c4c2569f9d070d191 Change-Id: I5a9f97cac52e4e9af612c2130359b017fb7176c1
* Upgrading zordius/lightncandy (v1.2.5 => v1.2.6)Reedy2021-10-091-1/+1
| | | | | Depends-On: Ie300e47f0c1429784a9ee97d99b25e37ea83787a Change-Id: Ic2829a2d1c6d4ba106b162416cedecd7066f2c34
* Upgrading psr/log (1.1.3 => 1.1.4)Reedy2021-10-081-1/+1
| | | | | Change-Id: If11d0081355eb9caa157fb92389d92ac65b27d4e Depends-On: I5c4006f5747075a92a78900606e196d33c6d9a8f
* composer.json: Relax some constraints for some dev requirementsReedy2021-10-081-2/+2
| | | | Change-Id: Ife7ddb98e3c1064a4e4e70f119549b2a1394e2d7
* Update pear/*Reedy2021-10-081-2/+2
| | | | | | | | - Upgrading pear/mail_mime (1.10.9 => 1.10.11) - Upgrading pear/net_smtp (1.9.2 => 1.10.0) Depends-On: Ib698ef15b6f97ea637aedcc6ef26860c8c4a2cd0 Change-Id: I287e148a9078866a55e5f04693406374d8cca976
* build: Updating dependencieslibraryupgrader2021-10-041-1/+1
| | | | | | | | | | | | | | | composer: * php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1 npm: * @wdio/mocha-framework: 7.4.6 → 7.13.2 * https://npmjs.com/advisories/5197 (CVE-2021-3807) * nth-check: 2.0.0 → 2.0.1 * https://npmjs.com/advisories/5101 (CVE-2021-3803) * ansi-regex: 5.0.0 → 5.0.1 * https://npmjs.com/advisories/5197 (CVE-2021-3807) Change-Id: I0b17591a4d230192d5c64b68252bb3024ddcedae
* Merge "Bump wikimedia/parsoid to v0.15.0-a1"jenkins-bot2021-09-271-1/+1
|\
| * Bump wikimedia/parsoid to v0.15.0-a1C. Scott Ananian2021-09-271-1/+1
| | | | | | | | | | Depends-On: I98e9bde6adfe6954a98748cc646367992f25a190 Change-Id: I210c66c350de1d310480f65385ce67ded7129792
* | Update wikimedia/shellbox to 2.1.0Kunal Mehta2021-09-241-1/+1
| | | | | | | | | | Depends-On: Ie53f3d000d9d8ae1617b7bdeb454586e8302e240 Change-Id: I7d7285d6ee8b107bf77a68354bb3861d10174258
* | Update composer/semver from 3.5.4 to 3.5.5Reedy2021-09-231-1/+1
| | | | | | | | | | Change-Id: I7bbc99303b07fe363094ddbe7624aabbc60dafb3 Depends-On: Iec357af3b6c9e1af9802f7fab7f189d06a55737a
* | Update composer/spdx-licenses from 1.5.4 to 1.5.5Reedy2021-09-231-1/+1
| | | | | | | | Change-Id: Ia286cae043469ee2b213c5869d096d4cecab7f4f
* | Update doctrine/dbal for PHP >= 7.3 from 3.0.0 to 3.1.2Reedy2021-09-221-1/+1
| | | | | | | | Change-Id: I5a4adf69dd5726bdb0586a1545712ef6dd8daea3
* | Update doctrine/dbal for PHP < 7.3 from 2.10.4 to 2.13.3Reedy2021-09-221-1/+1
| | | | | | | | Change-Id: Ic6c4f49c66d3f3990a15615cc5b085e5134df8d3
* | build: Update wikimedia/purtle from 1.0.7 to 1.0.8Alexander Vorwerk2021-09-211-1/+1
|/ | | | | Depends-On: I608c1215b5209c25493c997beb21b58ecf20c7ca Change-Id: Iaeeda4e17cb3b04feb813c3f7590f4cba1a5a7f6
* Add symfony/polyfill-php80C. Scott Ananian2021-09-131-0/+1
| | | | | | | | Doing this before REL1_37 ensures that any PHP8.0-isms won't break backports. Bug: T290697 Change-Id: I945a08d219c3d30813ca2f778d097ebd8bb0f129
* Update cssjanus/cssjanus from 2.0.0 to 2.1.0James D. Forrester2021-09-091-1/+1
| | | | | Depends-On: Iac0b7702b001062495f1e08d055481d3c436161e Change-Id: I259c341ad04fcb13921d0cf2433e0552a8870bad
* build: Update mediawiki/mediawiki-phan-config to 0.11.0Umherirrender2021-09-071-1/+1
| | | | | | | Addition and remove of suppression needs to be done with the version update. Change-Id: I3288b3cefa744b507eadebb67b8ab08c86517c1c
* Update wikimedia/wait-condition-loop from 2.0.1 to 2.0.2James D. Forrester2021-08-241-1/+1
| | | | | | | Bug: T289176 Bug: T287972 Depends-On: I009fde18d039ede388a758021651961f0c0f13b0 Change-Id: I9bf513183672e83ded09647de79e36c407b1fa01
* Update wikimedia/shellbox to 2.0.0Kunal Mehta2021-08-231-1/+1
| | | | | Depends-On: I104309fcc7823a881c0cd005fad3aea7ab89f318 Change-Id: I10e2860f306483e43dd9d65783c8ff96f2eee169
* Update OOUI to v0.42.0Volker E2021-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | Release notes: https://gerrit.wikimedia.org/g/oojs/ui/+/v0.42.0/History.md Bug: T201491 Bug: T269657 Bug: T277821 Bug: T277821 Bug: T277845 Bug: T277985 Bug: T278594 Bug: T279479 Bug: T280913 Bug: T282047 Bug: T283247 Bug: T283905 Bug: T285310 Bug: T285727 Depends-On: I78638ae140e999afa027ef86dd82beabc13ee0fc Change-Id: Id0be3526bcafb549f2bac5c0026fb24e46745320
* CSSJanus: Update from version 1.3.0 to version 2.0.0Fomafix2021-08-161-1/+1
| | | | | | | | This version fixes a flipping bug. Bug: T288943 Depends-On: Ida34372a4e5acb3147d83c7a1d008850c8382e32 Change-Id: I0528443e4eae0338f5a37491352db03944c6bd4c
* Bump wikimedia/remex-html to 2.3.2 and drop 2.3.1C. Scott Ananian2021-08-081-2/+2
| | | | | | | | | | | | | This is a bug fix release of RemexHtml, required by the latest version of Parsoid. RemexHtml migrated to a new namespace in 2.3.2. Since we don't support aliases in our phan configuration in core, update all uses to the new namespace to satisfy phan. Depends-On: I30f01f4a2a5479bb82c9b952ffa68a478215828a Depends-On: Iedf446635ee2112cfe637d8ebcf8092f0976bd17 Change-Id: I74fc929e4a66b28bfb1800ff0cd751c86e4a9f50
* Allow core to use remex-html 2.3.2C. Scott Ananian2021-08-081-1/+1
| | | | | | | | | | | | | | | | This is a bug fix release of RemexHtml, required by the latest version of Parsoid. RemexHtml migrated to a new namespace in 2.3.2 and uses aliases for compatibility. Once we upgrade mediawiki-vendor we can rename all the uses in core and turn off aliases again. Due to T287419, we need to suppress some phan issues because phan ends up running against both remex 2.3.1 *and* 2.3.2 in different CI jobs. These suppressions are removed in the follow up I74fc929e4a66b28bfb1800ff0cd751c86e4a9f50. Change-Id: I42edd4fb8cd277ea20e331994fcbe56b52bf3f06
* Updating wikimedia/relpath (2.1.1 => 3.0.0)Reedy2021-08-031-1/+1
| | | | | Change-Id: I83339f7ab340bc20667955f3cf1592982f6844ee Depends-On: Ia77ffc78b48d4158691b23b5e09cd7a187a0eb62
* Merge "Update wikimedia/minify to 2.2.4"jenkins-bot2021-07-281-1/+1
|\
| * Update wikimedia/minify to 2.2.4Timo Tijhof2021-07-281-1/+1
| | | | | | | | | | | | Bug: T287526 Depends-On: Ib3807d41e05df228dec5388dc2dd65f60950024c Change-Id: Iebd6ef11d90fad146d05f9c1f0a5af8e7f09684f
* | composer.json: Promote and pin monolog/monolog to require from require-devReedy2021-07-281-1/+1
|/ | | | | | wikimedia/shellbox requires monolog/monolog, making it required in MW Change-Id: I1c1c72e29920509d0ec3726add4920409b824c8b
* build: Updating dependencieslibraryupgrader2021-07-221-1/+1
| | | | | | | | | | | | | | composer: * mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0 The following sniffs now pass and were enabled: * Generic.ControlStructures.InlineControlStructure * MediaWiki.PHPUnit.AssertCount.NotUsed npm: * svgo: 2.3.0 → 2.3.1 * https://npmjs.com/advisories/1754 (CVE-2021-33587) Change-Id: I2a9bbee2fecbf7259876d335f565ece4b3622426
* Merge "phpcs: Use cache flag"jenkins-bot2021-07-131-1/+1
|\