Logarithm of an array

Hello

A very basic question.

This used to work without fuss:

A=rand(10)
log(A)

But with Julia 1.1 it is not valid any more:

MethodError: no method matching log(::Array{Float64,1})
Closest candidates are:
log(!Matched::Float16) at math.jl:1018
log(!Matched::Complex{Float16}) at math.jl:1019
log(!Matched::Float64) at special/log.jl:254

Stacktrace:
[1] top-level scope at In[21]:100:

My question is, It is necessary to use a loop to do it?
Thanks