acacode / swagger-typescript-api

Generate the API Client for Fetch or Axios from an OpenAPI Specification
MIT License
3.27k stars 354 forks source link

Breaking change in node 18 version requirement in #727 #834

Open sparr opened 2 months ago

sparr commented 2 months ago

727 added a dependency on "engines": { "node": ">=18.0.0" } which caused build failures in my node 16 project that is using this package. That change should have required at least a patch version bump so that a ~13.0.3 dependency would not have updated to an incompatible version, and there's an argument to be made that it should have been a major version bump so that ^13.0.3 would also remain unbroken.