I would submit a pull request updating a library or a language. I would do so even if there are breaking changes (ex. Python 2 -> Python 3). I would submit a pull request that adds a new library if it is relevant to the functionality.
However, I am struggling with the acceptability changing the implementation language via a pull request, so would like to hear community's thoughts on: is it acceptable to change the implementation language via pull request?
To give an concrete example, there are lots of little packages on npm
, and there are lots of type definitions hand-rolled on DefinitivelyTyped. For some projects it would be a trivial matter to add type annotations (making the file TypeScript) so it generates always-up-to-date definitions and nearly identical JavaScript (whitespace differences), but I hesitate because that would be a language switch and I question if that is socially acceptable.
I know the simple solution would be to open an Issue asking about it first, but I find often times that can lead to too long of feedback loop because maintainers are busy and may take a week or more to reply, so for small things will often create a PR directly eliminating the first feedback cycle.