-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat: throw/warn on mismatch of client version and supported version #1287
Conversation
Coverage report
Show new covered files 🐣
Show files with reduced coverage 🔻
Test suite run success1252 tests passing in 216 suites. Report generated by 🧪jest coverage report action from e1b789a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is unrelated to your changes, but it'd be nice if we could fix the Forbidden non-null assertion
warnings.
packages/versions/src/lib/checkFuelCoreVersionCompatibility.test.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Anderson Arboleya <anderson@arboleya.me>
…st.ts Co-authored-by: Anderson Arboleya <anderson@arboleya.me>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
packages/versions/src/lib/checkFuelCoreVersionCompatibility.test.ts
Outdated
Show resolved
Hide resolved
…st.ts Co-authored-by: Anderson Arboleya <anderson@arboleya.me>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. ⚡
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nedsalk looks like this PR is ready to go but the |
@Dhaiwat10 yes, the mocks failed after some changes got introduced. I have a fix in mind but have to focus on more urgent stuff currently. |
Closes #1283 .
Throws when major and minor versions mismatch, and warns when patch versions mismatch.
After we go live, we can change the implementation to warn on minor version mismatch. Currently, our minor versions contain breaking changes so we should throw.