-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Breaking changes in 1.10.4 #1360
Comments
cc @zardoy can we still keep the same name? It will be a fix in the next patch version to make sure there's no BC in a patch release. |
@pycka Why should we revert this change? We didn't update the major version because we didn't change any API, we just made types more strict. UPD: Prisma doesn't use semver. My bad. @pycka Can I know where you use UPD: Due strange TypeScript behavior we can't obtain the type of first argument using |
Feel free to ask any questions! |
Thanks @iamkun and @zardoy for responding! |
maybe because our user could use
? |
@pycka I have contacted Prisma team and I realised that they don't use SemVer.
Yeah, you're right. I just removed @iamkun, please keep this issue open, until I realise how we could replace these old type definitions. After that we could deprecate them and remove in new breaking release. |
@iamkun Also could you please merge master branch? |
Seems the added type |
It is not used in our implementation. But in previous version of dayjs @pycka could use them, because they were publicy available: And of course new version of dayjs doesn't contain these type definitions.
I'm still wondering how is this even possible? We didn't use export keyword to export them from the namespace. I think I need more time for investigation here. P.S. Sorry for screenshots here, TypeScript playground doesn't work with nested paths for some reason. |
|
Describe the bug
#1338 introduced breaking change by removing DurationInputType and DurationAddType types from plugin namespace.
(4aca4b1#diff-ca2786d2c104006cc51bdc06948ed0fad7843dba6f8ca1570eaedea389c9da88L8)
Expected behavior
No breaking changes within patch release (if following semantic versioning). Any plans to revert this change?
Information
The text was updated successfully, but these errors were encountered: