-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
Commit
-Removed one and zero hints for properties, replaced by default value
- Loading branch information
There are no files selected for viewing
4 comments
on commit f2e5405
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.
🎉
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 doesn't include object default properties though, does it? We also shouldn't store values that are equal to script's default values or instanced scene's parent values.
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.
I commented this above, but it may have been missed. If these constants are deprecated, shouldn't we keep them until 4.0? Aren't we breaking compatibility by removing them now?
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.
We have a relatively loose interpretation of "compatibility breaking" between minor versions. If you check the diff between 3.0's classref and the current master branch, you'll see that there are quite a few API removals which would be considered API breakage. But in most cases the removed APIs were outright broken, so their removal should likely not impact users.
So basically until now, if it's not going to break actual projects, it's ok-ish to remove without waiting for 4.0. It's a tradeoff between doing necessary changes and providing a stable API to users.
I'm not saying we shouldn't change our policy though, just stating how it worked until now. I'm OK with having this property readded if we fear that some plugins or tool scripts might break.
If these are deprecated, shouldn't it be kept until 4.0?