@robert yes, everything seems to work now, except for setting the shader variable. When I call g4.setFloat to pass the value to my shader I got this error (for all targets):
"WebGL: INVALID_OPERATION: uniform1f: location not for current program"
but I am sure that I gave the correct location and I did not receive such error earlier before the update. So I wrote a minimal example causing an error: https://drive.google.com/file/d/1fISYMHDRkUmGjCvoI56jLZ6EqvDcdNXB/view
Maybe API for shaders somehow changed?