new #m3api release! (m3api is a JavaScript library to use the MediaWiki action API :3)

just two changes:
• a minor change to the handling of responses with Retry-After headers which should hopefully be useful especially when targeting Wikimedia wikis
• a new declaration that changing the supported Node.js versions is not considered a breaking change (and what to do if you need support for a specific Node.js version)

https://gitlab.wikimedia.org/repos/m3api/m3api/-/releases/v1.0.4

v1.0.4 · repos / m3api / m3api · GitLab

v1.0.4 Improved handling of retry-after responses (especially ones with HTTP status 429 Too Many Requests). README.md § Stability has...

GitLab

I’m hoping to release m3api v1.1.0 soon, which will then unlock a whole bunch of new features in m3api-rest (additional request methods, request content types, and response content types) – though https://github.com/sinonjs/fake-timers/issues/540 has thrown a bit of a spanner in the works there (maybe I’ll have to figure out a fix myself)

if you’re curious, you can see the work in progress here: https://gitlab.wikimedia.org/repos/m3api/m3api/-/commits/fetch