[#3703] Deprecate CastMode.SOME and RenderContext.cast()
Release 3.5.0