-
Notifications
You must be signed in to change notification settings - Fork 728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typing error on requestParam.d.ts #1924
Comments
Is type checking part of the CI pipeline? |
Im getting the same... |
Any chance of an update on when this release can be rolled back or a forward-patch made? |
Thanks for the report, all. The issue likely will need to be resolved in the underlying code generator or the Elasticsearch specification that the generator uses. Once it's applied it will be published in the next 7.x release. In the meantime, you can pin your dependencies to 7.17.0. There is a type-check done before publishing, but it appears to have failed silently or been bypassed somehow. I'll investigate that separately to ensure failures successfully block publishes going forward. |
These prevented the TypeScript type-checker from running prior to a release, and skipping (or, ideally, fixing if time were on our side) the tests would have revealed a problem in #1924 prior to 7.17.11 being published.
The fix in #1927 will resolve this issue. Unfortunately the npm package did not qualify for unpublishing, so we will be publishing version Once that publishes, you can either pin to version Thanks again for your patience, everyone. 🙏 |
|
@JoshMock Just wanted to share my experience that this is not a complete solution because many dependencies are included by packages we do not have control over, so there is no good way to pin the package to that version across all dependents, across all repos. Although mistakes are definitely understandable, it seems there is a gap in the release policies / use of semver if you are unable to release a patch to fix a broken version. |
Thanks for the feedback @distracteddev. Just this week, we on the Elasticsearch clients team have decided that we'll detach patch releases of the clients from the Elasticsearch stack release schedule, in large part so that we can release client-specific patches like this one in a more timely manner without forcing users to break out of semver to get critical fixes. 🎉 Given that, I'm going to release 7.11.12 soon (hopefully before the end of this week), which will be functionally equivalent to cc @technige |
Wow, what an incredible response! Thanks a ton. |
7.17.12 is now up on npm. Glad we could circle back for an extra win on this one! |
🐛 Bug Report
A type error on
SnapshotGet
, on filerequestParam.d.ts
file.I'm opened a PR to fix this: #1925
Lines: 2632 and 2636, change both to
number
.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Build occur normally
Your Environment
@elastic/elasticsearch
version: 7.17.11The text was updated successfully, but these errors were encountered: