Breaking changes in 0.1.230 beta #2083
-
Hi! We just tried updating to the new 0.1.230 beta version, but found that many Skia value-related APIs are deprecated. If there is any other reasoning behind this change, could you please share this? Last but not least, could you maybe include the breaking changes in the release notes so that users are aware of the impact of this update? A brief migration guide to using 0.1.230 would also be great. Please let us know if we can be of any support on this, and thanks for all the great improvements. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@laurens-lamberts, my apologies if the deprecation warnings were only available for a short time (approximately one week). Skia values have been undocumented and unsupported for a few months now. For more information, you can refer to this documentation. I believe the migration path shouldn't be painful. You can look at this diff on GitHub to get a sense of the changes (specifically in the Example folder). Please feel free to contact me privately if you need help with the migration. On the technical side, this deprecation brings several benefits:
Behind the scenes, Skia values were tightly coupled with some of our internals, which would have hindered some of the improvements we plan for 2024. This decision is also architectural in nature. Skia values have been a topic of much debate, and we now believe their implementation was a blunder. We apologize for any inconvenience this deprecation may cause. In re-evaluating our approach, we asked ourselves several questions:
The more we pondered these questions, the clearer it became that deprecating Skia values was necessary. I hope this explanation helps and makes sense. If not, please let me know, and feel free to contact me privately for further clarification. |
Beta Was this translation helpful? Give feedback.
@laurens-lamberts, my apologies if the deprecation warnings were only available for a short time (approximately one week). Skia values have been undocumented and unsupported for a few months now. For more information, you can refer to this documentation.
I believe the migration path shouldn't be painful. You can look at this diff on GitHub to get a sense of the changes (specifically in the Example folder). Please feel free to contact me privately if you need help with the migration.
On the technical side, this deprecation brings several benefits: